Giter VIP home page Giter VIP logo

portscan's Introduction

portscan

用于批量全端口扫描,masscan+nmap+http扫描

用法:

python3 portscan.py -t 192.168.1.0/24
python3 portscan.py -t target.txt
python3 portscan.py -t qq.com
python3 portscan.py -t target.txt -p 80,443,8000-10000
默认扫描http标题,若不需要则添加参数 -v 0
python3 portscan.py -t target.txt -v 0

支持域名,调用socket获取域名ip,对该ip进行扫描,并在结果中标注出域名,遇到cdn会出现误报

待更新

[-]域名扫描时,对cdn的处理优化
[-]httptitle扫描换成协程并发

linux

1.apt install nmap
2.pip3 install python-nmap
3.chmod +x masscan 或者 apt install masscan

windows

1.安装nmap,npcap
2.pip3 install python-nmap

报错处理:
若运行后无结果,则先自查是否能运行masscan.exe
一:双击打开masscan.exe,查看是否提示缺少xxxx.dll
二:命令行运行,随便扫描ip,查看是否报错

截图

portscan's People

Contributors

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