GithubHelp home page GithubHelp logo

htcap_mysql's Introduction

HTCAP

Htcap is a web application scanner able to crawl single page application (SPA) in a recursive manner by intercepting ajax calls and DOM changes.
Htcap is not just another vulnerability scanner since it's focused mainly on the crawling process and uses external tools to discover vulnerabilities. It's designed to be a tool for both manual and automated penetration test of modern web applications.

More infos at htcap.org.

SETUP

Requirements

  1. Python 2.7
  2. PhantomJS v2 [PS:因为PhantomJS作者不再维护PhantomJS项目了..估计这个也不会继续更新了]

Download and Run

$ git clone https://github.com/cflq3/htcap_mysql htcap
$ cd htcap
$ vi core/lib/DB_config.py
	#数据库信息
    'host' : 'localhost',
    'user' : 'root',
    'port' : '3306',
    'password' : 'mysqlroot',
    'db' : 'htcap',
$ sudo pip install -r requirements.txt
$ python htcap.py crawl http://htcap.org/scanme

修复了random_agent错误和new.sql导入表的错误 #cflq3
使用姿势和原本的一样的

```bash
$ python htcap.py crawl http://testphp.vulnweb.com
*****************************************************
* / _ \|  _ \  / \ \ / / ___/ ___|  ___ __ _| \ | | *
*| | | | | | |/ _ \ V /|___ \___ \ / __/ _` |  \| | *
*| |_| | |_| / ___ \| |  ___) |__) | (_| (_| | |\  |*
* \___/|____/_/   \_\_| |____/____/ \___\__,_|_| \_|*
*****************************************************
. No handlers could be found for logger "tldextract"
[*][debug] http://testphp.vulnweb.com/pictures/
[*][debug] http://testphp.vulnweb.com/images/
[*][debug] http://testphp.vulnweb.com/bxss/
[*][debug] http://testphp.vulnweb.com/Connections/
[*][debug] http://testphp.vulnweb.com/admin/
[*][debug] http://testphp.vulnweb.com/CVS/
[*][debug] http://testphp.vulnweb.com/secured/
[*][debug] http://testphp.vulnweb.com/userinfo.php
[*][debug] http://testphp.vulnweb.com/cart.php
[*][debug] http://testphp.vulnweb.com/logout.php
[*][debug] http://testphp.vulnweb.com/search.php
[*][debug] http://testphp.vulnweb.com/comment.php
[*][debug] http://testphp.vulnweb.com/login.php
[*][debug] http://testphp.vulnweb.com/index.php
[*][debug] http://testphp.vulnweb.com/product.php
[*][debug] http://testphp.vulnweb.com/guestbook.php
. initialized, crawl started with 10 threads
[=================================]   108 of 108 pages processed in 43 minutes
Crawl finished, 108 pages analyzed in 43 minutes

PhantomJs can be downloaded here. It comes as a self-contained executable with all libraries linked statically, so there is no need to install or compile anything else.

DOCUMENTATION

Documentation, examples and demos can be found at the official website http://htcap.org.

TO DO

0.禁止dns刷新缓存 done

1.修改htcap的数据库为mysql done

2.增加常见统计代码和分享网站的过滤功能 done

3.增加常见静态后缀的识别 done

4.获取url在原有的robots基础上增加目录爆破和搜索引擎采集.识别一些不能访问的目录 done

5.砍掉sqlmap和Arachni扫描功能. done

6.增加页面信息识别功能.

7.增加重复去重和相似度去重功能

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or(at your option) any later version.

htcap_mysql's People

Contributors

cflq3 avatar

Watchers

 avatar  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.