Linux eyewebsolution.dnshostserver.in 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
Apache
: 185.131.55.234 | : 216.73.216.138
676 Domain
5.6.40
omxrelocation
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
/
opt /
imunify360 /
venv /
bin /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
Activate.ps1
8.82
KB
-rw-r--r--
activate
1.69
KB
-rw-r--r--
activate.csh
958
B
-rw-r--r--
activate.fish
2.18
KB
-rw-r--r--
distro
264
B
-rwxr-xr-x
docutils
275
B
-rwxr-xr-x
imunify360-command-wrapper
8.4
KB
-rwxr-xr-x
imunify360_pam.py
37.06
KB
-rwxr-xr-x
jsonschema
272
B
-rwxr-xr-x
normalizer
303
B
-rwxr-xr-x
pam_pureftpd_hook.py
2.15
KB
-rwxr-xr-x
pip
280
B
-rwxr-xr-x
pip3
280
B
-rwxr-xr-x
pip3.11
280
B
-rwxr-xr-x
pw-migrate
274
B
-rwxr-xr-x
pw_migrate
274
B
-rwxr-xr-x
pwiz.py
8.06
KB
-rwxr-xr-x
pybabel
281
B
-rwxr-xr-x
python
6.98
KB
-rwxr-xr-x
python3
6.98
KB
-rwxr-xr-x
python3.11
6.98
KB
-rwxr-xr-x
rst2html.py
661
B
-rwxr-xr-x
rst2html4.py
783
B
-rwxr-xr-x
rst2html5.py
1.09
KB
-rwxr-xr-x
rst2latex.py
860
B
-rwxr-xr-x
rst2man.py
683
B
-rwxr-xr-x
rst2odt.py
849
B
-rwxr-xr-x
rst2odt_prepstyles.py
655
B
-rwxr-xr-x
rst2pseudoxml.py
668
B
-rwxr-xr-x
rst2s5.py
704
B
-rwxr-xr-x
rst2xetex.py
940
B
-rwxr-xr-x
rst2xml.py
669
B
-rwxr-xr-x
rstpep2html.py
737
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : pam_pureftpd_hook.py
#!/opt/imunify360/venv/bin/python3 import argparse import os import re import subprocess from pam_i360.internals import logger_init PUREFTPD_CONFIG = "/etc/pure-ftpd.conf" CPANEL_CONFIG = "/var/cpanel/cpanel.config" IMUNIFY360_CONFIG = "/etc/sysconfig/imunify360/imunify360-merged.config" logger = logger_init() def is_pureftpd_enabled(): if not os.path.isfile(IMUNIFY360_CONFIG): return False ftp_protection = re.compile( rb"^(?!#).*ftp_protection:[^\S\r\n]*true", re.MULTILINE ) return ftp_protection.search( open(IMUNIFY360_CONFIG, "rb").read()) is not None def is_imunify360_pam_pureftpd_enabled(): imunify360_sock = re.compile( rb"^(?!#).*\/var\/run\/ftpd.imunify360.sock", re.MULTILINE ) return imunify360_sock.search( open(PUREFTPD_CONFIG, "rb").read()) is not None def enable_pureftpd(no_restart=False, timeout=60): cmd = [ "/usr/sbin/imunify360-pam", "enable-pureftpd", ] if no_restart: cmd.append("--no-restart-pureftpd") try: return subprocess.run(cmd, timeout=timeout, check=True) except subprocess.TimeoutExpired as e: return subprocess.CompletedProcess( e.cmd, returncode=None, stdout=e.stdout, stderr=e.stderr ) def main(): parser = argparse.ArgumentParser() parser.add_argument( "-n", "--no-restart", dest="norestart", action="store_true", help="Don't restart pureftpd", ) args = parser.parse_args() no_restart = args.norestart with open(CPANEL_CONFIG, "r") as cpcfg: data = cpcfg.read() if not "ftpserver=pure-ftpd" in data: return if not os.path.isfile(PUREFTPD_CONFIG): return imunify360_pam_pureftpd_enabled = is_imunify360_pam_pureftpd_enabled() pureftpd_enabled = is_pureftpd_enabled() if pureftpd_enabled and not imunify360_pam_pureftpd_enabled: enable_pureftpd(no_restart, timeout=60) if __name__ == "__main__": try: main() except Exception as e: logger.error("failed to check and enable pure-ftpd: %s", e)
Close