Exemplo n.º 1
0
def execute(**kwargs):
    print ("+ Searching Exploits for {0}...".format(kwargs["keywords"]))
    router = Router()
    router.words = kwargs["keywordsformated"]
    dictAllResults = router.searchInBots()

    if (dict(kwargs).has_key("fileText")):
        try:
            WriteTxt(dictAllResults)
            print("Your results will be saved in txt - out.txt")
            if(not dict(kwargs).has_key("fileHtml")):
                return
        except Exception, ex:
            print "ERROR -> {0}".format(ex.message)
Exemplo n.º 2
0
def execute(**kwargs):
    print("+ Searching Exploits for {0}...".format(kwargs["keywords"]))
    router = Router()
    router.words = kwargs["keywordsformated"]
    dictAllResults = router.searchInBots()

    if (dict(kwargs).has_key("fileText")):
        try:
            WriteTxt(dictAllResults)
            print("Your results will be saved in txt - out.txt")
            if (not dict(kwargs).has_key("fileHtml")):
                return
        except Exception, ex:
            print "ERROR -> {0}".format(ex.message)
Exemplo n.º 3
0
def execute(**kwargs):
    
    print ("+ Searching Exploits for {0}...".format(kwargs["keywords"]))
    router = Router()
    
    if (dict(kwargs).has_key("spider")):
        router.words = "Exploit"
    else:
        router.words = kwargs["keywordsformated"]
    
    dictAllResults = router.searchInBots()

    if (dict(kwargs).has_key("get")):
        try:
            s = Spider()
            s.run(dictAllResults)
        except Exception, ex:
            print "ERROR -> {0}".format(ex.message)
Exemplo n.º 4
0
def execute(**kwargs):

    print("+ Searching Exploits for {0}...".format(kwargs["keywords"]))
    router = Router()

    if (dict(kwargs).has_key("spider")):
        router.words = "Exploit"
    else:
        router.words = kwargs["keywordsformated"]

    dictAllResults = router.searchInBots()

    if (dict(kwargs).has_key("get")):
        try:
            s = Spider()
            s.run(dictAllResults)
        except Exception, ex:
            print "ERROR -> {0}".format(ex.message)