⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
twisted
/
internet
/
test
/
View File Name :
process_cli.py
import os import sys try: # On Windows, stdout is not opened in binary mode by default, # so newline characters are munged on writing, interfering with # the tests. import msvcrt msvcrt.setmode( # type:ignore[attr-defined] sys.stdout.fileno(), os.O_BINARY ) except ImportError: pass # Loop over each of the arguments given and print it to stdout for arg in sys.argv[1:]: res = arg + chr(0) sys.stdout.buffer.write(res.encode(sys.getfilesystemencoding(), "surrogateescape")) sys.stdout.flush()