V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
mckelvin
V2EX  ›  Python

用Python写了个自动生成Google北京hosts的工具

  •  
  •   mckelvin ·
    mckelvin · Mar 27, 2013 · 5620 views
    This topic created in 4792 days ago, the information mentioned may be changed or developed.
    这个工具做了三件事:

    1. 用ping暴力扫描Google北京IP段的存活主机
    2. 遍历检测所有存活主机443端口SSL证书的subject common name(CN) 得到IP-域名的映射
    3. 对google_domains.txt中每个每个域名进行解析

    项目地址: https://github.com/mckelvin/google-beijing-hosts-generator
    4 replies    1970-01-01 08:00:00 +08:00
    est
        1
    est  
       Mar 27, 2013
    lz这是在描述 how_google_cn_die.mp4
    wwqgtxx
        2
    wwqgtxx  
       Mar 27, 2013 via Android
    你会导致cn ip在19大的时候被再次丢包的………
    这种东西,不宜广传,否则随机丢包害了大家。
    mckelvin
        3
    mckelvin  
    OP
       Mar 27, 2013
    @est
    @wwqgtxx
    而且还可能会导致github被墙对吗?
    DON'T PANIC —— GoAgent・README

    我已经移除项目里的几个数据文件了。这帖子会被下沉的
    wwqgtxx
        4
    wwqgtxx  
       Mar 28, 2013 via Android
    @mckelvin 不要直接亮出hosts ip即可,其他到没什么。github上的敏感项目还是很多的,不会因为某一个被封。而且现在不少运营商直接封锁了203.208ip段的ping包,真的担心有一些运营商会彻底封锁203.208.段。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3061 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 12:53 · PVG 20:53 · LAX 05:53 · JFK 08:53
    ♥ Do have faith in what you're doing.