Update modules/auxiliary/client/hwbridge/connect.rb
Co-authored-by: jheysel-r7 <Jack_Heysel@rapid7.com>
This commit is contained in:
@@ -69,12 +69,7 @@ class MetasploitModule < Msf::Auxiliary
|
||||
return
|
||||
end
|
||||
|
||||
parsed = nil
|
||||
begin
|
||||
parsed = JSON.parse(res.body)
|
||||
rescue JSON::ParserError
|
||||
parsed = nil
|
||||
end
|
||||
parsed = res.get_json_document
|
||||
|
||||
if res.code == 200
|
||||
print_status res.body if datastore['DEBUGJSON'] == true
|
||||
|
||||
Reference in New Issue
Block a user