Giter Site home page Giter Site logo

openthedoor's Introduction

编写原因

本着不重复造轮子的原则找到了masscan+nmap扫描的脚本,就是masnmapscan。但是使用下来实在是没办法,魔改源代码。

吐槽点

(1)采用多线程扫描端口,如果带宽就那么大再多线程也没用,除非是真的土豪。
(2)多线程写一个文件和全局变量,导致文件内容混乱,后期数据处理失败,无法正常运行。

修改点

(1)将一个ip扫描结果分文件存储
(2)读取masscan结果的方式使用json读取,不再使用行处理
(3)结果文件分开存储
(4)删除http服务访问功能

使用方式

(1)pip install -r requirements.txt
(2)修改masscan使用方式,linux修改代码中的调用地址,windows可以替换自己编译的masscan,这个我也是下载别人编译的。
(3)编写ip.txt,一行一个ip
(4)python2 openthedoor.py,msnmapscan2.0为多线程版本,目前1M带宽的vps推荐使用单线程。

运行结果

(1)dst文件夹保存的是每个ip的masscan扫描结果
(2)result文件夹保存的是全部扫描结果

TODO:

完全重写代码,咕咕

本程序仅供于学习交流,请使用者遵守《中华人民共和国网络安全法》,勿将此工具用于非授权的测试,程序开发者不负任何连带法律责任。

openthedoor's People

Contributors

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