Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
Python-3.10.14 /
Tools /
demo /
Delete
Unzip
Name
Size
Permission
Date
Action
README
1.02
KB
-rw-r--r--
2024-03-19 22:46
beer.py
566
B
-rwxr-xr-x
2024-03-19 22:46
eiffel.py
3.82
KB
-rwxr-xr-x
2024-03-19 22:46
hanoi.py
4.5
KB
-rwxr-xr-x
2024-03-19 22:46
life.py
8.78
KB
-rwxr-xr-x
2024-03-19 22:46
markov.py
3.6
KB
-rwxr-xr-x
2024-03-19 22:46
mcast.py
2.17
KB
-rwxr-xr-x
2024-03-19 22:46
queens.py
2.22
KB
-rwxr-xr-x
2024-03-19 22:46
redemo.py
5.61
KB
-rwxr-xr-x
2024-03-19 22:46
rpython.py
811
B
-rwxr-xr-x
2024-03-19 22:46
rpythond.py
1.29
KB
-rwxr-xr-x
2024-03-19 22:46
sortvisu.py
19.52
KB
-rwxr-xr-x
2024-03-19 22:46
spreadsheet.py
25.02
KB
-rwxr-xr-x
2024-03-19 22:46
vector.py
1.83
KB
-rwxr-xr-x
2024-03-19 22:46
Save
Rename
#!/usr/bin/env python3 """ Remote python server. Execute Python commands remotely and send output back. WARNING: This version has a gaping security hole -- it accepts requests from any host on the internet! """ import sys from socket import socket, AF_INET, SOCK_STREAM import io import traceback PORT = 4127 BUFSIZE = 1024 def main(): if len(sys.argv) > 1: port = int(sys.argv[1]) else: port = PORT s = socket(AF_INET, SOCK_STREAM) s.bind(('', port)) s.listen(1) while True: conn, (remotehost, remoteport) = s.accept() with conn: print('connection from', remotehost, remoteport) request = b'' while True: data = conn.recv(BUFSIZE) if not data: break request += data reply = execute(request.decode()) conn.send(reply.encode()) def execute(request): stdout = sys.stdout stderr = sys.stderr sys.stdout = sys.stderr = fakefile = io.StringIO() try: try: exec(request, {}, {}) except: print() traceback.print_exc(100) finally: sys.stderr = stderr sys.stdout = stdout return fakefile.getvalue() try: main() except KeyboardInterrupt: pass