Giter VIP home page Giter VIP logo

scanport's Introduction

scanPort

ScanPort 端口扫描工具是一个可以检测服务器或是指定ip段的端口开放情况。

功能:可以快速扫描指定端口范围,ip地址范围。将扫描结果保存到本地!

先来体验一下运行后的效果:

image.png

image.png

安装使用

方法1. 你可以直接下载已编译好的文件直接运行

https://github.com/xs25cn/scanPort/tree/master/bin

方法2. 你可以使用go命名进行下载,下载完成后会自动安装到你的$GOPATH/bin目录中

go get -v github.com/xs25cn/scanPort

帮助信息

scanPort -h 
Options:
  -h    帮助信息
  -ip string
        ip地址 例如:-ip 192.168.0.1-255 或直接输入域名 xs25.cn (default "127.0.0.1")
  -n int
        进程数 例如:-n 10 (default 100)
  -p string
        端口号范围 例如:-p 80,81,88-1000 (default "80")
  -path string
        日志地址 例如:-path log (default "log")
  -t int
        超时时长(毫秒) 例如:-t 200 (default 200)

例1:指定端口号扫描,如我们要扫描xs25.cn这台服务的开放端口,使用1000个协程进行

scanport -p 80,81,88-3306 -ip xs25.cn -n 1000

例2:指定IP范围扫描,如我们扫描 192.168.0.1-255 网段的端口 80-10000

scanPort -ip 192.168.0.1-255 -p 80-10000

注:程序扫描完后开放端口放在log目录中,如想更改目录名请加 -path 参数来指定

scanport's People

Contributors

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