Giter Site home page Giter Site logo

nmaptoexcel's Introduction

NmapToExcel

使用 python 调用 nmap 进行批量扫描,并将结果写入本地xlsx文件

环境需求

//linux 系统
sudo apt-get nmap
sudo pip install python-nmap

//windows 系统
若 python 有安装 nmap 库,必须卸载

//只支持 python3 版本
sudo pip install python-nmap
sudo pip install openpyxl
or
sudo pip install -r requirements.txt

遇到nmap相关报错问题,建议卸载重装python-nmap

参数配置

usage: python ./scan.py -p <需要扫描端口> -o <其他nmap参数>

目标 url 请放在当前目录下的 url.txt 文件内

-p  使用样例 -p port ,-p 1-65535
-o  默认使用 -Pn  -sS -sU 参数,无需重复输入

注意:url只允许ip地址或者不带http/https头的域名地址     

v1.1更新

  • 增加多线程处理
  • 增加对结果xlsx表格的宽度自适应处理

演示效果图:

nmaptoexcel's People

Contributors

sp4rkw avatar

Stargazers

Juanxincai avatar  avatar popy32 avatar  avatar Mi avatar  avatar  avatar  avatar  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.