updater.py 文件源码

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

项目:Dr0p1t-Framework 作者: Exploit-install 项目源码 文件源码
def check():
    response = urlopen('https://raw.githubusercontent.com/D4Vinci/Dr0p1t-Framework/master/core/version.txt')
    version = response.read().decode('utf-8').strip()
    f = open( os.path.join("core","version.txt"), 'r')
    file_data = f.read().strip()
    if version != file_data:
        colored_print('\n[*] New Version available ! Visit: https://github.com/D4Vinci/Dr0p1t-Framework\n',"y")
    else:
        colored_print('[*] Your version is up-to-date ;)',"b")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号