diff --git a/_gtfobins/xargs.md b/_gtfobins/xargs.md index 646a3db..f57acbc 100644 --- a/_gtfobins/xargs.md +++ b/_gtfobins/xargs.md @@ -1,11 +1,11 @@ --- functions: execute-non-interactive: - - code: echo yyy | xargs -Ixxx /usr/bin/id + - code: xargs -a /dev/null /usr/bin/id sudo-enabled: - - code: echo yyy | sudo xargs -Ixxx /usr/bin/id + - code: sudo xargs -a /dev/null /usr/bin/id suid-enabled: - - code: echo yyy | xargs -Ixxx /usr/bin/id + - code: ./xargs -a /dev/null /usr/bin/id file-read: - 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