fix nil access
git-svn-id: file:///home/svn/framework3/trunk@11344 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
78a62d33c5
commit
6a5ebf2d91
|
@ -85,7 +85,9 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
'method' => 'GET'
|
||||
}, 5)
|
||||
|
||||
case response['Content-Length'].to_i
|
||||
clen = 0
|
||||
clen ||= response['Content-Length'].to_i if response and response['Content-Length']
|
||||
case clen
|
||||
when 24584
|
||||
print_status("[!] Found Version - Integard Home")
|
||||
mytarget = targets[1]
|
||||
|
|
Loading…
Reference in New Issue