コード例 #1
0
ファイル: scantastic.py プロジェクト: hbr101/scantastic-tool
def export_xml(xml, index, eshost, esport):
    ms = Masscan('x', 'xml/' + xml, 'y')
    ms.import_es(index, eshost, esport)
コード例 #2
0
ファイル: scantastic.py プロジェクト: CaineQT/scantastic-tool
def export_xml(xml, index, eshost, esport):
    ms = Masscan('x', 'xml/' + xml, 'y')
    ms.import_es(index, eshost, esport)
コード例 #3
0
ファイル: scantastic.py プロジェクト: hbr101/scantastic-tool
def scanlst(hostfile, ports, xml, index, eshost, esport, noin):
    ms = Masscan(hostfile, 'xml/' + xml, ports)
    ms.runfile()
    if noin == False:
        ms.import_es(index, eshost, esport)
        print ms.output
コード例 #4
0
ファイル: scantastic.py プロジェクト: CaineQT/scantastic-tool
def scanlst(hostfile, ports, xml, index, eshost, esport, noin):
    ms = Masscan(hostfile, 'xml/' + xml, ports)
    ms.runfile()
    if noin == False:
        ms.import_es(index, eshost, esport)
        print ms.output