diff --git a/Proxy/HTTP/HighlightDeprecatedHTTPMethods.bambda b/Proxy/HTTP/HighlightDeprecatedHTTPMethods.bambda deleted file mode 100644 index 995b550..0000000 --- a/Proxy/HTTP/HighlightDeprecatedHTTPMethods.bambda +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Bambda Script to Filter and Highlight Requests Using Deprecated HTTP Methods - * Highlights requests using less common or deprecated HTTP methods like TRACE or CONNECT. - * Author: Tur24Tur - * GitHub: @BugBountyzip (https://github.com/BugBountyzip) - **/ - -boolean manualColorHighlightEnabled = true; - -// Define the set of deprecated or less common HTTP methods -Set deprecatedMethods = Set.of("TRACE", "CONNECT"); - -String requestMethod = requestResponse.request().method(); - -// Check if the request method is in the set of deprecated methods -if (deprecatedMethods.contains(requestMethod)) { - if (manualColorHighlightEnabled) { - // Set the highlight color to RED - requestResponse.annotations().setHighlightColor(HighlightColor.RED); - - // Optionally, add a note to the request/response - requestResponse.annotations().setNotes("Deprecated method used: " + requestMethod); - } - return true; -} - -return false;