Skip to content

Commit

Permalink
Create HighlightUnencryptedHTTP.bambda
Browse files Browse the repository at this point in the history
This Bambda script filters the Proxy history to identify and highlight unencrypted HTTP traffic. It's designed to pinpoint requests that are not secured with HTTPS.
  • Loading branch information
BugBountyzip authored Dec 4, 2023
1 parent 522b780 commit f98000b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Proxy/HTTP/HighlightUnencryptedHTTP.bambda
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* Bambda Script to Highlight Unencrypted HTTP Traffic
* Filters Proxy HTTP history for unencrypted (non-HTTPS) requests.
* @author Tur24Tur / BugBountyzip (https://github.com/BugBountyzip)
**/

// Get the request object from the requestResponse
var request = requestResponse.request();

// Extract the URL from the request
var requestUrl = request.url();

// Check if the request URL starts with "http://"
if (requestUrl.startsWith("http://")) {
// URL is unencrypted, return true to highlight this request
return true;
}

// URL is encrypted or does not match the criteria, return false
return false;

0 comments on commit f98000b

Please sign in to comment.