Skip to content

Commit 43a9b2f

Browse files
committed
Fix missing return
My bad.
1 parent d50a640 commit 43a9b2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/multi/http/phoenix_exec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def check
6161
test = Rex::Text.rand_text_alpha(8)
6262
res = http_send_command("echo #{test};")
6363
if res && res.body.include?(test)
64-
Exploit::CheckCode::Vulnerable
64+
return Exploit::CheckCode::Vulnerable
6565
end
6666
Exploit::CheckCode::Safe
6767
end

0 commit comments

Comments
 (0)