nmapscanner.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:pyAssetContext 作者: ShadeySecurity 项目源码 文件源码
def scan(self, hosts, options):
        import nmap

        self.nm = nmap.PortScanner()
        if len(options) < 2:
            options = '--script nbstat.nse -O -Pn -sV -T3'
        self.nm.scan(hosts, arguments=options)
    #----------------------------#
    # Name: out_csv
    # Desc: Returns nmap results in csv string
    # Input: None
    # Output: Csv string containing all scan data
    #----------------------------#
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号