zgrab2 icon indicating copy to clipboard operation
zgrab2 copied to clipboard

Add TLS support for fox

Open Seanstoppable opened this issue 2 years ago • 0 comments

This mimics the change made in https://github.com/zmap/zgrab2/pull/374 to add support for Fox over TLS

Example with change:

echo IP | ./zgrab2 fox -p 4911 --use-tls
INFO[0000] started grab at 2023-12-20T09:30:03-06:00
{"ip":"76.210.249.177","data":{"fox":{"status":"success","protocol":"fox","result":{"is_fox":true,"version":"1.0.1","id":2189,"hostname":"DESKTOP-B2DFDMI","host_address":"76.210.249.177","app_name":"Station","app_version":"3.8.504","vm_name":"Java HotSpot(TM) 64-Bit Server VM","vm_version":"25.231-b11","os_name":"Windows 10","os_version":"10.0","station_name":"Bldg_1550_Sup","language":"en","time_zone":"America/Los_Angeles","host_id":"Win-E6F9-8F43-6725-9DC6","vm_uuid":"7ffc9d59-7e6e-4431-969d-4bf09379ecea","brand_id":"distech","sys_info":"bog 61[\u003cbog version=\"1.0\"\u003e","auth_agent_type":"fox","tls":{"handshake_log":{"server_hello":{"version":{"name":"TLSv1.2","value":771},"random":"ZYMIe6Gy2ZU4U8Bbli3rye10S7uAIAXdhJVW5nP/SUk=","session_id":"ZYMIe+IKHOwSI9nxQEUKe6aomh/YzdjhgRRtOqXmstA=","cipher_suite":{"hex":"0xC02F","name":"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256","value":49199},"compression_method":0,"ocsp_stapling":false,"ticket":false,"secure_renegotiation":true,"heartbeat":false,"extended_master_secret":false},"server_certificates": <snip>

Seanstoppable avatar Dec 20 '23 15:12 Seanstoppable