예제 #1
0
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"))
예제 #2
0
def test_idc_list():
    db = ipdb.IDC("./mydata4vipweek2.ipdb")
    print(db.find_map("1.1.1.1", "CN"))
    print(db.find_map("8.8.8.8", "CN"))