Skip to content
forked from chaitin/sqlchop

A novel SQL injection detection engine built on top of SQL tokenizing and syntax analysis.

License

Notifications You must be signed in to change notification settings

noscripter/sqlchop

 
 

Repository files navigation

SQLChop

Build Status

A novel SQL injection detection engine.

SQLChop is a demo tool of Blackhat 2015 arsenal session. https://www.blackhat.com/us-15/arsenal.html#yusen-chen

Project homepage

http://sqlchop.chaitin.com

Demo page

http://sqlchop.chaitin.com/demo

Description

SQLChop is a novel SQL injection detection engine built on top of SQL tokenizing and syntax analysis. Web input (URLPath, body, cookie, etc.) will be first decoded to the raw payloads that web app accepts, then syntactical analysis will be performed on payload to classify result. The algorithm behind SQLChop is based on compiler knowledge and automata theory, and runs at a time complexity of O(N).

Documentation

http://sqlchop.chaitin.com/doc.html

Dependencies

The SQLChop alpha testing release includes the c++ header and shared object, a python library, and also some sample usages. The release has been tested on most linux distributions.

If using python, you need to install protobuf-python, e.g.:

$ sudo pip install protobuf

If using c++, you need to install protobuf, protobuf-compiler and protobuf-devel, e.g.:

$ sudo yum install protobuf protobuf-compiler protobuf-devel

Build

About

A novel SQL injection detection engine built on top of SQL tokenizing and syntax analysis.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 50.1%
  • C++ 20.2%
  • C 14.2%
  • Makefile 7.0%
  • Protocol Buffer 4.6%
  • Shell 3.9%