Files
GTFOBins.github.io/_gtfobins/xargs.md
2018-05-30 07:45:32 +00:00

382 B

functions
functions
execute-non-interactive sudo-enabled suid-enabled file-read
code
echo yyy | xargs -Ixxx /usr/bin/id
code
echo yyy | sudo xargs -Ixxx /usr/bin/id
code
echo yyy | xargs -Ixxx /usr/bin/id
description code
This relies on the fact the the file doesn't contain a null char (ASCII 0). xargs --arg-file=file_to_read -0 echo