分析和动态查询nmap扫描数据的工具

nmap-query-tool的Python项目详细描述


nmap查询工具

用于nmap输出的后处理器,允许以交互方式和内联方式(即通过bash管道)快速、简单地过滤数据。

Usage: python nmap-query.py [-h][-p PORTS][-a IPS][-os OS][-d DEVICE_TYPE][-c][-i NMAP_SCAN_RESULTS_FILE][-o OUTPUT_FILENAME][-q]

        Note: the nmap scan results can be provided either through an input file or from STDIN (through a pipe)

        Example: nmap -sV 10.0.0.0/24 | python nmap-query.py -q



[-h | --help]: Will print the help/usage message

[-p | --ports] PORTS: specify one or more (open) ports to filter on. The following input formats are accepted:

        Single port number: -p 22
        Set of port numbers: -p 22,80,443

[-a | --ip-addrs] IPS: specify one or more IP addresses on which to filter. The following input formats are accepted:

        Single IP: -a 10.0.0.1
        Set of IPs: -a 10.0.0.1,10.0.0.2,10.0.0.3
        Single CIDR block: -a 10.0.0.0/24
        Set of CIDR blocks: -a 10.0.0.0/24,10.0.1.0/24
        Range of IPs: -a 10.0.0.1-4

[-os | --operating-system] OS: specify one or more operating systems on which to filter. The following input formats are accepted:

        Single operating system: -os Windws
        Set of operating systems: -os Windows,Linux

[-d | --device-type] DEVICE_TYPE: specify one or more device types on which to filter. The following input formats are accepted:

        Single device type: -d router
        Set of device types: -d router,switch

[-c | --output-csv]: use CSV as the output format

[-i | --input-file] NMAP_SCAN_RESULTS_FILE: specify the name of the input file (i.e. the file which contains the results of the Nmap scan)[-o | --output-file] OUTPUT_FILENAME: specify the name of the output file

[-q | --query-mode]: enter the interactive query mode

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java getResourceAsStream()返回内容为空的流   java用小数组替换大数组或映射的一部分   java如何获得安卓的运营商功能   在Java中,可以从数组中的值一次分配给多个变量吗?   java Spring透视图没有在eclipse中显示   Java中的通用LinkedList克隆   java确实避开了线程的分析处理。holdsLock()正确吗?   java SocketInputStream。客户端使用jax rs向服务器发送请求时,socketRead0挂起   java从扫描仪读取多个输入   java Siddhi是否无法按多个变量分组?   java字符串将不会绘制   如何在Java中遍历属性文件中的值   对象列表的java JSON字符串   JavaGridLayout不考虑给定的行数和列数   java SSL:解析证书时出错:确定   java检查Hashmap中的键是否在AutoCompleteTextView中键入   java如何从HTML服务器获取JSON对象作为响应   Java对于类型列表<Object>   在AnyLogic中与外部java应用程序一起使用ExperimentRunFast