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 /
pypy /
lib_pypy /
pyrepl /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
__init__.py
925
B
-rw-r--r--
cmdrepl.py
4
KB
-rw-r--r--
commands.py
9.83
KB
-rw-r--r--
completer.py
2.91
KB
-rw-r--r--
completing_reader.py
9.23
KB
-rw-r--r--
console.py
2.5
KB
-rw-r--r--
copy_code.py
2.75
KB
-rw-r--r--
curses.py
1.6
KB
-rw-r--r--
fancy_termios.py
1.82
KB
-rw-r--r--
historical_reader.py
10.07
KB
-rw-r--r--
input.py
3.47
KB
-rw-r--r--
keymap.py
5.96
KB
-rw-r--r--
keymaps.py
4.3
KB
-rw-r--r--
module_lister.py
2.18
KB
-rw-r--r--
pygame_console.py
11.7
KB
-rw-r--r--
pygame_keymap.py
7.59
KB
-rw-r--r--
python_reader.py
13.86
KB
-rw-r--r--
reader.py
20.38
KB
-rw-r--r--
readline.py
16.48
KB
-rw-r--r--
simple_interact.py
2.94
KB
-rw-r--r--
unicodedata_.py
3.31
KB
-rw-r--r--
unix_console.py
19.17
KB
-rw-r--r--
unix_eventqueue.py
3.01
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : simple_interact.py
# Copyright 2000-2010 Michael Hudson-Doyle <micahel@gmail.com> # Armin Rigo # # All Rights Reserved # # # Permission to use, copy, modify, and distribute this software and # its documentation for any purpose is hereby granted without fee, # provided that the above copyright notice appear in all copies and # that both that copyright notice and this permission notice appear in # supporting documentation. # # THE AUTHOR MICHAEL HUDSON DISCLAIMS ALL WARRANTIES WITH REGARD TO # THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY # AND FITNESS, IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, # INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER # RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF # CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. """This is an alternative to python_reader which tries to emulate the CPython prompt as closely as possible, with the exception of allowing multiline input and multiline history entries. """ import sys from pyrepl.readline import multiline_input, _error, _get_reader def check(): # returns False if there is a problem initializing the state try: _get_reader() except _error: return False return True def _strip_final_indent(text): # kill spaces and tabs at the end, but only if they follow '\n'. # meant to remove the auto-indentation only (although it would of # course also remove explicitly-added indentation). short = text.rstrip(' \t') n = len(short) if n > 0 and text[n-1] == '\n': return short return text def run_multiline_interactive_console(mainmodule=None, future_flags=0): import code if mainmodule is None: import __main__ as mainmodule console = code.InteractiveConsole(mainmodule.__dict__, filename='<stdin>') if future_flags: console.compile.compiler.flags |= future_flags def more_lines(unicodetext): # ooh, look at the hack: src = "#coding:utf-8\n"+_strip_final_indent(unicodetext).encode('utf-8') try: code = console.compile(src, '<stdin>', 'single') except (OverflowError, SyntaxError, ValueError): return False else: return code is None while 1: try: ps1 = getattr(sys, 'ps1', '>>> ') ps2 = getattr(sys, 'ps2', '... ') try: statement = multiline_input(more_lines, ps1, ps2, returns_unicode=True) except EOFError: break more = console.push(_strip_final_indent(statement)) assert not more except KeyboardInterrupt: console.write("\nKeyboardInterrupt\n") console.resetbuffer() except MemoryError: console.write("\nMemoryError\n") console.resetbuffer()
Close