Skip to content

Instantly share code, notes, and snippets.

Created February 2, 2016 22:51

Revisions

  1. @invalid-email-address Anonymous created this gist Feb 2, 2016.
    19 changes: 19 additions & 0 deletions Slide Links
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    https://github.com/micheloosterhof/cowrie
    http://www.secdev.org/projects/scapy/
    https://github.com/zapier/email-reply-parser
    http://www.lockheedmartin.com.au/content/dam/lockheed/data/corporate/documents/LM-White-Paper-Intel-Driven-Defense.pdf
    http://fortune.com/2016/01/30/nsa-hacker-enigma-conference/
    https://shodan.io
    http://www.metasploit.com/
    http://sqlmap.org/


    IPTABLES -A INPUT -M STATISTIC --MODE RANDOM --PROBABILITY 0.04 -J DROP
    # apt-get install unionfs-fuse inotify-tools
    # mkdir /var/www-fake && mkdir /var/www-real
    # unionfs-fuse /var/www-fake=rw:/var/www-real=ro /var/www
    # inotifywait -m /var/www-fake -e create -e moved_to |
    while read path action file; do
    echo "The file '$file' appeared in directory '$path' via '$action'"|mailx -s "New file" alerts@yourhost
    mv "$file" "/var/vault/$file-`md5sum $file|awk '{print $1}'`"
    done