Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_idc_list():
db = ipdb.IDC("c:/work/ipdb/idc_list.ipdb")
print(db.find_map("1.1.1.1", "CN"))
print(db.find_map("8.8.8.8", "CN"))