mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Add SUID [file read] category to lua
This commit is contained in:
parent
47698d0cfb
commit
ae8271292a
@ -59,6 +59,8 @@ functions:
|
||||
- code: lua -e 'local f=io.open("file_to_write", "wb"); f:write("DATA"); io.close(f);'
|
||||
file-read:
|
||||
- code: lua -e 'local f=io.open("file_to_read", "rb"); print(f:read("*a")); io.close(f);'
|
||||
suid:
|
||||
- code: lua -e 'local f=io.open("file_to_read", "rb"); print(f:read("*a")); io.close(f);'
|
||||
sudo:
|
||||
- code: sudo lua -e 'os.execute("/bin/sh")'
|
||||
limited-suid:
|
||||
|
Loading…
Reference in New Issue
Block a user