Skip to content

Instantly share code, notes, and snippets.

View franciscodavid's full-sized avatar

Fran franciscodavid

View GitHub Profile

Keybase proof

I hereby claim:

  • I am franciscodavid on github.
  • I am franciscodavid (https://keybase.io/franciscodavid) on keybase.
  • I have a public key ASDByZdOTQGNGkvpD5lMlX1hjC4o47Ha5g61GAq-B6Jq1go

To claim this, I am signing this object:

@franciscodavid
franciscodavid / limits.conf
Created January 11, 2011 17:20
pwsafe configuration
@users soft memlock 5000
@users hard memlock 10000
@franciscodavid
franciscodavid / joinPDF.sh
Created August 3, 2010 13:47
Joining PDF files with Ghostview
gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=output.pdf -dBATCH file1.pdf file2.pdf file3.pdf … fileN.pdf
@franciscodavid
franciscodavid / doorman.sh
Created August 2, 2010 11:19
Port Knocking, client and server configuration files
#!/bin/bash
#
# Port Knocking server configuration. It closes all ports but the webserver one.
# When the correct sequence of ports is detected (1000. 2000. 3000. 4000), the
# SSH port is opened for 5 seconds to allow connections.
#
# Erase all the rules
iptables -F