Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3 /
dist-packages /
jwt /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2017-08-31 08:13
contrib
[ DIR ]
drwxr-xr-x
2017-08-31 08:13
__init__.py
707
B
-rw-r--r--
2015-05-22 17:50
__main__.py
3.49
KB
-rw-r--r--
2015-05-22 17:50
algorithms.py
8.56
KB
-rw-r--r--
2017-08-29 20:41
api_jws.py
6.01
KB
-rw-r--r--
2015-05-22 17:50
api_jwt.py
6
KB
-rw-r--r--
2015-05-22 17:50
compat.py
1.17
KB
-rw-r--r--
2015-05-22 17:50
exceptions.py
643
B
-rw-r--r--
2015-04-26 20:00
utils.py
1.53
KB
-rw-r--r--
2015-05-22 17:50
Save
Rename
""" The `compat` module provides support for backwards compatibility with older versions of python, and compatibility wrappers around optional packages. """ # flake8: noqa import sys import hmac PY3 = sys.version_info[0] == 3 if PY3: string_types = str, text_type = str else: string_types = basestring, text_type = unicode def timedelta_total_seconds(delta): try: delta.total_seconds except AttributeError: # On Python 2.6, timedelta instances do not have # a .total_seconds() method. total_seconds = delta.days * 24 * 60 * 60 + delta.seconds else: total_seconds = delta.total_seconds() return total_seconds try: constant_time_compare = hmac.compare_digest except AttributeError: # Fallback for Python < 2.7 def constant_time_compare(val1, val2): """ Returns True if the two strings are equal, False otherwise. The time taken is independent of the number of characters that match. """ if len(val1) != len(val2): return False result = 0 for x, y in zip(val1, val2): result |= ord(x) ^ ord(y) return result == 0