Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
google-cloud-sdk /
bin /
bootstrapping /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-06-08 18:08
.default_components
2
B
-rw-r--r--
1980-01-01 08:00
__init__.py
0
B
-rw-r--r--
1980-01-01 08:00
bootstrapping.py
11.3
KB
-rw-r--r--
1980-01-01 08:00
bq.py
5.25
KB
-rwxr-xr-x
1980-01-01 08:00
gsutil.py
6.75
KB
-rwxr-xr-x
1980-01-01 08:00
install.py
11.75
KB
-rwxr-xr-x
1980-01-01 08:00
java_dev_appserver.py
1.44
KB
-rw-r--r--
1980-01-01 08:00
setup.py
2.09
KB
-rw-r--r--
1980-01-01 08:00
Save
Rename
# Copyright 2013 Google Inc. All Rights Reserved. """Does some initial setup and checks for all the bootstrapping scripts.""" from __future__ import absolute_import from __future__ import unicode_literals import os import sys # We don't want to import any libraries at this point so we handle py2/3 # manually. SITE_PACKAGES = 'CLOUDSDK_PYTHON_SITEPACKAGES' VIRTUAL_ENV = 'VIRTUAL_ENV' if sys.version_info[0] == 2: SITE_PACKAGES = SITE_PACKAGES.encode('utf-8') VIRTUAL_ENV = VIRTUAL_ENV.encode('utf-8') # If we're in a virtualenv, always import site packages. Also, upon request. # We can't import anything from googlecloudsdk here so we are just going to # assume no one has done anything as silly as to put any unicode in either of # these env vars. import_site_packages = (os.environ.get(SITE_PACKAGES) or os.environ.get(VIRTUAL_ENV)) if import_site_packages: # pylint:disable=unused-import # pylint:disable=g-import-not-at-top import site # Put Google Cloud CLI libs on the path root_dir = os.path.normpath(os.path.join( os.path.dirname(os.path.realpath(__file__)), '..', '..')) lib_dir = os.path.join(root_dir, 'lib') third_party_dir = os.path.join(lib_dir, 'third_party') sys.path = [lib_dir, third_party_dir] + sys.path # When python is not invoked with the -S option, it can preload google module # via .pth file setting its __path__. After this happens, our vendored google # package may not in the __path__. After our vendored dependency directory is # put at the first place in the sys.path, google module should be reloaded, # so that our vendored copy can be preferred. if 'google' in sys.modules: import google # pylint: disable=g-import-not-at-top try: reload(google) except NameError: import importlib # pylint: disable=g-import-not-at-top importlib.reload(google) # pylint: disable=g-import-not-at-top from googlecloudsdk.core.util import platforms # Add more methods to this list for universal checks that need to be performed def DoAllRequiredChecks(): if not platforms.PythonVersion().IsCompatible(): sys.exit(1) DoAllRequiredChecks()