Update nuuo_nvrmini_upgrade_rce.rb
parent
ca558d4b14
commit
4880dcbda8
|
@ -48,10 +48,6 @@ class MetasploitModule < Msf::Exploit::Remote
|
||||||
'uploaddir' => "';echo '#{Rex::Text.rand_text_alphanumeric(10..15)}';'"
|
'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/
|
if res.code == 200 and res.body =~ /upload_tmp_dir/
|
||||||
return Exploit::CheckCode::Vulnerable
|
return Exploit::CheckCode::Vulnerable
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue