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


Python burp.IMessageEditorTabFactory方法代碼示例

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


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

示例1:

# 需要導入模塊: import burp [as 別名]
# 或者: from burp import IMessageEditorTabFactory [as 別名]
def	registerExtenderCallbacks(self, callbacks):
    
        # keep a reference to our callbacks object
        self._callbacks = callbacks
        
        # obtain an extension helpers object
        self._helpers = callbacks.getHelpers()
        
        sys.stdout = callbacks.getStdout()      # ADDED LINE
        
        # set our extension name
        callbacks.setExtensionName("Serialized input editor")
        
        # register ourselves as a message editor tab factory
        callbacks.registerMessageEditorTabFactory(self)
        
        return
        
    # 
    # implement IMessageEditorTabFactory
    # 
開發者ID:securityMB,項目名稱:burp-exceptions,代碼行數:23,代碼來源:AlteredCustomEditorTab.py

示例2: registerExtenderCallbacks

# 需要導入模塊: import burp [as 別名]
# 或者: from burp import IMessageEditorTabFactory [as 別名]
def registerExtenderCallbacks(self, callbacks):
        # keep a reference to our callbacks object
        self._callbacks = callbacks
        
        self._helpers = callbacks.getHelpers()      
        callbacks.setExtensionName("Caidao Crypto(AES)")
        
        # register ourselves as a message editor tab factory
        callbacks.registerMessageEditorTabFactory(self)
        
        # add http listener
        callbacks.registerHttpListener(self)

        # Parsia: for burp-exceptions
        sys.stdout = callbacks.getStdout()
        
        print("Caidao Crypto(AES) is ready")
        
    # 
    # implement IMessageEditorTabFactory
    # 
開發者ID:ekgg,項目名稱:Caidao-AES-Version,代碼行數:23,代碼來源:CaidaoExt.py


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