We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 564f9bc commit 30c325cCopy full SHA for 30c325c
modules/auxiliary/gather/ibm_sametime_enumerate_users.rb
@@ -125,8 +125,8 @@ def run
125
elsif res.code != 200
126
print_error("#{peer} - Unexpected response from server (Response code: #{res.code})")
127
return
128
- elsif JSON.parse(res.body).blank?
129
- # empty JSON element - valid response for check
+ elsif JSON.parse(res.body)
+ # valid JSON response - valid response for check
130
print_good("#{peer} - Response received, continuing to enumeration phase")
131
end
132
rescue JSON::ParserError,
0 commit comments