Code Monkey home page Code Monkey logo

gourdscan's Introduction

GourdScan

被动式注入检测工具 程序使用python与php开发,需要安装python。 利用sqlmapapi进行漏洞的检测,然后通过浏览器代理方式获取请求,然后对其进行测试

#INSTALl ##环境

python 2.7 tornado
php
mysql
apache

##Windows

安装wamp,导入数据库

##Linux 先安装好lamp,

mysql

create database pscan;
use pscan;
source pscan.sql
mv root/* /var/www/html
pip install tornado

修改conn.php中的数据库信息

修改 ./proxy/isqlmap.py

 self.webserver="http://localhost:88/"

改成你自己的主机地址和端口。

修改./proxy/task.py

def update():
    url="http://localhost:88/api.php?type=sqlmap_update"
    urllib2.urlopen(url).read()
def api_get():
    url="http://localhost:88/api.php?type=api_get"
    data=urllib2.urlopen(url).read()

改成你的host地址

#配置 打开 http://localhost:88/config.php 在list里面添加sqlmapapi节点

格式为

http://127.0.0.1:8775 (不需要最后一个/)

浏览器设置代理,并且添加一个http header

User-Hash: youhash

youhash可以随意填写,主要用于分类 若不填写默认是 cond0r

可以在 http://localhost:88/config.php 查看你的分类,点击分类名称即可查看。

#使用 首先运行sqlmapapi,并且在config里面增加一个节点

cd proxy/
python proxy_io.py 8080&
python task.py&

然后将浏览器代理设置为

http 127.0.0.1 8080

然后一顿请求之后可以打开

http://localhost:88/config.php

点击分类进行查看信息了,差不多等待几分钟之后会将请求测试结束,你的节点越多效率就越高。

gourdscan's People

Contributors

code-scan avatar

Watchers

James Cloos avatar wh1te avatar

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.