The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

How do I send keyboard interrupts like CTRL +R for send to repeater through burp extender API

nivedha | Last updated: Feb 02, 2016 06:10AM UTC

How to send CTRL , ALT or function keys keyboard Interrupt through Burp Extender python API?

Burp User | Last updated: Feb 02, 2016 06:29AM UTC

Basically how to use hotkeys under Misc options through burp extender API?

PortSwigger Agent | Last updated: Feb 02, 2016 12:02PM UTC

You can't issue keyboard hotkeys via the API, sorry.

PortSwigger Agent | Last updated: Feb 03, 2016 08:45AM UTC

You can change these in the same general way that Burp's preferences can currently be manipulated via the API. It's currently a bit clunky/limiting, but we'll be improving this soon: https://portswigger.net/burp/extender/api/burp/IBurpExtenderCallbacks.html#saveConfig() https://portswigger.net/burp/extender/api/burp/IBurpExtenderCallbacks.html#loadConfig(java.util.Map)

Burp User | Last updated: Feb 04, 2016 09:26AM UTC

Can Hotkeys under Misc options be changed using API?

Burp User | Last updated: Feb 04, 2016 11:21AM UTC

Is it possible to saveConfig in a file instead of dictonary(key/value pair) and load it whenever required ?

PortSwigger Agent | Last updated: Feb 04, 2016 11:32AM UTC

Not currently. Soon, we will be replacing this API to operate on a JSON-based configuration string, which you can easily store in files if you want.

Burp User | Last updated: Feb 09, 2016 07:46PM UTC

Does this basically mean then, that I am limited to just the navigation options defined in Options - Misc? For example: If I wanted to implement Alt-Tab to toggle between tabs :) .. I can't do that, as things stand..rt?

Burp User | Last updated: Feb 09, 2016 09:00PM UTC

For example: This is the closest I seem to be able to get (Python) while trying to switch hotkeys as a POC, and that didn't work as expected either :( -------- config= dict(callbacks.saveConfig()) config['suite.hotkey1']= '262400.130.70.' config['suite.hotkey2']= '131584.130.73.' callbacks.loadConfig(config) for k,v in config.items(): if 'hotkey1' in k or 'hotkey2' in k: print k,v -------- I tried creating a new key but that didn't really work. Am I doing it all wrong?

PortSwigger Agent | Last updated: Feb 10, 2016 10:20AM UTC

We would suggest creating the desired hotkeys via the UI in the normal way, and then save the config via the API. This will give you the valid config strings that you can later restore via the API when needed. If you can't create the configuration you need via the UI, then it can't be done.

Burp User | Last updated: Feb 10, 2016 10:55PM UTC