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:
|
functions:
|
||||||
shell:
|
shell:
|
||||||
- code: tar -cf /dev/null /dev/null --checkpoint=1 --checkpoint-action=exec=/bin/sh
|
- code: tar -cf /dev/null /dev/null --checkpoint=1 --checkpoint-action=exec=/bin/sh
|
||||||
command:
|
|
||||||
- description: This only works for GNU tar.
|
- 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:
|
file-write:
|
||||||
- description: This only works for GNU tar.
|
- description: This only works for GNU tar.
|
||||||
code: |
|
code: |
|
||||||
|
Loading…
Reference in New Issue
Block a user