fix response codes check to avoid second tries to fail

unstable
jvazquez-r7 2012-11-05 09:26:26 +01:00
parent 9576d26299
commit 04668c7d61
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ class Metasploit3 < Msf::Exploit::Remote
return
end
if (res.code < 200 or res.code >= 300)
if (res.code < 200 or res.code > 302)
print_error("#{@peer} - Execution failed on #{upload_path} [#{res.code} #{res.message}]")
return
end