Skip to content

Commit

Permalink
Fix missing return in HTTP CmdStagers
Browse files Browse the repository at this point in the history
Fetch payloads are cooler, but this was missed in #13426.
  • Loading branch information
wvu committed May 26, 2023
1 parent d825515 commit 9528339
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 9528339

Please sign in to comment.