Skip to content

Commit 11a3f59

Browse files
committed
Return false if there isn't a positive answer
1 parent 093c2e3 commit 11a3f59

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/exploits/multi/http/zcm_file_upload.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ def upload_war_and_exec(tomcat_path)
110110
# Success! Triggered the payload, should have a shell incoming
111111
return true if res.code == 200
112112
end
113+
114+
false
113115
end
114116

115117

0 commit comments

Comments
 (0)