diff --git a/_gtfobins/xargs.md b/_gtfobins/xargs.md index 82c5e36..646a3db 100644 --- a/_gtfobins/xargs.md +++ b/_gtfobins/xargs.md @@ -6,4 +6,7 @@ functions: - code: echo yyy | sudo xargs -Ixxx /usr/bin/id suid-enabled: - code: echo yyy | xargs -Ixxx /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 ---