MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / get_traffic_ja3

Function get_traffic_ja3

webapp_modern.py:17071–17086  ·  view source on GitHub ↗

Get observed TLS (JA3/JA3S) fingerprints per host.

()

Source from the content-addressed store, hash-verified

17069 if not (hasattr(shared_data, 'network_intelligence') and
17070 shared_data.network_intelligence and
17071 shared_data.config.get('network_intelligence_enabled', True)):
17072 return jsonify({'error': 'Network intelligence not available'}), 400
17073
17074 data = request.get_json()
17075 required_fields = ['host', 'service', 'username', 'password']
17076
17077 if not all(field in data for field in required_fields):
17078 return jsonify({'error': 'Missing required fields'}), 400
17079
17080 cred_id = shared_data.network_intelligence.add_credential(
17081 host=data['host'],
17082 service=data['service'],
17083 username=data['username'],
17084 password=data['password'],
17085 protocol=data.get('protocol', 'unknown'),
17086 details=data.get('details', {})
17087 )
17088
17089 if cred_id:

Callers

nothing calls this directly

Calls 4

get_tls_fingerprintsMethod · 0.80
errorMethod · 0.80
get_traffic_analyzerFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected