⚝
One Hat Cyber Team
⚝
Your IP:
18.219.224.246
Server IP:
162.254.39.145
Server:
Linux premium289.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
lib64
/
python2.7
/
Tools
/
scripts
/
View File Name :
checkpip.py
#! /usr/bin/python2.7 """ Checks that the version of the projects bundled in ensurepip are the latest versions available. """ import ensurepip import json import urllib2 import sys def main(): outofdate = False for project, version in ensurepip._PROJECTS: data = json.loads(urllib2.urlopen( "https://pypi.python.org/pypi/{}/json".format(project), ).read().decode("utf8")) upstream_version = data["info"]["version"] if version != upstream_version: outofdate = True print("The latest version of {} on PyPI is {}, but ensurepip " "has {}".format(project, upstream_version, version)) if outofdate: sys.exit(1) if __name__ == "__main__": main()