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.10
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 : unix_eventqueue.py
# Copyright 2000-2008 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. # Bah, this would be easier to test if curses/terminfo didn't have so # much non-introspectable global state. from pyrepl import keymap from pyrepl.console import Event from pyrepl import curses from termios import tcgetattr, VERASE import os _keynames = { "delete" : "kdch1", "down" : "kcud1", "end" : "kend", "enter" : "kent", "f1" : "kf1", "f2" : "kf2", "f3" : "kf3", "f4" : "kf4", "f5" : "kf5", "f6" : "kf6", "f7" : "kf7", "f8" : "kf8", "f9" : "kf9", "f10" : "kf10", "f11" : "kf11", "f12" : "kf12", "f13" : "kf13", "f14" : "kf14", "f15" : "kf15", "f16" : "kf16", "f17" : "kf17", "f18" : "kf18", "f19" : "kf19", "f20" : "kf20", "home" : "khome", "insert" : "kich1", "left" : "kcub1", "page down" : "knp", "page up" : "kpp", "right" : "kcuf1", "up" : "kcuu1", } class EventQueue(object): def __init__(self, fd): our_keycodes = {} for key, tiname in _keynames.items(): keycode = curses.tigetstr(tiname) if keycode: our_keycodes[keycode] = unicode(key) if os.isatty(fd): our_keycodes[tcgetattr(fd)[6][VERASE]] = u'backspace' self.k = self.ck = keymap.compile_keymap(our_keycodes) self.events = [] self.buf = [] def get(self): if self.events: return self.events.pop(0) else: return None def empty(self): return not self.events def insert(self, event): self.events.append(event) def push(self, char): if char in self.k: k = self.k[char] if isinstance(k, dict): self.buf.append(char) self.k = k else: self.events.append(Event('key', k, ''.join(self.buf) + char)) self.buf = [] self.k = self.ck elif self.buf: self.events.extend([Event('key', c, c) for c in self.buf]) self.buf = [] self.k = self.ck self.push(char) else: self.events.append(Event('key', char, char))
Close