You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/msf/core/exploit/winrm.rb
-32Lines changed: 0 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -36,38 +36,6 @@ def initialize(info = {})
36
36
],self.class
37
37
)
38
38
39
-
register_advanced_options(
40
-
[
41
-
OptString.new('UserAgent',[false,'The User-Agent header to use for all requests',
42
-
Rex::Proto::Http::Client::DefaultUserAgent
43
-
]),
44
-
],self.class
45
-
)
46
-
47
-
register_evasion_options(
48
-
[
49
-
OptEnum.new('HTTP::uri_encode_mode',[false,'Enable URI encoding','hex-normal',['none','hex-normal','hex-all','hex-random','u-normal','u-all','u-random']]),
50
-
OptBool.new('HTTP::uri_full_url',[false,'Use the full URL for all HTTP requests',false]),
51
-
OptInt.new('HTTP::pad_method_uri_count',[false,'How many whitespace characters to use between the method and uri',1]),
52
-
OptInt.new('HTTP::pad_uri_version_count',[false,'How many whitespace characters to use between the uri and version',1]),
53
-
OptEnum.new('HTTP::pad_method_uri_type',[false,'What type of whitespace to use between the method and uri','space',['space','tab','apache']]),
54
-
OptEnum.new('HTTP::pad_uri_version_type',[false,'What type of whitespace to use between the uri and version','space',['space','tab','apache']]),
55
-
OptBool.new('HTTP::method_random_valid',[false,'Use a random, but valid, HTTP method for request',false]),
56
-
OptBool.new('HTTP::method_random_invalid',[false,'Use a random invalid, HTTP method for request',false]),
57
-
OptBool.new('HTTP::method_random_case',[false,'Use random casing for the HTTP method',false]),
58
-
OptBool.new('HTTP::uri_dir_self_reference',[false,'Insert self-referential directories into the uri',false]),
59
-
OptBool.new('HTTP::uri_dir_fake_relative',[false,'Insert fake relative directories into the uri',false]),
60
-
OptBool.new('HTTP::uri_use_backslashes',[false,'Use back slashes instead of forward slashes in the uri ',false]),
61
-
OptBool.new('HTTP::pad_fake_headers',[false,'Insert random, fake headers into the HTTP request',false]),
62
-
OptInt.new('HTTP::pad_fake_headers_count',[false,'How many fake headers to insert into the HTTP request',0]),
63
-
OptBool.new('HTTP::pad_get_params',[false,'Insert random, fake query string variables into the request',false]),
64
-
OptInt.new('HTTP::pad_get_params_count',[false,'How many fake query string variables to insert into the request',16]),
65
-
OptBool.new('HTTP::pad_post_params',[false,'Insert random, fake post variables into the request',false]),
66
-
OptInt.new('HTTP::pad_post_params_count',[false,'How many fake post variables to insert into the request',16]),
67
-
OptBool.new('HTTP::uri_fake_end',[false,'Add a fake end of URI (eg: /%20HTTP/1.0/../../)',false]),
68
-
OptBool.new('HTTP::uri_fake_params_start',[false,'Add a fake start of params to the URI (eg: /%3fa=b/../)',false]),
69
-
OptBool.new('HTTP::header_folding',[false,'Enable folding of HTTP headers',false])
0 commit comments