Dont log every request when using HTTP data service

GSoC/Meterpreter_Web_Console
James Barnett 2019-01-10 00:30:54 -06:00
parent 43f8a543e1
commit 4074913b60
No known key found for this signature in database
GPG Key ID: 647983861A4EC5EA
1 changed files with 2 additions and 1 deletions

View File

@ -157,7 +157,8 @@ class RemoteHTTPDataService
# simplify query by removing nil values
query_str = (!query.nil? && !query.empty?) ? query.compact.to_query : nil
uri = URI::HTTP::build({path: path, query: query_str})
dlog("HTTP #{request_type} request to #{uri.request_uri} with #{data_hash ? data_hash : "nil"}")
# TODO: Re-enable this logging when framework handles true log levels.
#dlog("HTTP #{request_type} request to #{uri.request_uri} with #{data_hash ? data_hash : "nil"}")
client = @client_pool.pop
case request_type