/sqlchop-http-proxy

SQLChop reverse http proxy module

Primary LanguageJavaScript

SQLChop http proxy

This project provide a HTTP reverse proxy with SQLChop inside.

It is also an example project to demonstrate how to use SQLChop to intercept SQL injection attack and let go all requests that is normal.

这是一个 HTTP 反向代理,它内置了 SQLChop 作为 SQL 注入检测模块,可以拦截 SQL 注入流量而放行正常流量。

Dependency

  • node
  • node-gyp
  • make
  • clang or gcc

Build

$ git clone git@github.com:chaitin/sqlchop-http-proxy.git
$ cd sqlchop-http-proxy
$ npm install

Or you can simply build and install using the following command

$ npm install https://github.com/chaitin/sqlchop-http-proxy

Usage

$ npm start http://${your_upstream_server}