Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
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 /
keyrings /
alt /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2025-04-10 17:07
Gnome.py
4.32
KB
-rw-r--r--
2016-12-13 23:46
Google.py
12.07
KB
-rw-r--r--
2016-12-13 23:46
Windows.py
5.7
KB
-rw-r--r--
2016-12-13 23:46
__init__.py
0
B
-rw-r--r--
2016-12-13 23:46
_win_crypto.py
3.4
KB
-rw-r--r--
2016-12-13 23:46
file.py
5.39
KB
-rw-r--r--
2016-12-13 23:46
file_base.py
4.49
KB
-rw-r--r--
2016-12-13 23:46
keyczar.py
2.88
KB
-rw-r--r--
2016-12-13 23:46
kwallet.py
3.81
KB
-rw-r--r--
2016-12-13 23:46
multi.py
2.14
KB
-rw-r--r--
2016-12-13 23:46
pyfs.py
9.63
KB
-rw-r--r--
2016-12-13 23:46
Save
Rename
import itertools from keyring.util import properties from keyring.backend import KeyringBackend from keyring import errors class MultipartKeyringWrapper(KeyringBackend): """A wrapper around an existing keyring that breaks the password into smaller parts to handle implementations that have limits on the maximum length of passwords i.e. Windows Vault """ def __init__(self, keyring, max_password_size=512): self._keyring = keyring self._max_password_size = max_password_size @properties.ClassProperty @classmethod def priority(cls): return 0 def get_password(self, service, username): """Get password of the username for the service """ init_part = self._keyring.get_password(service, username) if init_part: parts = [init_part,] i = 1 while True: next_part = self._keyring.get_password( service, '%s{{part_%d}}' %(username, i)) if next_part: parts.append(next_part) i += 1 else: break return ''.join(parts) return None def set_password(self, service, username, password): """Set password for the username of the service """ segments = range(0, len(password), self._max_password_size) password_parts = [ password[i:i + self._max_password_size] for i in segments] for i, password_part in enumerate(password_parts): curr_username = username if i > 0: curr_username += '{{part_%d}}' %i self._keyring.set_password(service, curr_username, password_part) def delete_password(self, service, username): self._keyring.delete_password(service, username) count = itertools.count(1) while True: part_name = '%(username)s{{part_%(index)d}}' % dict( index = next(count), **vars()) try: self._keyring.delete_password(service, part_name) except errors.PasswordDeleteError: break