Support Center

Burp Community

See what our users are saying about Burp Suite:

How do I?

New Post View All

Feature Requests

New Post View All

Burp Extensions

New Post View All

Bug Reports

New Post View All
Documentation

Burp Suite Documentation

Take a look at our Documentation section for full details about every Burp Suite tool, function and configuration option.

Full Documentation Contents Burp Projects
Suite Functions Burp Tools
Options Using Burp Suite
Extensibility

Burp Extender

Burp Extender lets you extend the functionality of Burp Suite in numerous ways.

Extensions can be written in Java, Python or Ruby.

API documentation Writing your first Burp Suite extension
Sample extensions View community discussions about Extensibility
Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Binding proxy on custom port programmatically

Ivan Mar 12, 2017 06:01AM UTC

In my extension i want to accept all requests on custom port (for example 1337). There is no actual server on my computer, just another tool in the Internet, which would send there requests. I thought about proxy listener, but didnt find, how to bind proxy on port inside my extension. Maybe there is a better way to do it (catch all requests on port 1337 programmatically)?


Dafydd Stuttard Mar 13, 2017 11:51AM UTC Support Center agent

Do you mean you want to make your extension start a Burp Proxy listener on port 1337?

If so, you can use the loadConfigFromJson() API to load a fragment of a Burp config file:

https://portswigger.net/burp/extender/api/burp/IBurpExtenderCallbacks.html#loadConfigFromJson(java.lang.String)

To generate suitable config, you can manually create the settings you want in the Proxy listener UI, and then save a config file from that panel, using the options button (with the gear icon).


Post Your public answer

Your name
Your email address
Answer