コード例 #1
0
ファイル: snmprecon.py プロジェクト: woutdebaenst/xrecon
def snmp_scan_all(pool, ip, port):
    snmplogger.info(
        'Started {bgreen}snmp service scans{rst} for {byellow}{ip}{rst} port {byellow}{port}{rst}'
    )
    # list that will be appended to async_jobs to check for wrong executed async processes
    async_jobs_snmp = []
    # snmp_nmap
    future = pool.submit(snmp_nmap, ip, port)
    async_jobs_snmp.append([future, "snmp_nmap", ip, port])
    # snmp_onesixtyone
    future = pool.submit(snmp_onesixtyone, ip, port)
    async_jobs_snmp.append([future, "snmp_onesixtyone", ip, port])
    return async_jobs_snmp
コード例 #2
0
ファイル: smbrecon.py プロジェクト: woutdebaenst/xrecon
def smb_scan_all(pool, ip, port):
    smblogger.info(
        'Started {bgreen}smb service scans{rst} for {byellow}{ip}{rst} port {byellow}{port}{rst}'
    )
    # list that will be appended to async_jobs to check for wrong executed async processes
    async_jobs_smb = []
    # smb_nmap
    future = pool.submit(smb_nmap, ip, port)
    async_jobs_smb.append([future, "smb_nmap", ip, port])
    # smb_enum4linux
    future = pool.submit(smb_enum4linux, ip, port)
    async_jobs_smb.append([future, "smb_enum4linux", ip, port])
    return async_jobs_smb
コード例 #3
0
ファイル: sshrecon.py プロジェクト: woutdebaenst/xrecon
def ssh_scan_all(pool,ip,port):
    sshlogger.info('Started {bgreen}ssh service scans{rst} for {byellow}{ip}{rst} port {byellow}{port}{rst}')
    # list that will be appended to async_jobs to check for wrong executed async processes
    async_jobs_ssh = []
    # ssh_nmap
    future = pool.submit(ssh_nmap, ip, port)
    async_jobs_ssh.append([future,"ssh_nmap", ip, port])
    return async_jobs_ssh
コード例 #4
0
ファイル: mysqlrecon.py プロジェクト: woutdebaenst/xrecon
def mysql_scan_all(pool, ip, port):
    mysqllogger.info(
        'Started {bgreen}mysql service scans{rst} for {byellow}{ip}{rst} port {byellow}{port}{rst}'
    )
    # list that will be appended to async_jobs to check for wrong executed async processes
    async_jobs_mysql = []
    # mysql_nmap
    future = pool.submit(mysql_nmap, ip, port)
    async_jobs_mysql.append([future, "mysql_nmap", ip, port])
    return async_jobs_mysql
コード例 #5
0
def ftp_scan_all(pool, ip, port):
    ftplogger.info(
        'Started {bgreen}ftp service scans{rst} for {byellow}{ip}{rst} port {byellow}{port}{rst}'
    )
    # list that will be appended to async_jobs to check for wrong executed async processes
    async_jobs_ftp = []
    # ftp_nmap
    future = pool.submit(ftp_nmap, ip, port)
    async_jobs_ftp.append([future, "ftp_nmap", ip, port])
    return async_jobs_ftp
コード例 #6
0
ファイル: webrecon.py プロジェクト: woutdebaenst/xrecon
def http_scan_all(pool,ip,port):
    httplogger.info('Started {bgreen}http service scans{rst} for {byellow}{ip}{rst} port {byellow}{port}{rst}')
    # list that will be appended to async_jobs to check for wrong executed async processes
    async_jobs_http = []
    # # async_test
    # future = pool.submit(async_test_http, ip, port)
    # async_jobs_http.append([future,"async_test_http", ip, port])
    # http_nmap
    future = pool.submit(http_nmap, ip, port)
    async_jobs_http.append([future,"http_nmap", ip, port])
    # http_robots
    future = pool.submit(http_robots, ip, port)
    async_jobs_http.append([future,"http_robots", ip, port])
    # http_nikto
    future = pool.submit(http_nikto, ip, port)
    async_jobs_http.append([future,"http_nikto", ip, port])    
    # http_davtest
    future = pool.submit(http_davtest, ip, port)
    async_jobs_http.append([future,"http_davtest", ip, port])  
    # dir brute
    future = pool.submit(http_dir_brute, ip, port)
    async_jobs_http.append([future,"http_dir_brute", ip, port])
    return async_jobs_http