Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create HighlightUnencryptedHTTP.bambda #23

Merged
merged 1 commit into from
Dec 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;