Skip to content

Commit

Permalink
add censys urls
Browse files Browse the repository at this point in the history
  • Loading branch information
superstes committed Sep 30, 2024
1 parent 97b3029 commit a9a0271
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dns/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def __init__(self):
def run(self):
self.results[TARGET] = {
'shodan_url': f'https://www.shodan.io/search?query=hostname%3A{TARGET}',
'censys_url': f'https://search.censys.io/search?resource=hosts&sort=RELEVANCE&per_page=25&virtual_hosts=INCLUDE&q={TARGET}',
'google_site': f'https://www.google.com/search?q=site%3A{TARGET}',
}
self._process_basic_records()
Expand Down
1 change: 1 addition & 0 deletions ips/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def _lookup_ip(self, ip: (IPv4Address, IPv6Address), data_oxl_asn: dict):
d = {
'oxl_asn': data_oxl_asn,
'ipinfo_url_ip': f"{IPINFO_URL}/{ip}",
'censys_url': f'https://search.censys.io/search?resource=hosts&sort=RELEVANCE&per_page=25&virtual_hosts=INCLUDE&q={ip}',
}

if IPINFO_TOKEN != '':
Expand Down

0 comments on commit a9a0271

Please sign in to comment.