SQLite Injection

Summary

  • SQLite comments

  • SQLite version

  • String based - Extract database structure

  • Integer/String based - Extract table name

  • Integer/String based - Extract column name

  • Boolean - Count number of tables

  • Boolean - Enumerating table name

  • Boolean - Extract info

  • Time based

  • Remote Command Execution using SQLite command - Attach Database

  • Remote Command Execution using SQLite command - Load_extension

  • References

SQLite comments

--
/**/

SQLite version

String based - Extract database structure

Integer/String based - Extract table name

Use limit X+1 offset X, to extract all tables.

Integer/String based - Extract column name

For a clean output

Boolean - Count number of tables

Boolean - Enumerating table name

Boolean - Extract info

Time based

Remote Command Execution using SQLite command - Attach Database

Remote Command Execution using SQLite command - Load_extension

Note: By default this component is disabled

References

Injecting SQLite database based application - Manish Kishan Tanwar

Last updated