Update modules/auxiliary/client/hwbridge/connect.rb

Co-authored-by: jheysel-r7 <Jack_Heysel@rapid7.com>
This commit is contained in:
bitstr3m
2026-03-24 18:10:42 -07:00
committed by Jack Heysel
parent 1c46006cb4
commit b9fee17018
+1 -6
View File
@@ -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