Example #1
0
def export_xml(xml, index, eshost, esport):
    ms = Masscan('x', 'xml/' + xml, 'y')
    ms.import_es(index, eshost, esport)
Example #2
0
def export_xml(xml, index, eshost, esport):
    ms = Masscan('x', 'xml/' + xml, 'y')
    ms.import_es(index, eshost, esport)
Example #3
0
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
Example #4
0
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