Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.130
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
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 /
python3 /
dist-packages /
astroid /
brain /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
brain_argparse.py
1
KB
-rw-r--r--
brain_attrs.py
1.86
KB
-rw-r--r--
brain_builtin_inference.py
26.28
KB
-rw-r--r--
brain_collections.py
2.76
KB
-rw-r--r--
brain_curses.py
3.23
KB
-rw-r--r--
brain_dateutil.py
795
B
-rw-r--r--
brain_fstrings.py
2.07
KB
-rw-r--r--
brain_functools.py
6.16
KB
-rw-r--r--
brain_gi.py
6.65
KB
-rw-r--r--
brain_hashlib.py
2.11
KB
-rw-r--r--
brain_io.py
1.44
KB
-rw-r--r--
brain_mechanize.py
889
B
-rw-r--r--
brain_multiprocessing.py
3.04
KB
-rw-r--r--
brain_namedtuple_enum.py
13.7
KB
-rw-r--r--
brain_nose.py
2.16
KB
-rw-r--r--
brain_numpy.py
14.44
KB
-rw-r--r--
brain_pkg_resources.py
2.21
KB
-rw-r--r--
brain_pytest.py
2.33
KB
-rw-r--r--
brain_qt.py
2.38
KB
-rw-r--r--
brain_random.py
2.38
KB
-rw-r--r--
brain_re.py
1.1
KB
-rw-r--r--
brain_six.py
6
KB
-rw-r--r--
brain_ssl.py
3.47
KB
-rw-r--r--
brain_subprocess.py
3.55
KB
-rw-r--r--
brain_threading.py
767
B
-rw-r--r--
brain_typing.py
2.66
KB
-rw-r--r--
brain_uuid.py
564
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : brain_io.py
# Copyright (c) 2016 Claudiu Popa <pcmanticore@gmail.com> # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/COPYING.LESSER """Astroid brain hints for some of the _io C objects.""" import astroid BUFFERED = {"BufferedWriter", "BufferedReader"} TextIOWrapper = "TextIOWrapper" FileIO = "FileIO" BufferedWriter = "BufferedWriter" def _generic_io_transform(node, name, cls): """Transform the given name, by adding the given *class* as a member of the node.""" io_module = astroid.MANAGER.ast_from_module_name("_io") attribute_object = io_module[cls] instance = attribute_object.instantiate_class() node.locals[name] = [instance] def _transform_text_io_wrapper(node): # This is not always correct, since it can vary with the type of the descriptor, # being stdout, stderr or stdin. But we cannot get access to the name of the # stream, which is why we are using the BufferedWriter class as a default # value return _generic_io_transform(node, name="buffer", cls=BufferedWriter) def _transform_buffered(node): return _generic_io_transform(node, name="raw", cls=FileIO) astroid.MANAGER.register_transform( astroid.ClassDef, _transform_buffered, lambda node: node.name in BUFFERED ) astroid.MANAGER.register_transform( astroid.ClassDef, _transform_text_io_wrapper, lambda node: node.name == TextIOWrapper, )
Close