Python burp.IMessageEditorTabFactory() Examples

The following are 2 code examples of burp.IMessageEditorTabFactory(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module burp , or try the search function .
Example #1
Source File: AlteredCustomEditorTab.py    From burp-exceptions with Apache License 2.0 6 votes vote down vote up
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
    # 
Example #2
Source File: CaidaoExt.py    From Caidao-AES-Version with MIT License 6 votes vote down vote up
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
    #