Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
requests /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
adapters.py
20.84
KB
-rw-r--r--
api.py
6.34
KB
-rw-r--r--
auth.py
9.97
KB
-rw-r--r--
certs.py
453
B
-rw-r--r--
compat.py
1.74
KB
-rw-r--r--
cookies.py
18
KB
-rw-r--r--
exceptions.py
3.09
KB
-rw-r--r--
help.py
3.43
KB
-rw-r--r--
hooks.py
757
B
-rw-r--r--
__init__.py
4.04
KB
-rw-r--r--
_internal_utils.py
1.07
KB
-rw-r--r--
models.py
33.5
KB
-rw-r--r--
packages.py
542
B
-rw-r--r--
sessions.py
29.62
KB
-rw-r--r--
status_codes.py
4.09
KB
-rw-r--r--
structures.py
2.93
KB
-rw-r--r--
utils.py
29.55
KB
-rw-r--r--
__version__.py
441
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : hooks.py
# -*- coding: utf-8 -*- """ requests.hooks ~~~~~~~~~~~~~~ This module provides the capabilities for the Requests hooks system. Available hooks: ``response``: The response generated from a Request. """ HOOKS = ['response'] def default_hooks(): return {event: [] for event in HOOKS} # TODO: response is the only one def dispatch_hook(key, hooks, hook_data, **kwargs): """Dispatches a hook dictionary on a given piece of data.""" hooks = hooks or {} hooks = hooks.get(key) if hooks: if hasattr(hooks, '__call__'): hooks = [hooks] for hook in hooks: _hook_data = hook(hook_data, **kwargs) if _hook_data is not None: hook_data = _hook_data return hook_data
Close