Linux biogene 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache
: 46.101.124.208 | : 3.144.94.139
Cant Read [ /etc/named.conf ]
5.6.40-0+deb8u12
www-data
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 /
lib /
python2.7 /
dist-packages /
xdg /
[ HOME SHELL ]
Name
Size
Permission
Action
BaseDirectory.py
5.62
KB
-rw-r--r--
BaseDirectory.pyc
6.06
KB
-rw-r--r--
Config.py
728
B
-rw-r--r--
Config.pyc
1.6
KB
-rw-r--r--
DesktopEntry.py
16.41
KB
-rw-r--r--
DesktopEntry.pyc
20.06
KB
-rw-r--r--
Exceptions.py
1.49
KB
-rw-r--r--
Exceptions.pyc
3.75
KB
-rw-r--r--
IconTheme.py
15.32
KB
-rw-r--r--
IconTheme.pyc
15.48
KB
-rw-r--r--
IniFile.py
13.18
KB
-rw-r--r--
IniFile.pyc
12.01
KB
-rw-r--r--
Locale.py
2.11
KB
-rw-r--r--
Locale.pyc
2.04
KB
-rw-r--r--
Menu.py
38.14
KB
-rw-r--r--
Menu.pyc
35.79
KB
-rw-r--r--
MenuEditor.py
17.97
KB
-rw-r--r--
MenuEditor.pyc
16.91
KB
-rw-r--r--
Mime.py
15.64
KB
-rw-r--r--
Mime.pyc
16.52
KB
-rw-r--r--
RecentFiles.py
5.99
KB
-rw-r--r--
RecentFiles.pyc
6.75
KB
-rw-r--r--
__init__.py
171
B
-rw-r--r--
__init__.pyc
366
B
-rw-r--r--
util.py
164
B
-rw-r--r--
util.pyc
526
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Locale.py
""" Helper Module for Locale settings This module is based on a ROX module (LGPL): http://cvs.sourceforge.net/viewcvs.py/rox/ROX-Lib2/python/rox/i18n.py?rev=1.3&view=log """ import os from locale import normalize regex = "(\[([a-zA-Z]+)(_[a-zA-Z]+)?(\.[a-zA-Z\-0-9]+)?(@[a-zA-Z]+)?\])?" def _expand_lang(locale): locale = normalize(locale) COMPONENT_CODESET = 1 << 0 COMPONENT_MODIFIER = 1 << 1 COMPONENT_TERRITORY = 1 << 2 # split up the locale into its base components mask = 0 pos = locale.find('@') if pos >= 0: modifier = locale[pos:] locale = locale[:pos] mask |= COMPONENT_MODIFIER else: modifier = '' pos = locale.find('.') codeset = '' if pos >= 0: locale = locale[:pos] pos = locale.find('_') if pos >= 0: territory = locale[pos:] locale = locale[:pos] mask |= COMPONENT_TERRITORY else: territory = '' language = locale ret = [] for i in range(mask+1): if not (i & ~mask): # if all components for this combo exist ... val = language if i & COMPONENT_TERRITORY: val += territory if i & COMPONENT_CODESET: val += codeset if i & COMPONENT_MODIFIER: val += modifier ret.append(val) ret.reverse() return ret def expand_languages(languages=None): # Get some reasonable defaults for arguments that were not supplied if languages is None: languages = [] for envar in ('LANGUAGE', 'LC_ALL', 'LC_MESSAGES', 'LANG'): val = os.environ.get(envar) if val: languages = val.split(':') break #if 'C' not in languages: # languages.append('C') # now normalize and expand the languages nelangs = [] for lang in languages: for nelang in _expand_lang(lang): if nelang not in nelangs: nelangs.append(nelang) return nelangs def update(language=None): global langs if language: langs = expand_languages([language]) else: langs = expand_languages() langs = [] update()
Close