Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
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 /
python3 /
dist-packages /
numpy /
distutils /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
checks
[ DIR ]
drwxr-xr-x
command
[ DIR ]
drwxr-xr-x
fcompiler
[ DIR ]
drwxr-xr-x
mingw
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
__config__.py
3.99
KB
-rw-r--r--
__init__.py
1.52
KB
-rw-r--r--
__init__.pyi
119
B
-rw-r--r--
_shell_utils.py
2.55
KB
-rw-r--r--
ccompiler.py
26.91
KB
-rw-r--r--
ccompiler_opt.py
94.54
KB
-rw-r--r--
conv_template.py
9.31
KB
-rw-r--r--
core.py
7.97
KB
-rw-r--r--
cpuinfo.py
22.13
KB
-rw-r--r--
exec_command.py
10.11
KB
-rw-r--r--
extension.py
3.28
KB
-rw-r--r--
from_template.py
7.73
KB
-rw-r--r--
intelccompiler.py
4.13
KB
-rw-r--r--
lib2def.py
3.56
KB
-rw-r--r--
line_endings.py
1.98
KB
-rw-r--r--
log.py
2.5
KB
-rw-r--r--
mingw32ccompiler.py
24.82
KB
-rw-r--r--
misc_util.py
85.18
KB
-rw-r--r--
msvc9compiler.py
2.14
KB
-rw-r--r--
msvccompiler.py
1.88
KB
-rw-r--r--
npy_pkg_config.py
12.67
KB
-rw-r--r--
numpy_distribution.py
634
B
-rw-r--r--
pathccompiler.py
713
B
-rw-r--r--
setup.py
634
B
-rw-r--r--
system_info.py
107.05
KB
-rw-r--r--
unixccompiler.py
5.27
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : line_endings.py
""" Functions for converting from DOS to UNIX line endings """ import os import re import sys def dos2unix(file): "Replace CRLF with LF in argument files. Print names of changed files." if os.path.isdir(file): print(file, "Directory!") return with open(file, "rb") as fp: data = fp.read() if '\0' in data: print(file, "Binary!") return newdata = re.sub("\r\n", "\n", data) if newdata != data: print('dos2unix:', file) with open(file, "wb") as f: f.write(newdata) return file else: print(file, 'ok') def dos2unix_one_dir(modified_files, dir_name, file_names): for file in file_names: full_path = os.path.join(dir_name, file) file = dos2unix(full_path) if file is not None: modified_files.append(file) def dos2unix_dir(dir_name): modified_files = [] os.path.walk(dir_name, dos2unix_one_dir, modified_files) return modified_files #---------------------------------- def unix2dos(file): "Replace LF with CRLF in argument files. Print names of changed files." if os.path.isdir(file): print(file, "Directory!") return with open(file, "rb") as fp: data = fp.read() if '\0' in data: print(file, "Binary!") return newdata = re.sub("\r\n", "\n", data) newdata = re.sub("\n", "\r\n", newdata) if newdata != data: print('unix2dos:', file) with open(file, "wb") as f: f.write(newdata) return file else: print(file, 'ok') def unix2dos_one_dir(modified_files, dir_name, file_names): for file in file_names: full_path = os.path.join(dir_name, file) unix2dos(full_path) if file is not None: modified_files.append(file) def unix2dos_dir(dir_name): modified_files = [] os.path.walk(dir_name, unix2dos_one_dir, modified_files) return modified_files if __name__ == "__main__": dos2unix_dir(sys.argv[1])
Close