Ejemplo n.º 1
0
def intense_scan():
    target = ip()
    call([
        'clear',
    ])
    print("")

    #SAVE LOCATION
    user = os.path.expanduser('~')
    save_location = user + "/Documents"

    print("")
    print("[*] Intense Scan...")
    print("")

    call([
        'nmap', '-sS', '-sU', '-T4', '-A', '-v',
        str(target), '-oN', save_location + "/nmap.txt"
    ])
    call([
        'nikto', '-h',
        str(target), '-Plugins', '@@ALL', '-o', save_location + "/nikto.txt"
    ])

    print("[*] Saving scan Data...")
    print("")

    output(save_location, target)
    print("[*] Going back to home screen...")
Ejemplo n.º 2
0
def ghost_scan():
    target = ip()
    call([
        'clear',
    ])
    print("")

    #SAVE LOCATION
    user = os.path.expanduser('~')
    save_location = user + "/Documents"

    print("")
    print("[*] Starting Ghost Scan...")
    print("")

    call([
        'nmap', '-Pn', '-sT', '-T1', '-p',
        '80,443,21,22,23,25,53,110,135,137,139,1433,1434',
        str(target), '-oN', save_location + "/nmap.txt"
    ])

    print("[*] Saving scan Data...")
    print("")

    output(save_location, target)
    print("[*] Going back to home screen...")
Ejemplo n.º 3
0
def default_scan():
    target = ip()
    print("")

    # SAVE FILE LOCATION
    user = os.path.expanduser('~')
    save_location = user + "/Documents"

    call([
        'clear',
    ])

    print("")
    print("[*] Starting Default Scan...")
    print("")
    print("[*] starting nmap scan...")
    print("")

    call(
        ['nmap', '-sV', '-O',
         str(target), '-oN', save_location + "/nmap.txt"])
    call(['nikto', '-h', str(target), '-o', save_location + "/nikto.txt"])

    print("[*] Scan complete!")
    print("")
    print("[*] Saving scan Data...")
    print("")

    output(save_location, target)
    sleep(1)

    print("[*] Going back to home screen...")
    print(" ")
Ejemplo n.º 4
0
def slow_scan():
    target = ip()
    call([
        'clear',
    ])
    print("")

    #SAVE LOCATION
    user = os.path.expanduser('~')
    save_location = user + "/Documents"

    print("")
    print("[*] Starting Slow/Comprehensive Scan...")
    print("")

    call([
        'nmap', '-sS', '-sU', '-T4', '-A', '-v', '-PE', '-PP', '-PS80,443',
        '-PA3389', '-PU40125', '-PY', '-g 53', '--script',
        "default or (discovery and safe)",
        str(target), '-oN', save_location + "/nmap.txt"
    ])
    call([
        'nikto', '-h',
        str(target), '-Plugins', '@@ALL', '-o', save_location + "/nikto.txt"
    ])

    print("[*] Saving scan Data...")
    print("")

    output(save_location, target)
    print("[*] Going back to home screen...")