Git Product home page Git Product logo

fofa2xray's Introduction

fofa2Xray

Documentation

A tool that can combine fofa and xray for automatic batch scanning.

Coding by golang, both for windows and linux.

Documentation

Introduction

Use fofa api to get target domain list, then make webscan by xray.

Demo

image-20200729095201091

Quick start

  1. Move xray to the directory where fofa2xray is located
    image-20200729093958904
  2. Vi f2Xconfig.yaml
    fofa:
      email: {fofa账户}
      key: {fofaKey}
    
      # 固定查询语句
      fixedQuerySyntexList:
        - status_code=200
        - country="CN"
    
      # 查询语法
      # 更多查询语法见https://fofa.so/
      querySyntax: host
    
      # 使用querySyntax查询语法分别查询target
      targetList:
        - .hubu.edu.cn
    #    - .hbue.edu.cn
    #    - .wust.edu.cn
    xray:
      #path没有用,必须把xray可执行文件放在脚本同一目录
      path: D:\CyberSecurityTools\xray_windows_amd64\xray_windows_amd64.exe
    
      #fofa2Xray相同目录下xray的全名
      name: xray_windows_amd64.exe
    
      #同时运行xray的最大数
      thread: 10
  3. Run fofa2Xray.
    ./fofa2Xray
    nohup ./fofa2Xray &  // 持久化
  4. Check Result.

    Fofa2Xray will create result folder for every target.

    image-20200729095822453

fofa2xray's People

Contributors

piaolin avatar

Watchers

 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.