SQLite Pentesting

SQLite is a database engine.

Interpreter

sqlite3 sample.db
# or
sqlitebrowser sample.db


Commands

# Help
sqlite> .help

# Show databases
sqlite> .databases

# Show tables
sqlite> .tables

# Show table information
sqlite> pragma table_info(table_name);

# Dump contents of tables
sqlite> .dump <table>

# SQL commands
sqlite> select * from <table>;

# Exit the interpreter
sqlite> .quit