Beispiel #1
0
def dotransform(request, response, config):
    command = "--domain_to_score " + request.value
    qradio_output = get_qradio_data(command, 3)
    for entry in qradio_output:
        response += Phrase(entry)
    return response
Beispiel #2
0
def dotransform(request, response, config):
    command = "--ipv4_to_blacklist " + request.value
    qradio_output = get_qradio_data(command, 5)
    for entry in qradio_output:
        response += Phrase(entry)
    return response
Beispiel #3
0
def dotransform(request, response, config):
    command = "--hash_to_domain " + request.value
    qradio_output = get_qradio_data(command, 0)
    for entry in qradio_output:
        response += Domain(entry)
    return response
Beispiel #4
0
def dotransform(request, response, config):
    command = "--domain_to_ipv4 " + request.value
    qradio_output = get_qradio_data(command, 1)
    for entry in qradio_output:
        response += IPv4Address(entry)
    return response
Beispiel #5
0
def dotransform(request, response, config):
    command = "--hash_to_ipv4 " + request.value
    qradio_output = get_qradio_data(command, 1)
    for entry in qradio_output:
        response += IPv4Address(entry)
    return response
Beispiel #6
0
def dotransform(request, response, config):
    command = "--hash_to_url " + request.value
    qradio_output = get_qradio_data(command, 4)
    for entry in qradio_output:
        response += Phrase(entry)
    return response
Beispiel #7
0
def dotransform(request, response, config):
    command = "--domain_to_url " + request.value
    qradio_output = get_qradio_data(command, 4)
    for entry in qradio_output:
        response += Phrase(entry)
    return response
Beispiel #8
0
def dotransform(request, response, config):
    command = "--hash_to_score " + request.value
    qradio_output = get_qradio_data(command, 3)
    for entry in qradio_output:
        response += Phrase(entry)
    return response