12 lines
315 B
Python
12 lines
315 B
Python
import ripe
|
|
import censys
|
|
import bong
|
|
|
|
r = ripe.Ripe()
|
|
c = censys.Censys("dummy", "dummy")
|
|
targets = r.search("trenitalia")
|
|
print("Found " + str(len(targets)) + " ranges from Ripe")
|
|
hosts = c.search_ipv4(c.build_query_ipv4(targets))
|
|
print("Found " + str(len(hosts)) + " hosts from Censys")
|
|
for i in hosts:
|
|
print(i) |