Skip to content

Instantly share code, notes, and snippets.

View ccsexyz's full-sized avatar
🎯
Focusing

ccsexyz

🎯
Focusing
View GitHub Profile
*.mcdn.bilivideo.cn
d-*-cache.*
*.szbdyd.com
#!/usr/bin/env python
# coding=utf-8
import netaddr
import sys
def print_ipcidr_list(startip, endip):
cidrs = netaddr.iprange_to_cidrs(startip, endip)
for k, v in enumerate(cidrs):
iplist = v
1.0.1.0/24
1.0.2.0/23
1.0.8.0/21
1.0.32.0/19
1.1.0.0/24
1.1.2.0/23
1.1.4.0/22
1.1.8.0/21
1.1.16.0/20
1.1.32.0/19
*.4tern.com
*.adorama.com
*.agnesb.fr
*.akiba-web.com
*.alien-ufos.com
*.altrec.com
*.arena.taipei
*.asianspiss.com
*.athenaeizou.com
*.azubu.tv
1.0.1.0/24
1.0.2.0/23
1.0.8.0/21
1.0.32.0/19
1.1.0.0/24
1.1.2.0/23
1.1.4.0/22
1.1.8.0/21
1.1.16.0/20
1.1.32.0/19
package main
import (
"log"
"net"
"time"
"github.com/google/gopacket/bsdbpf"
)