Esempio n. 1
0
def adscan(input_targets, static_inputs, workers, actions, creds, timeout):

    args = (actions, creds, timeout)

    dispatch_targets(input_targets,
                     static_inputs,
                     adscan_worker,
                     args,
                     workers=workers)
Esempio n. 2
0
def httpscan(input_targets, static_inputs, workers, useragent, proxy,
             dir_bruteforce, extensions, dir_bruteforce_workers, timeout):

    args = (useragent, proxy, dir_bruteforce, extensions,
            dir_bruteforce_workers, timeout)

    dispatch_targets(input_targets,
                     static_inputs,
                     httpscan_worker,
                     args,
                     workers=workers)
Esempio n. 3
0
def portscan(input_targets, static_inputs, workers, service_scan, timeout):

    args = (service_scan, timeout)

    dispatch_targets(input_targets,
                     static_inputs,
                     portscan_worker,
                     args,
                     workers=workers)

    # Nmap can break the terminal, so fix it
    os.system("stty echo")
Esempio n. 4
0
def rsyncscan(input_targets, static_inputs, workers, timeout):

    args = (timeout,)

    dispatch_targets(input_targets, static_inputs, rsyncscan_worker, args, workers=workers)
Esempio n. 5
0
def dnsscan(input_targets, static_inputs, workers, dns, actions, timeout):

    args = (dns, actions, timeout)

    dispatch_targets(input_targets, static_inputs, dnsscan_worker, args, workers=workers)