Skip to content

Commit

Permalink
Land #18030, Fix missing return in HTTP CmdStagers
Browse files Browse the repository at this point in the history
  • Loading branch information
gwillcox-r7 committed May 30, 2023
2 parents 42d4c73 + 9528339 commit 3d63d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/msf/core/exploit/cmd_stager/http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def on_request_uri(cli, request)

unless user_agent =~ agent_regex
print_status("Sending 404 to #{client}")
send_not_found(cli)
return send_not_found(cli)
end

print_status("Sending payload to #{client}")
Expand Down

0 comments on commit 3d63d0b

Please sign in to comment.