pyphrb/Nbportnmap 是一个多线程端口banner收集工具
https://github.com/pyphrb/Nbportnmap.git
使用说明
from system import Mscan
resultIpArray = Mscan.startNmapScan(ipList)
这里的ipList example : [‘127.0.0.1’] 这里的startNmapScan返回的是ip端口 返回的list格式如下:
['127.0.0.1 + NmapService: [open tcp <22> ssh product: OpenSSH version: 6.0p1 Debian 4+deb7u2 extrainfo: protocol 2.0 ostype: Linux]', '127.0.0.1 + NmapService: [open tcp <80> http product: nginx version: 1.2.4]', '127.0.0.1 + NmapService: [open tcp <9000> tcpwrapped]']
from system import Mscan
Mscan.getHttp(resultIpArray)
这个函数是返回http web的函数 返回的list [‘http://127.0.0.1:80/‘]
Nbportnmap是一款多线程端口banner收集工具,可通过Python调用进行快速扫描,获取目标IP开放端口及其服务信息。该工具支持HTTP服务识别并返回具体URL。

被折叠的 条评论
为什么被折叠?



