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
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
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
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
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
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