Git Product home page Git Product logo

hgather's Introduction

HGather

资产收集工具——HGather by 白泽Sec-ahui

联系方式:[email protected]

工具简述:

资产收集+C段整理二合一

基于fofa资产搜索引擎进行资产收集,快速检索目标条件下的IP,URL以及标题,适用于资产较多时对模糊资产的快速检索,同时具备C段整理功能,整理出资产处于的IPC段并统计。

使用方法:

使用环境:python2

使用前需网页端登录fofa获取cookie中的fofa-token值并存为同目录下config.txt

image-20210804200535786

image-20210804200632981

参数:
  -h, --help            show this help message and exit
  -q QUERY STRING, --qstr QUERY STRING
                        指定FOFA中的搜索条件,必须符合fofa语法(语句中不用带引号,fofa语句中有空格则需要用引号包裹q参数)
  -i IP, --ip IP        指定要搜索的IP或IP段,例如:-i 192.168.0.1/24
  -o OUT, --out OUT     指定要导出的文件名,例如:-o test.txt
Example Usages:

将符合FOFA语法的语句输入即可:

python2 HGather.py -q title=腾讯
python2 HGather.py -q domain=tencent.com -o result.txt
python2 HGather.py -q "domain=tencent.com && is_domain=true"

直接指定IP或IP段:

python2 HGather.py -i 220.181.111.113
python2 HGather.py -i 220.181.111.113/16
python2 HGather.py -i 220.181.111.113/24 -o result.txt

执行结果图如下:

image-20211014163404740

image-20211014164447843

hgather's People

Contributors

aaaahuia avatar litbaizhang avatar ahui11a avatar

Stargazers

zengkaimin avatar  avatar  avatar  avatar Bingan avatar  avatar  avatar Tivon avatar  avatar Chenxiaoquan avatar jack avatar Antares avatar  avatar  avatar M4rtin Hsu avatar ANONDEAD avatar bronny avatar ZhangSan avatar Ka0ri avatar bmth avatar Elogicocal avatar T0w3n avatar  avatar flaray avatar Pear1y avatar LANVNAL avatar  avatar  avatar WebCode avatar Nexnull avatar  avatar  avatar youziyaoyao avatar  avatar  avatar ylzs avatar

hgather's Issues

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.