mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 22:40:10 +01:00
Simplify xargs invocation
This commit is contained in:
parent
bbbff04e55
commit
d3b3c390a4
@ -1,11 +1,11 @@
|
|||||||
---
|
---
|
||||||
functions:
|
functions:
|
||||||
execute-non-interactive:
|
execute-non-interactive:
|
||||||
- code: echo yyy | xargs -Ixxx /usr/bin/id
|
- code: xargs -a /dev/null /usr/bin/id
|
||||||
sudo-enabled:
|
sudo-enabled:
|
||||||
- code: echo yyy | sudo xargs -Ixxx /usr/bin/id
|
- code: sudo xargs -a /dev/null /usr/bin/id
|
||||||
suid-enabled:
|
suid-enabled:
|
||||||
- code: echo yyy | xargs -Ixxx /usr/bin/id
|
- code: ./xargs -a /dev/null /usr/bin/id
|
||||||
file-read:
|
file-read:
|
||||||
- description: This relies on the fact the the file doesn't contain a null char (ASCII 0).
|
- description: This relies on the fact the the file doesn't contain a null char (ASCII 0).
|
||||||
code: xargs --arg-file=file_to_read -0 echo
|
code: xargs --arg-file=file_to_read -0 echo
|
||||||
|
Loading…
Reference in New Issue
Block a user