Konuyu Oyla:
  • Toplam: 1 Oy - Ortalama: 5
  • 1
  • 2
  • 3
  • 4
  • 5
   
Konu: Pompey Exploit Bulma Aracı Python
KingSkrupellos
*
avatar
Hacktivist
Durum: Çevrimdışı
Seviye Puanı: 55
Yaşam Puanı: 1,372 / 1,372
Deneyim: 90 / 100
Rep Sayısı: 2766
Mesaj Sayısı: 6321
Üyelik Tarihi: 21.08.2013
     
Yorum: #1
Pompey Exploit Bulma Aracı Python
01.10.2014 13:15
Kod:
import sys
sys.path.insert(0, '..')
import optparse
from Engine.Update import UpdateVersion
from Engine.ExecAndPrint import execute


def main():
    parser = optparse.OptionParser(add_help_option=False)

    parser.add_option("-s", "--search", dest="keywords", type="string",
                                        help="text for search",)

    parser.add_option("--txt", dest="fileText", \
                      action="store_true", help="enter the file name",)

    parser.add_option("--html", dest="fileHtml", action="store_true", \
                      help="enter the file name",)

    parser.add_option("--update",
                  action="store_true", dest="update",
                  help="upgrade to latest version")

    parser.add_option("-g","--get",
                  action="store_true", dest="get",
                  help="Download Exploits")


    parser.add_option("-h", "--help",
                      action="store_true", dest="help", help="-h")
    (options, args) = parser.parse_args()

    argsParameters = {}
    keywords = options.keywords
    fileText = options.fileText
    fileHtml = options.fileHtml
    update = options.update
    get = options.get
    
    help = options.help
    if help:
       printHelpMessage()
       return
    #keywords = "ssh"
    if (update):
        u = UpdateVersion()
        u.update() #Update from github
        return
    if (get):
        argsParameters["get"] = True
    if(keywords):
        keywordsformated = str(keywords).split(",")
        if fileText:
            argsParameters["fileText"] = fileText
        if fileHtml:
            argsParameters["fileHtml"] = fileHtml
        if keywordsformated:
            argsParameters["keywordsformated"] = keywordsformated
            argsParameters["keywords"] = keywords
        execute(**argsParameters)
    else:
        basicInfo()
        return

def printHelpMessage():
     print """
Options:
  -h, --help                      show this help message and exit
  -s, --search <keyword,keyword,keyword>  text for search
  --txt                           Write txt File
  --html                          Write html File
  --update                        upgrade to latest version
  -g, --get                       Download exploit files
              """

def basicInfo():
     print """
            Pompem - Exploit Finder  |  Developed by Cyberizm
              \n    KingSkrupellos  (Just Hacker) - @rfunix\n
                        Cyberizm.Org - cyberizm.org\n
              Usage: pompem.py [-s/--search <keyword,keyword,keyword,...>]
                               [--txt Write txt file                     ]
                               [--html Write html file                   ]
                               [-g/--get Download exploit files          ]
      \n              Get basic options and Help, use: -h\--help
              """

if __name__ == "__main__":
    main()


İndirme Linki =>
Kod:
https://github.com/rfunix/Pompem
Alinti
GнσυL
*
avatar
Sivile Alındı
Durum: Çevrimdışı
Seviye Puanı: 15
Yaşam Puanı: 60 / 356
Deneyim: 25 / 100
Rep Sayısı: 17
Mesaj Sayısı: 266
Üyelik Tarihi: 29.08.2014
     
Yorum: #2
Cvp: Pompey Exploit Bulma Aracı Python
01.10.2014 14:00
teşekkürler eline sağlık
Alinti



1 Ziyaretçi