mobile_entrance.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:astoptool 作者: zouliuyun 项目源码 文件源码
def _local_resolver(domain):
    with quiet():
        ret_value = local('''nslookup %s |grep "^Address" |grep -v '#'|awk '{print $2}' ''' % domain, capture=True)
    if ret_value:
        return ret_value
    else:
        raise Exception('Fail to resolve {} to ip address'.format(domain))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号