示例#1
0
文件: option.py 项目: gyyyy/Pocsuite
def init():
    _setHTTPUserAgent()
    _setHTTPReferer()
    _setHTTPCookies()
    _setHTTPTimeout()
    _setHTTPExtraHeaders()

    setPoc()
    registerPocFromDict()
    pocViolation()

    setMultipleTarget()
    _setHTTPProxy()
示例#2
0
    def do_load(self, args):
        if args.isdigit():
            conf.pocFile = kb.unloadedList[int(args)]
            del kb.unloadedList[int(args)]
            pass
        else:
            conf.pocFile = args

        setPoc()

        print '[*] load poc file(s) success!'
        print
        pass
示例#3
0
def init():
    _setHTTPUserAgent()
    _setHTTPReferer()
    _setHTTPCookies()
    _setHTTPTimeout()
    _setHTTPExtraHeaders()

    setPoc()
    registerPocFromDict()
    pocViolation()

    setMultipleTarget()
    _setHTTPProxy()
示例#4
0
    def do_load(self, args):
        if args.isdigit():
            conf.pocFile = kb.unloadedList[int(args)]
            del kb.unloadedList[int(args)]
            pass
        else:
            conf.pocFile = args

        setPoc()

        print '[*] load poc file(s) success!'
        print
        pass
示例#5
0
    def do_load(self, args):
        if args.isdigit():
            conf.pocFile = kb.unloadedList[int(args)]
            del kb.unloadedList[int(args)]
            pass
        else:
            conf.pocFile = args

        conf.pocname = os.path.split(conf.pocFile)[1]
        setPoc()

        print "[*] load poc file(s) success!"
        print
        pass
示例#6
0
def init():
    _setHTTPUserAgent()
    _setHTTPReferer()
    _setHTTPCookies()
    _setHTTPTimeout()
    _setHTTPExtraHeaders()

    if conf.pocFile:
        setPoc()
    if conf.vulKeyword:
        conf.pocFile = '%s/%s' % (paths.POCSUITE_MODULES_PATH, conf.vulKeyword)
        setPoc()
    requiresCheck()
    registerPocFromDict()
    pocViolation()

    setMultipleTarget()
    _setHTTPProxy()
示例#7
0
def init():
    _setHTTPUserAgent()
    _setHTTPReferer()
    _setHTTPCookies()
    _setHTTPTimeout()
    _setHTTPExtraHeaders()

    if conf.pocFile:
        setPoc()
    if conf.vulKeyword:
        conf.pocFile = "%s/%s" % (paths.POCSUITE_MODULES_PATH, conf.vulKeyword)
        setPoc()
    requiresCheck()
    registerPocFromDict()
    pocViolation()

    setMultipleTarget()
    _setHTTPProxy()