Code Monkey home page Code Monkey logo

detectportbytelnet's Introduction

因防火墙禁止或访问策略限制,无法利用ping命令检查网络是否可达,因此尝试telnet测试主机映射端口

脚本中所用的port_services.txt文件是借助nmap中的默认的端口_服务对应关系生成的


Usage: python3 DetectPortByTelent.py target [-pn 端口数量] [-tt 目标线程] [-tp 端口线程] [-od 输出路径]

功能:通过telnet测试主机开放端口

positional arguments: target 指定目标主机host/ip,可以指定单个,也可以从文件中读取多个

optional arguments: -h, --help show this help message and exit

-tt THREADTARGET, --threadTarget THREADTARGET 扫描主机时的线程数,默认20

-tp THREADPORT, --threadPort THREADPORT 扫描端口时的线程数,默认200

-od OUTDIR, --outDir OUTDIR 结果输出到的目录,默认新建一个result目录

-pn PORTNUMBER, --portNumber PORTNUMBER 指定要扫描的端口数量,默认1000


detectportbytelnet's People

Contributors

teag1e avatar

Watchers

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