Code Monkey home page Code Monkey logo

escalite's Introduction

escalite

SQLite forensic tool, developed to make the analysis of SQLite databases easier. Primarly used for an university course about IT forensic but probably also useful for CTFs and other use cases. No guarantee of completeness or correctness.

All classes are combined in one file to make the program as portable as possible. Python libraries that are not part of the standard python installation are optional (for example graphviz).

PR & Issues

If you find something that is wrong interpreted or not supported at all, please open an issue and describe the missing feature, where it is documented and if possible provide a database to test with.

If you implemented the missing feature yourself, I will happily accept your pull-request.

Usage

./escalite.py <database>

Interactive

cmd Description
help Show available commands
h Show DB header information
o Show overview of all pages
b <n> Show a graph of the BTree of Page n (Default: n = 2)
p <n> Show information about the n-th page
pc <n> Show all cells on page n
pr <n> Try to retrieve deleted data on page n
pd <n> Print hexdump of page n
f <n> Show information about freelist trunk page n
fcl <n> Check if freelist-leaf page n is empty
fl Show freelistgraph
exit, q Close program

Examples graphs

Freelist graph: Large empty database

Large empty database

BTree graph: Large database (test_fl.db)

BTree graph: test_fl.db

BTree graph: Large database 2(test_fl2.db)

BTree graph: test_fl.db

Features planned

  • BTree-graph generation In progress

    • Interpret first pages to get overview of btree starts
  • Print hexdump of bytes proofing a interpretation of bytes (cmdline-argument)

escalite's People

Contributors

nicolas93 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

rohto1945

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.