Exemplo n.º 1
0
def whatwaf_url(url):
    """ return WhatWaf's results for a specified url """
    log.debug("Launching WhatWaf on {}".format(url))
    return execute([
        "python2.7", paths.WHATWAF_NAME, "-u",
        remove_thing_url(url), "--ra", "--hide", "--json", "--verify-num",
        str(WHATWAF_VERIFY_NUM)
    ], paths.WHATWAF_PATH, None, True)
Exemplo n.º 2
0
    def background():
        sta = execute(['python2.7', 'sqlmapapi.py', '-s'], 'sqlmap/', None,
                      None)

        if 'Address already in use' in sta:
            log.critical('sqlmapapi.py said: {}'.format(sta))

        if 'bash' in sta:
            log.critical('bash error: {}'.format(sta))
Exemplo n.º 3
0
def duckSearch(dork):
    """ dork shall be a string which contains... a dork. """
    """ returns the duckduckgo json response for the specified dork """
    return execute(
        [ddgr_path, dork, "--unsafe", "--json", "--np", "--num", "25"])
Exemplo n.º 4
0
def googleSearch(dork):
    """ dork shall be a string which contains... a dork. """
    """ returns the google json response for the specified dork """
    return execute([googler_path, "-n", "100", dork, "--noprompt", "--json"])