Skip to content

Commit 7745059

Browse files
fix: add additional inscope check (#14)
1 parent 68bfeb3 commit 7745059

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

burpference/burpference.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,10 @@ def create_scan_issue(self, messageInfo, processed_response):
819819
self.log_message("Error creating scan issue: %s" % str(e))
820820

821821
def processHttpMessage(self, toolFlag, messageIsRequest, messageInfo):
822+
# Check if URL is in scope before processing
823+
if not self._callbacks.isInScope(self._helpers.analyzeRequest(messageInfo).getUrl()):
824+
return
825+
822826
if messageIsRequest:
823827
# Add new domains to both main extension and scanner
824828
host = messageInfo.getHttpService().getHost()

0 commit comments

Comments
 (0)