fix check method, lol?
git-svn-id: file:///home/svn/framework3/trunk@9026 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
1a47c436d3
commit
1f8605e26d
|
@ -65,8 +65,8 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
'uri' => '/'
|
'uri' => '/'
|
||||||
}, 5)
|
}, 5)
|
||||||
|
|
||||||
if response and response['Server']
|
if res and res['Server']
|
||||||
print_status("Found RTSP: #{response['Server']}")
|
print_status("Found RTSP: #{res['Server']}")
|
||||||
return Exploit::CheckCode::Detected
|
return Exploit::CheckCode::Detected
|
||||||
else
|
else
|
||||||
return Exploit::CheckCode::Safe
|
return Exploit::CheckCode::Safe
|
||||||
|
|
Loading…
Reference in New Issue