* expose junk uri end
* expose junk param start git-svn-id: file:///home/svn/incoming/trunk@3547 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
279abda264
commit
29b182eea8
|
@ -37,6 +37,8 @@ module Exploit::Remote::HttpClient
|
|||
OptBool.new('HTTP::junk_params', [false, 'Enable insertion of random junk parameters', 'false']),
|
||||
OptBool.new('HTTP::junk_self_referring_directories', [false, 'Enable insertion of random self referring directories (eg: /./././)', 'false']),
|
||||
OptInt.new('HTTP::junk_pipeline', [true, 'Insert the specified number of junk pipeline requests', 0]),
|
||||
OptBool.new('HTTP::fake_uri_end', [false, 'Add a fake end of URI (eg: /%20HTTP/1.0/../../)', 'false']),
|
||||
OptBool.new('HTTP::fake_param_start', [false, 'Add a fake start of params to the URI (eg: /%3fa=b/../)', 'false']),
|
||||
], Exploit::Remote::HttpClient
|
||||
)
|
||||
end
|
||||
|
@ -156,6 +158,14 @@ module Exploit::Remote::HttpClient
|
|||
request.junk_params = 1
|
||||
end
|
||||
|
||||
if (datastore['HTTP::fake_uri_end'] == true)
|
||||
request.junk_end_of_uri = 1
|
||||
end
|
||||
|
||||
if (datastore['HTTP::fake_param_start'] == true)
|
||||
request.junk_param_start = 1
|
||||
end
|
||||
|
||||
if (datastore['HTTP::junk_self_referring_directories'] == true)
|
||||
request.junk_self_referring_directories = 1
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue