fix check method, lol?

git-svn-id: file:///home/svn/framework3/trunk@9026 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Joshua Drake 2010-04-06 04:58:03 +00:00
parent 1a47c436d3
commit 1f8605e26d
1 changed files with 2 additions and 2 deletions

View File

@ -65,8 +65,8 @@ class Metasploit3 < Msf::Exploit::Remote
'uri' => '/'
}, 5)
if response and response['Server']
print_status("Found RTSP: #{response['Server']}")
if res and res['Server']
print_status("Found RTSP: #{res['Server']}")
return Exploit::CheckCode::Detected
else
return Exploit::CheckCode::Safe