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

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

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

API function to check if URL is in scope?

Lode Vanstechelman Mar 13, 2018 09:55AM UTC

I have created a custom extension that takes all requests of a certain domain from the sitemap, does some magic on the insertion points and then adds the requests with custom insertion points to the active scanner.

I'm having a problem with ensuring that I only add requests that are in scope.
Is there an API function that can be called to check if an URL is in scope?

Paul Johnston Mar 13, 2018 10:27AM UTC Support Center agent

Hi Lode,

You can use IBurpExtenderCallbacks.isInScope() to check. For your extension, this may not be necessary. When an in-scope item is sent to active scanner, the scan starts automatically. But when an out-of-scope item is sent, the user is prompted to confirm whether they want to scan that URL.

Please let us know if you need any further assistance.

Post Your public answer

Your name
Your email address