diff --git a/Filter/Proxy/HTTP/Detect101SwitchingProtocols.bambda b/Filter/Proxy/HTTP/Detect101SwitchingProtocols.bambda new file mode 100644 index 0000000..f1e33e5 --- /dev/null +++ b/Filter/Proxy/HTTP/Detect101SwitchingProtocols.bambda @@ -0,0 +1,8 @@ +/** + * Bambda Script to Detect "101 Switching Protocols" in HTTP Response + * @author Tur24Tur / BugBountyzip (https://github.com/BugBountyzip) + * It identifies if the HTTP response status code is 101 (Switching Protocols). + **/ + +// Ensure there is a response and check if the status code is 101 +return requestResponse.hasResponse() && requestResponse.response().statusCode() == 101;