diff --git a/burpference/burpference.py b/burpference/burpference.py index 1f90299..1b3f05b 100644 --- a/burpference/burpference.py +++ b/burpference/burpference.py @@ -819,6 +819,10 @@ def create_scan_issue(self, messageInfo, processed_response): self.log_message("Error creating scan issue: %s" % str(e)) def processHttpMessage(self, toolFlag, messageIsRequest, messageInfo): + # Check if URL is in scope before processing + if not self._callbacks.isInScope(self._helpers.analyzeRequest(messageInfo).getUrl()): + return + if messageIsRequest: # Add new domains to both main extension and scanner host = messageInfo.getHttpService().getHost()