If I can't write, I want to know.

It's possible that the upload directory doesn't allow write, the
module should be aware of that.  Other reasons may be possible.
unstable
sinn3r 2013-06-19 02:32:30 -05:00
parent 19d868748d
commit 9c3bd12613
1 changed files with 2 additions and 0 deletions

View File

@ -107,6 +107,8 @@ class Metasploit3 < Msf::Exploit::Remote
fail_with(Exploit::Failure::Unknown, "#{peer} - Request timed out while uploading")
elsif res.code.to_i == 404
fail_with(Exploit::Failure::NotFound, "#{peer} - No upload.php found")
elsif res.body =~ /"error"\:"abort"/
fail_with(Exploit::Failure::Unknown, "#{peer} - Unable to write #{fname}")
end
return fname