mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Add xargs file-read even though it uses the external echo command
This commit is contained in:
parent
d14b69c12f
commit
2463f9477a
@ -6,4 +6,9 @@ functions:
|
|||||||
- code: sudo xargs -a /dev/null /usr/bin/id
|
- code: sudo xargs -a /dev/null /usr/bin/id
|
||||||
suid-enabled:
|
suid-enabled:
|
||||||
- code: ./xargs -a /dev/null /usr/bin/id
|
- code: ./xargs -a /dev/null /usr/bin/id
|
||||||
|
file-read:
|
||||||
|
- 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. This GNU version only.
|
||||||
|
code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
xargs -a "$LFILE" -0
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user