Skip to content

Commit

Permalink
Land #13038, clean up the socket when checking
Browse files Browse the repository at this point in the history
  • Loading branch information
smcintyre-r7 committed Mar 6, 2020
2 parents acc7dd1 + e5f2b48 commit c757803
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/exploits/multi/http/php_fpm_rce.rb
Expand Up @@ -378,6 +378,8 @@ def check
print_good("Parameters found: QSL=#{@params[:qsl]}, customh_length=#{@params[:customh_length]}")
print_good("Target is vulnerable!")
CheckCode::Vulnerable
ensure
disconnect(client) if client&.conn?
end

def exploit
Expand Down

0 comments on commit c757803

Please sign in to comment.