Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Feb 16, 2021
1 parent 689636c commit 16aa9cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/passive_ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,9 @@ def deanonymize_onion():
if ip_addr not in deanonymized_onion[domain]['ip']:
deanonymized_onion[domain]['ip'].append(ip_addr)
if not 'matched_keys' in deanonymized_onion[domain]:
deanonymized_onion['matched_keys'] = [{'type': key_type, 'fingerprint': fingerprint}]
deanonymized_onion[domain]['matched_keys'] = [{'type': key_type, 'fingerprint': fingerprint}]
else:
deanonymized_onion['matched_keys'].append({'type': key_type, 'fingerprint': fingerprint})
deanonymized_onion[domain]['matched_keys'].append({'type': key_type, 'fingerprint': fingerprint})
return deanonymized_onion

def get_stats_nb_banner(sort=True, hosts_types=[], reverse=False):
Expand Down

0 comments on commit 16aa9cf

Please sign in to comment.