Skip to content

Commit

Permalink
Update README.md files
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 5, 2023
1 parent 057b6b3 commit 2a6e2a8
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Proxy/HTTP/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,26 @@ if (requestResponse.response().hasHeader("authorization")) {

return false;

```
## [HighlightUnencryptedHTTP.bambda](https://github.com/PortSwigger/bambdas/blob/main/Proxy/HTTP/HighlightUnencryptedHTTP.bambda)
### Bambda Script to Highlight Unencrypted HTTP Traffic Filters Proxy HTTP history for unencrypted (non-HTTPS) requests.
#### Author: Tur24Tur / BugBountyzip (https://github.com/BugBountyzip)
```java
// 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;

```
## [OWASPTop25VulnerableParameters.bambda](https://github.com/PortSwigger/bambdas/blob/main/Proxy/HTTP/OWASPTop25VulnerableParameters.bambda)
### Filters Proxy HTTP history for requests with vulnerable parameters based on the OWASP Top 25
Expand Down

0 comments on commit 2a6e2a8

Please sign in to comment.