本文整理匯總了Python中burp.IScanIssue方法的典型用法代碼示例。如果您正苦於以下問題:Python burp.IScanIssue方法的具體用法?Python burp.IScanIssue怎麽用?Python burp.IScanIssue使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類burp
的用法示例。
在下文中一共展示了burp.IScanIssue方法的12個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: registerExtenderCallbacks
# 需要導入模塊: import burp [as 別名]
# 或者: from burp import IScanIssue [as 別名]
def registerExtenderCallbacks(self, callbacks):
# keep a reference to our callbacks object
global cbs, helpers, stdout, stderr
cbs = callbacks
helpers = callbacks.getHelpers()
stdout = PrintWriter(callbacks.getStdout(), True)
stderr = PrintWriter(callbacks.getStderr(), True)
callbacks.setExtensionName("CTF helper")
stdout.println("Welcome to my CTF world...")
stdout.println('CTF helper by unamer.')
# register ourselves as a custom scanner check
callbacks.registerScannerCheck(backupScan())
callbacks.registerScannerCheck(DirScan())
#
# class implementing IScanIssue to hold our custom scan issue details
#
示例2: doActiveScan
# 需要導入模塊: import burp [as 別名]
# 或者: from burp import IScanIssue [as 別名]
def doActiveScan(self, baseRequestResponse, insertionPoint):
pass
#
# class implementing IScanIssue to hold our custom scan issue details
#
示例3: getUrl
# 需要導入模塊: import burp [as 別名]
# 或者: from burp import IScanIssue [as 別名]
def getUrl(self):
"""
Overrides IScanIssue
:return: the URL
"""
return self._url
示例4: getIssueName
# 需要導入模塊: import burp [as 別名]
# 或者: from burp import IScanIssue [as 別名]
def getIssueName(self):
"""
Overrides IScanIssue
:return: the Issue Name
"""
return self._name
示例5: getIssueType
# 需要導入模塊: import burp [as 別名]
# 或者: from burp import IScanIssue [as 別名]
def getIssueType(self):
"""
Overrides IScanIssue
See http://portswigger.net/burp/help/scanner_issuetypes.html
:return: always 0
"""
return 0
示例6: getSeverity
# 需要導入模塊: import burp [as 別名]
# 或者: from burp import IScanIssue [as 別名]
def getSeverity(self):
"""
Overrides IScanIssue
:return: "High", "Medium", "Low", "Information" or "False positive"
"""
return self._severity
示例7: getConfidence
# 需要導入模塊: import burp [as 別名]
# 或者: from burp import IScanIssue [as 別名]
def getConfidence(self):
"""
Overrides IScanIssue
:return: "Certain", "Firm" or "Tentative"
"""
return self._confidence
示例8: getRemediationBackground
# 需要導入模塊: import burp [as 別名]
# 或者: from burp import IScanIssue [as 別名]
def getRemediationBackground(self):
"""
Overrides IScanIssue
:return: remediation background
"""
return self._rembg
示例9: getIssueDetail
# 需要導入模塊: import burp [as 別名]
# 或者: from burp import IScanIssue [as 別名]
def getIssueDetail(self):
"""
Overrides IScanIssue
:return: issue detail
"""
return self._detail
示例10: getRemediationDetail
# 需要導入模塊: import burp [as 別名]
# 或者: from burp import IScanIssue [as 別名]
def getRemediationDetail(self):
"""
Overrides IScanIssue
:return: remediation detail
"""
return self._remdet
示例11: getHttpMessages
# 需要導入模塊: import burp [as 別名]
# 或者: from burp import IScanIssue [as 別名]
def getHttpMessages(self):
"""
Overrides IScanIssue
:return: Http messages content
"""
return self._http_messages
示例12: getHttpService
# 需要導入模塊: import burp [as 別名]
# 或者: from burp import IScanIssue [as 別名]
def getHttpService(self):
"""
Overrides IScanIssue
:return: Http Service
"""
return self._http_service