From 09b1fddbd7e20a94f314d925f259b94d7f0875c0 Mon Sep 17 00:00:00 2001 From: William Vu Date: Tue, 10 Mar 2020 01:21:01 -0500 Subject: [PATCH] Add hex-noslashes to Rex::Proto::Http::Client --- lib/rex/proto/http/client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rex/proto/http/client.rb b/lib/rex/proto/http/client.rb index 2c4790d115ed..41a42f365d88 100644 --- a/lib/rex/proto/http/client.rb +++ b/lib/rex/proto/http/client.rb @@ -42,7 +42,7 @@ def initialize(host, port = 80, context = {}, ssl = nil, ssl_version = nil, prox # XXX: This info should all be controlled by ClientRequest self.config_types = { - 'uri_encode_mode' => ['hex-normal', 'hex-all', 'hex-random', 'u-normal', 'u-random', 'u-all'], + 'uri_encode_mode' => ['hex-normal', 'hex-all', 'hex-random', 'hex-noslashes', 'u-normal', 'u-random', 'u-all'], 'uri_encode_count' => 'integer', 'uri_full_url' => 'bool', 'pad_method_uri_count' => 'integer',