Giter Club home page Giter Club logo

xsec-proxy-scanner's Introduction

xsec-proxy-scanner

概述

xsec-proxy-scanner是一款速度超快、小巧的代理服务器扫描器,使用场景为:

  1. 定期扫描自已公司服务器,排查是否有外网服务器开启了代理服务;
  2. 扫描公网中的代理服务器(搞成分布式的,也可以卖代理了)

支持的协议有:

  1. http
  2. https
  3. socks4
  4. socks4a
  5. socks5

使用说明

$ ./proxy_scanner
NAME:
   xsec proxy scanner - A SOCKS4/SOCKS4a/SOCKS5/HTTP/HTTPS proxy scanner

USAGE:
   proxy_scanner [global options] command [command options] [arguments...]

VERSION:
   20171205

AUTHOR(S):
   netxfly <[email protected]>

COMMANDS:
     scan     start to scan proxy
     dump     dump proxies to a text file
     help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --debug, -d                 debug mode
   --scan_num value, -n value  scan num (default: 1000)
   --timeout value, -t value   timeout (default: 5)
   --filename value, -f value  filename (default: "iplist.txt")
   --dumpfile value, -o value  filename (default: "xsec_proxies.txt")
   --help, -h                  show help
   --version, -v               print the version

参数说明

  1. scan参数表示开始扫描,扫描结束后会将结果保存到当前目录的xsec_proxies.dbxsec_proxies.txt文件中,db是数据库文件,txt是文本结果;
  2. dump表示将指定DB文件中的结果导出为文本文件。
  3. 以下为可选参数:
    • --debug,表示是否启用debug模式,看到具体的扫描过程;
    • --scan_num,表示每次扫描的服务器数量,默认为1000;
    • --timeout,表示每个扫描请求的超时时间,默认为5秒;
    • --filename,表示要扫描的iplist的文件名,默认为当前目录下的iplist.txt文件
    • dumpfile,表示在使用dump参数时,导出的文本文件名

运行截图

从上图中看出,timeout参数调得过短会存在漏报现象,需要根据网络情况合理调整timeout参数。

编译好的二进制版本下载地址https://github.com/netxfly/xsec-proxy-scanner/releases

xsec-proxy-scanner's People

Contributors

netxfly avatar

Watchers

James Cloos 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.