diff --git a/Proxy/HTTP/HighlightUnencryptedHTTP.bambda b/Proxy/HTTP/HighlightUnencryptedHTTP.bambda new file mode 100644 index 0000000..d336de0 --- /dev/null +++ b/Proxy/HTTP/HighlightUnencryptedHTTP.bambda @@ -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;