Giter VIP home page Giter VIP logo

fofa-dump's Introduction

fofa-dump

Fofa Pro Api 下载工具,通过 api 进行下载数据,将数据保存为 csv 文件。

可自定义配置导出字段名称、每页数量以及批量下载数据。

用法

  • 环境要求:Python 3

  • 使用之前需要配置用户名和密码覆盖 fofa_namefofa_key 替换为用户自用信息

  • 使用 pip install -r requirements.txt 安装依赖

~ python fofa_dump.py
usage: fofa_dump.py [-h] [-q FOFA_SQL] [-r FILE_PATH] [-s SIZE] [-f FIELDS]
                    [-l FULL]

FOFA 数据下载工具

optional arguments:
  -h, --help            show this help message and exit
  -q FOFA_SQL, --fofa_sql FOFA_SQL
                        FOFA 查询语句
  -r FILE_PATH, --file_path FILE_PATH
                        批量查询 FOFA 语句,txt文本
  -s SIZE, --size SIZE  每页数量默认为 10000
  -f FIELDS, --fields FIELDS
                        字段默认为ip,host,port,protocol,country,region,city,title,
                        domain,latitude,longitude
  -l FULL, --full FULL  是否为获取历史数据默认为False

案例

使用 fofa-dump 进行下载 Solr 数据:

python fofa_dump.py -q 'app="Solr"'

fofa-dump's People

Contributors

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