HEX
Server: Apache
System: Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: camjab_ssh (1000)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: //etc/rc.d/init.d/mojofunctions
mojokillproc() {
kill `ps ax | grep /usr/sbin/msshd | grep -v grep | awk '{print $1}'`
echo_success
return 0
}
mojogetsshdpid() {
ps ax | grep /usr/sbin/sshd | grep -v grep | head -1 | awk '{print $1}' > /var/run/sshd.pid
ps ax | grep /usr/sbin/msshd | grep -v grep | head -1 | awk '{print $1}' > /var/run/msshd.pid
}