當前位置: 首頁>>代碼示例>>Python>>正文


Python Cookie.Cookie方法代碼示例

本文整理匯總了Python中Cookie.Cookie方法的典型用法代碼示例。如果您正苦於以下問題:Python Cookie.Cookie方法的具體用法?Python Cookie.Cookie怎麽用?Python Cookie.Cookie使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Cookie的用法示例。


在下文中一共展示了Cookie.Cookie方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。

示例1: All

# 需要導入模塊: import Cookie [as 別名]
# 或者: from Cookie import Cookie [as 別名]
def All(url,agent,proxy,redirect):
	Cookie.Cookie(url,agent,proxy,redirect).Run()
	AllowMethod.AllowMethod(url,agent,proxy,redirect).Run()
	Robots.Robots(url,agent,proxy,redirect).Run()
	ClientAccessPolicy.ClientAccessPolicy(url,agent,proxy,redirect).Run()
	PrivateIP.PrivateIP(url,agent,proxy,redirect).Run()
	Email.Email(url,agent,proxy,redirect).Run()
	MultiIndex.MultiIndex(url,agent,proxy,redirect).Run()
	Captcha.Captcha(url,agent,proxy,redirect).Run()
	ApacheUsers.ApacheUsers(url,agent,proxy,redirect).Run()
	ApacheXss.ApacheXss(url,agent,proxy,redirect).Run()
	HtmlObject.HtmlObject(url,agent,proxy,redirect).Run()
	LDAPInjection.LDAPInjection(url,agent,proxy,redirect).Run()
	ModStatus.ModStatus(url,agent,proxy,redirect).Run()
	AdminInterfaces.AdminInterfaces(url,agent,proxy,redirect).Run()
	Backdoor.Backdoors(url,agent,proxy,redirect).Run()
	Backup.Backup(url,agent,proxy,redirect).Run()
	CommonDirectory.CommonDirectory(url,agent,proxy,redirect).Run()
	CommonFile.CommonFile(url,agent,proxy,redirect).Run() 
開發者ID:Yukinoshita47,項目名稱:Yuki-Chan-The-Auto-Pentest,代碼行數:21,代碼來源:All.py

示例2: output

# 需要導入模塊: import Cookie [as 別名]
# 或者: from Cookie import Cookie [as 別名]
def output(self, attrs=None, header = "Set-Cookie:"):
        return "%s %s" % ( header, self.OutputString(attrs) ) 
開發者ID:glmcdona,項目名稱:meddle,代碼行數:4,代碼來源:Cookie.py

示例3: load

# 需要導入模塊: import Cookie [as 別名]
# 或者: from Cookie import Cookie [as 別名]
def load(self, rawdata):
        """Load cookies from a string (presumably HTTP_COOKIE) or
        from a dictionary.  Loading cookies from a dictionary 'd'
        is equivalent to calling:
            map(Cookie.__setitem__, d.keys(), d.values())
        """
        if type(rawdata) == type(""):
            self.__ParseString(rawdata)
        else:
            # self.update() wouldn't call our custom __setitem__
            for k, v in rawdata.items():
                self[k] = v
        return
    # end load() 
開發者ID:glmcdona,項目名稱:meddle,代碼行數:16,代碼來源:Cookie.py

示例4: __init__

# 需要導入模塊: import Cookie [as 別名]
# 或者: from Cookie import Cookie [as 別名]
def __init__(self, input=None):
        warnings.warn("Cookie/SmartCookie class is insecure; do not use it",
                      DeprecationWarning)
        BaseCookie.__init__(self, input)
    # end __init__ 
開發者ID:glmcdona,項目名稱:meddle,代碼行數:7,代碼來源:Cookie.py

示例5: _test

# 需要導入模塊: import Cookie [as 別名]
# 或者: from Cookie import Cookie [as 別名]
def _test():
    import doctest, Cookie
    return doctest.testmod(Cookie) 
開發者ID:glmcdona,項目名稱:meddle,代碼行數:5,代碼來源:Cookie.py


注:本文中的Cookie.Cookie方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。