예제 #1
0
def scanNumber(InputNumber):
    title("[!] ---- Fetching informations for {} ---- [!]".format(formatNumber(InputNumber)))

    number = localscan.scan(InputNumber)

    if not number:
        throw(("Error: an error occured parsing {}. Skipping.".format(
            formatNumber(InputNumber))))

    numverify.scan(number['default'])
    ovh.scan(number['local'], number['countryIsoCode'])
    recon.scan(number)
    osintScan(number)

    info("Scan finished.\n")
예제 #2
0
def scanNumber(InputNumber):
    os.system("clear")
    os.system("cat banner/banner.txt")
    print("")
    time.sleep(3)
    title("[!] ---- Fetching informations for {} ---- [!]".format(
        formatNumber(InputNumber)))
    time.sleep(5)

    number = localscan.scan(InputNumber)

    if not number:
        throw(("Error: an error occured parsing {}. Skipping.".format(
            formatNumber(InputNumber))))

    numverify.scan(number['default'])
    ovh.scan(number['local'], number['countryIsoCode'])
    recon.scan(number)
    osintScan(number)

    info("Scan finished.\n")
예제 #3
0
def scanNumber(InputNumber, proxy):
    result = 0
    invalid_data = {
        'valid': False,
        'country_name': 'NONE',
        'location': 'NONE',
        'carrier': 'NONE',
        'line_type': 'NONE'
    }
    try:
        number = localscan.scan(InputNumber, False)
    except Exception as e:
        data = invalid_data
        error("Invalid phone number format:{}".format(InputNumber))

    if not number:
        data = invalid_data
    else:
        result, data = numverify.scan(number['default'], proxy)

    #ovh.scan(number['local'], number['countryIsoCode'])
    #recon.scan(number)
    #osintScan(number)
    return result, data