Linux cyberpanel 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
LiteSpeed
: 160.191.175.3 | : 216.73.216.114
Cant Read [ /etc/named.conf ]
8.2.29
aodai6801
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
local /
CyberCP /
lib /
python3.10 /
site-packages /
[ HOME SHELL ]
Name
Size
Permission
Action
CloudFlare
[ DIR ]
drwxr-xr-x
DNS
[ DIR ]
drwxr-xr-x
Django-4.2.14.dist-info
[ DIR ]
drwxr-xr-x
MySQLdb
[ DIR ]
drwxr-xr-x
OpenSSL
[ DIR ]
drwxr-xr-x
PyJWT-2.10.1.dist-info
[ DIR ]
drwxr-xr-x
PyYAML-6.0.1.dist-info
[ DIR ]
drwxr-xr-x
__pycache__
[ DIR ]
drwxr-xr-x
_distutils_hack
[ DIR ]
drwxr-xr-x
_yaml
[ DIR ]
drwxr-xr-x
annotated_types
[ DIR ]
drwxr-xr-x
annotated_types-0.7.0.dist-inf...
[ DIR ]
drwxr-xr-x
anyio
[ DIR ]
drwxr-xr-x
anyio-4.11.0.dist-info
[ DIR ]
drwxr-xr-x
apiclient
[ DIR ]
drwxr-xr-x
asgiref
[ DIR ]
drwxr-xr-x
asgiref-3.9.2.dist-info
[ DIR ]
drwxr-xr-x
asyncssh
[ DIR ]
drwxr-xr-x
asyncssh-2.21.0.dist-info
[ DIR ]
drwxr-xr-x
attr
[ DIR ]
drwxr-xr-x
attrs
[ DIR ]
drwxr-xr-x
attrs-25.3.0.dist-info
[ DIR ]
drwxr-xr-x
bcrypt
[ DIR ]
drwxr-xr-x
bcrypt-4.2.0.dist-info
[ DIR ]
drwxr-xr-x
beautifulsoup4-4.12.3.dist-inf...
[ DIR ]
drwxr-xr-x
boto3
[ DIR ]
drwxr-xr-x
boto3-1.34.153.dist-info
[ DIR ]
drwxr-xr-x
botocore
[ DIR ]
drwxr-xr-x
botocore-1.34.153.dist-info
[ DIR ]
drwxr-xr-x
bs4
[ DIR ]
drwxr-xr-x
cachetools
[ DIR ]
drwxr-xr-x
cachetools-5.5.2.dist-info
[ DIR ]
drwxr-xr-x
certifi
[ DIR ]
drwxr-xr-x
certifi-2025.8.3.dist-info
[ DIR ]
drwxr-xr-x
cffi
[ DIR ]
drwxr-xr-x
cffi-2.0.0.dist-info
[ DIR ]
drwxr-xr-x
charset_normalizer
[ DIR ]
drwxr-xr-x
charset_normalizer-3.4.3.dist-...
[ DIR ]
drwxr-xr-x
cli4
[ DIR ]
drwxr-xr-x
click
[ DIR ]
drwxr-xr-x
click-8.3.0.dist-info
[ DIR ]
drwxr-xr-x
cloudflare-2.20.0.egg-info
[ DIR ]
drwxr-xr-x
cryptography
[ DIR ]
drwxr-xr-x
cryptography-43.0.0.dist-info
[ DIR ]
drwxr-xr-x
dateutil
[ DIR ]
drwxr-xr-x
django
[ DIR ]
drwxr-xr-x
docker
[ DIR ]
drwxr-xr-x
docker-7.1.0.dist-info
[ DIR ]
drwxr-xr-x
docs
[ DIR ]
drwxr-xr-x
dotenv
[ DIR ]
drwxr-xr-x
ecdsa
[ DIR ]
drwxr-xr-x
ecdsa-0.19.1.dist-info
[ DIR ]
drwxr-xr-x
examples
[ DIR ]
drwxr-xr-x
exceptiongroup
[ DIR ]
drwxr-xr-x
exceptiongroup-1.3.0.dist-info
[ DIR ]
drwxr-xr-x
fastapi
[ DIR ]
drwxr-xr-x
fastapi-0.115.12.dist-info
[ DIR ]
drwxr-xr-x
filelock
[ DIR ]
drwxr-xr-x
filelock-3.19.1.dist-info
[ DIR ]
drwxr-xr-x
google
[ DIR ]
drwxr-xr-x
google_api_core-2.19.1.dist-in...
[ DIR ]
drwxr-xr-x
google_api_python_client-2.139...
[ DIR ]
drwxr-xr-x
google_auth-2.32.0.dist-info
[ DIR ]
drwxr-xr-x
google_auth_httplib2-0.2.0.dis...
[ DIR ]
drwxr-xr-x
google_auth_oauthlib
[ DIR ]
drwxr-xr-x
google_auth_oauthlib-1.2.1.dis...
[ DIR ]
drwxr-xr-x
googleapiclient
[ DIR ]
drwxr-xr-x
googleapis_common_protos-1.63....
[ DIR ]
drwxr-xr-x
h11
[ DIR ]
drwxr-xr-x
h11-0.16.0.dist-info
[ DIR ]
drwxr-xr-x
httplib2
[ DIR ]
drwxr-xr-x
httplib2-0.31.0.dist-info
[ DIR ]
drwxr-xr-x
idna
[ DIR ]
drwxr-xr-x
idna-3.10.dist-info
[ DIR ]
drwxr-xr-x
ipaddress-1.0.23.dist-info
[ DIR ]
drwxr-xr-x
jmespath
[ DIR ]
drwxr-xr-x
jmespath-1.0.1.dist-info
[ DIR ]
drwxr-xr-x
jose
[ DIR ]
drwxr-xr-x
jsonlines
[ DIR ]
drwxr-xr-x
jsonlines-4.0.0.dist-info
[ DIR ]
drwxr-xr-x
jwt
[ DIR ]
drwxr-xr-x
mysqlclient-2.2.7.dist-info
[ DIR ]
drwxr-xr-x
nacl
[ DIR ]
drwxr-xr-x
oauthlib
[ DIR ]
drwxr-xr-x
oauthlib-3.2.2.dist-info
[ DIR ]
drwxr-xr-x
paramiko
[ DIR ]
drwxr-xr-x
paramiko-3.4.1.dist-info
[ DIR ]
drwxr-xr-x
pexpect
[ DIR ]
drwxr-xr-x
pexpect-4.9.0.dist-info
[ DIR ]
drwxr-xr-x
pip
[ DIR ]
drwxr-xr-x
pip-22.0.2.dist-info
[ DIR ]
drwxr-xr-x
pkg_resources
[ DIR ]
drwxr-xr-x
proto
[ DIR ]
drwxr-xr-x
proto_plus-1.26.1.dist-info
[ DIR ]
drwxr-xr-x
protobuf-5.29.5.dist-info
[ DIR ]
drwxr-xr-x
psutil
[ DIR ]
drwxr-xr-x
psutil-7.1.0.dist-info
[ DIR ]
drwxr-xr-x
ptyprocess
[ DIR ]
drwxr-xr-x
ptyprocess-0.7.0.dist-info
[ DIR ]
drwxr-xr-x
py3dns-4.0.2.dist-info
[ DIR ]
drwxr-xr-x
pyOpenSSL-24.2.1.dist-info
[ DIR ]
drwxr-xr-x
pyasn1
[ DIR ]
drwxr-xr-x
pyasn1-0.4.8.dist-info
[ DIR ]
drwxr-xr-x
pyasn1_modules
[ DIR ]
drwxr-xr-x
pyasn1_modules-0.4.1.dist-info
[ DIR ]
drwxr-xr-x
pycparser
[ DIR ]
drwxr-xr-x
pycparser-2.23.dist-info
[ DIR ]
drwxr-xr-x
pydantic
[ DIR ]
drwxr-xr-x
pydantic-2.11.9.dist-info
[ DIR ]
drwxr-xr-x
pydantic_core
[ DIR ]
drwxr-xr-x
pydantic_core-2.33.2.dist-info
[ DIR ]
drwxr-xr-x
pynacl-1.6.0.dist-info
[ DIR ]
drwxr-xr-x
pyotp
[ DIR ]
drwxr-xr-x
pyotp-2.9.0.dist-info
[ DIR ]
drwxr-xr-x
pyparsing
[ DIR ]
drwxr-xr-x
pyparsing-3.2.5.dist-info
[ DIR ]
drwxr-xr-x
python_dateutil-2.9.0.post0.di...
[ DIR ]
drwxr-xr-x
python_dotenv-1.0.0.dist-info
[ DIR ]
drwxr-xr-x
python_jose-3.4.0.dist-info
[ DIR ]
drwxr-xr-x
requests
[ DIR ]
drwxr-xr-x
requests-2.32.3.dist-info
[ DIR ]
drwxr-xr-x
requests_file-2.1.0.dist-info
[ DIR ]
drwxr-xr-x
requests_oauthlib
[ DIR ]
drwxr-xr-x
requests_oauthlib-2.0.0.dist-i...
[ DIR ]
drwxr-xr-x
rsa
[ DIR ]
drwxr-xr-x
rsa-4.9.1.dist-info
[ DIR ]
drwxr-xr-x
s3transfer
[ DIR ]
drwxr-xr-x
s3transfer-0.10.2.dist-info
[ DIR ]
drwxr-xr-x
scripts
[ DIR ]
drwxr-xr-x
setuptools
[ DIR ]
drwxr-xr-x
setuptools-59.6.0.dist-info
[ DIR ]
drwxr-xr-x
six-1.17.0.dist-info
[ DIR ]
drwxr-xr-x
sniffio
[ DIR ]
drwxr-xr-x
sniffio-1.3.1.dist-info
[ DIR ]
drwxr-xr-x
soupsieve
[ DIR ]
drwxr-xr-x
soupsieve-2.8.dist-info
[ DIR ]
drwxr-xr-x
sqlparse
[ DIR ]
drwxr-xr-x
sqlparse-0.5.1.dist-info
[ DIR ]
drwxr-xr-x
starlette
[ DIR ]
drwxr-xr-x
starlette-0.46.2.dist-info
[ DIR ]
drwxr-xr-x
tldextract
[ DIR ]
drwxr-xr-x
tldextract-5.1.2.dist-info
[ DIR ]
drwxr-xr-x
tornado
[ DIR ]
drwxr-xr-x
tornado-6.4.1.dist-info
[ DIR ]
drwxr-xr-x
typing_extensions-4.15.0.dist-...
[ DIR ]
drwxr-xr-x
typing_inspection
[ DIR ]
drwxr-xr-x
typing_inspection-0.4.2.dist-i...
[ DIR ]
drwxr-xr-x
uritemplate
[ DIR ]
drwxr-xr-x
uritemplate-4.2.0.dist-info
[ DIR ]
drwxr-xr-x
urllib3
[ DIR ]
drwxr-xr-x
urllib3-2.5.0.dist-info
[ DIR ]
drwxr-xr-x
uvicorn
[ DIR ]
drwxr-xr-x
uvicorn-0.34.2.dist-info
[ DIR ]
drwxr-xr-x
validators
[ DIR ]
drwxr-xr-x
validators-0.33.0.dist-info
[ DIR ]
drwxr-xr-x
websocket
[ DIR ]
drwxr-xr-x
websocket_client-1.8.0.dist-in...
[ DIR ]
drwxr-xr-x
websockets
[ DIR ]
drwxr-xr-x
websockets-15.0.1.dist-info
[ DIR ]
drwxr-xr-x
yaml
[ DIR ]
drwxr-xr-x
_cffi_backend.cpython-310-x86_...
331.93
KB
-rwxr-xr-x
distutils-precedence.pth
152
B
-rw-r--r--
google_auth_httplib2.py
9.97
KB
-rw-r--r--
ipaddress.py
78
KB
-rw-r--r--
requests_file.py
4.71
KB
-rw-r--r--
six.py
33.89
KB
-rw-r--r--
typing_extensions.py
156.67
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : google_auth_httplib2.py
# Copyright 2016 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Transport adapter for httplib2.""" from __future__ import absolute_import import http.client import logging from google.auth import exceptions from google.auth import transport import httplib2 _LOGGER = logging.getLogger(__name__) # Properties present in file-like streams / buffers. _STREAM_PROPERTIES = ("read", "seek", "tell") class _Response(transport.Response): """httplib2 transport response adapter. Args: response (httplib2.Response): The raw httplib2 response. data (bytes): The response body. """ def __init__(self, response, data): self._response = response self._data = data @property def status(self): """int: The HTTP status code.""" return self._response.status @property def headers(self): """Mapping[str, str]: The HTTP response headers.""" return dict(self._response) @property def data(self): """bytes: The response body.""" return self._data class Request(transport.Request): """httplib2 request adapter. This class is used internally for making requests using various transports in a consistent way. If you use :class:`AuthorizedHttp` you do not need to construct or use this class directly. This class can be useful if you want to manually refresh a :class:`~google.auth.credentials.Credentials` instance:: import google_auth_httplib2 import httplib2 http = httplib2.Http() request = google_auth_httplib2.Request(http) credentials.refresh(request) Args: http (httplib2.Http): The underlying http object to use to make requests. .. automethod:: __call__ """ def __init__(self, http): self.http = http def __call__( self, url, method="GET", body=None, headers=None, timeout=None, **kwargs ): """Make an HTTP request using httplib2. Args: url (str): The URI to be requested. method (str): The HTTP method to use for the request. Defaults to 'GET'. body (bytes): The payload / body in HTTP request. headers (Mapping[str, str]): Request headers. timeout (Optional[int]): The number of seconds to wait for a response from the server. This is ignored by httplib2 and will issue a warning. kwargs: Additional arguments passed throught to the underlying :meth:`httplib2.Http.request` method. Returns: google.auth.transport.Response: The HTTP response. Raises: google.auth.exceptions.TransportError: If any exception occurred. """ if timeout is not None: _LOGGER.warning( "httplib2 transport does not support per-request timeout. " "Set the timeout when constructing the httplib2.Http instance." ) try: _LOGGER.debug("Making request: %s %s", method, url) response, data = self.http.request( url, method=method, body=body, headers=headers, **kwargs ) return _Response(response, data) # httplib2 should catch the lower http error, this is a bug and # needs to be fixed there. Catch the error for the meanwhile. except (httplib2.HttpLib2Error, http.client.HTTPException) as exc: raise exceptions.TransportError(exc) def _make_default_http(): """Returns a default httplib2.Http instance.""" return httplib2.Http() class AuthorizedHttp(object): """A httplib2 HTTP class with credentials. This class is used to perform requests to API endpoints that require authorization:: from google.auth.transport._httplib2 import AuthorizedHttp authed_http = AuthorizedHttp(credentials) response = authed_http.request( 'https://www.googleapis.com/storage/v1/b') This class implements :meth:`request` in the same way as :class:`httplib2.Http` and can usually be used just like any other instance of :class:``httplib2.Http`. The underlying :meth:`request` implementation handles adding the credentials' headers to the request and refreshing credentials as needed. """ def __init__( self, credentials, http=None, refresh_status_codes=transport.DEFAULT_REFRESH_STATUS_CODES, max_refresh_attempts=transport.DEFAULT_MAX_REFRESH_ATTEMPTS, ): """ Args: credentials (google.auth.credentials.Credentials): The credentials to add to the request. http (httplib2.Http): The underlying HTTP object to use to make requests. If not specified, a :class:`httplib2.Http` instance will be constructed. refresh_status_codes (Sequence[int]): Which HTTP status codes indicate that credentials should be refreshed and the request should be retried. max_refresh_attempts (int): The maximum number of times to attempt to refresh the credentials and retry the request. """ if http is None: http = _make_default_http() self.http = http self.credentials = credentials self._refresh_status_codes = refresh_status_codes self._max_refresh_attempts = max_refresh_attempts # Request instance used by internal methods (for example, # credentials.refresh). self._request = Request(self.http) def close(self): """Calls httplib2's Http.close""" self.http.close() def request( self, uri, method="GET", body=None, headers=None, redirections=httplib2.DEFAULT_MAX_REDIRECTS, connection_type=None, **kwargs ): """Implementation of httplib2's Http.request.""" _credential_refresh_attempt = kwargs.pop("_credential_refresh_attempt", 0) # Make a copy of the headers. They will be modified by the credentials # and we want to pass the original headers if we recurse. request_headers = headers.copy() if headers is not None else {} self.credentials.before_request(self._request, method, uri, request_headers) # Check if the body is a file-like stream, and if so, save the body # stream position so that it can be restored in case of refresh. body_stream_position = None if all(getattr(body, stream_prop, None) for stream_prop in _STREAM_PROPERTIES): body_stream_position = body.tell() # Make the request. response, content = self.http.request( uri, method, body=body, headers=request_headers, redirections=redirections, connection_type=connection_type, **kwargs ) # If the response indicated that the credentials needed to be # refreshed, then refresh the credentials and re-attempt the # request. # A stored token may expire between the time it is retrieved and # the time the request is made, so we may need to try twice. if ( response.status in self._refresh_status_codes and _credential_refresh_attempt < self._max_refresh_attempts ): _LOGGER.info( "Refreshing credentials due to a %s response. Attempt %s/%s.", response.status, _credential_refresh_attempt + 1, self._max_refresh_attempts, ) self.credentials.refresh(self._request) # Restore the body's stream position if needed. if body_stream_position is not None: body.seek(body_stream_position) # Recurse. Pass in the original headers, not our modified set. return self.request( uri, method, body=body, headers=headers, redirections=redirections, connection_type=connection_type, _credential_refresh_attempt=_credential_refresh_attempt + 1, **kwargs ) return response, content def add_certificate(self, key, cert, domain, password=None): """Proxy to httplib2.Http.add_certificate.""" self.http.add_certificate(key, cert, domain, password=password) @property def connections(self): """Proxy to httplib2.Http.connections.""" return self.http.connections @connections.setter def connections(self, value): """Proxy to httplib2.Http.connections.""" self.http.connections = value @property def follow_redirects(self): """Proxy to httplib2.Http.follow_redirects.""" return self.http.follow_redirects @follow_redirects.setter def follow_redirects(self, value): """Proxy to httplib2.Http.follow_redirects.""" self.http.follow_redirects = value @property def timeout(self): """Proxy to httplib2.Http.timeout.""" return self.http.timeout @timeout.setter def timeout(self, value): """Proxy to httplib2.Http.timeout.""" self.http.timeout = value @property def redirect_codes(self): """Proxy to httplib2.Http.redirect_codes.""" return self.http.redirect_codes @redirect_codes.setter def redirect_codes(self, value): """Proxy to httplib2.Http.redirect_codes.""" self.http.redirect_codes = value
Close