Server IP : 184.154.167.98 / Your IP : 18.226.187.232 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /bin/ |
Upload File : |
#!/bin/bash DATABASE_SRC_DIR=/var/imunify360/files/php-immunity/v2 DATABASE_DST_DIR=/usr/share/i360-php-opts DATABASE_SRC_HDB=${DATABASE_SRC_DIR}/pd_v1.hdb DATABASE_SRC_CSV=${DATABASE_SRC_DIR}/ai_black.csv DATABASE_DST_HDB=${DATABASE_DST_DIR}/pd_v1.hdb DATABASE_DST_CSV=${DATABASE_DST_DIR}/ai_black.csv if [ -e ${DATABASE_DST_DIR} -a -e ${DATABASE_SRC_HDB} ]; then if [ -e ${DATABASE_DST_HDB} ]; then cp -f ${DATABASE_SRC_HDB} ${DATABASE_DST_HDB}.prep /usr/bin/i360-renameat2 --exchange ${DATABASE_DST_HDB}.prep ${DATABASE_DST_HDB} chmod 644 ${DATABASE_DST_HDB} rm -f ${DATABASE_DST_HDB}.prep else cp ${DATABASE_SRC_HDB} ${DATABASE_DST_HDB} chmod 644 ${DATABASE_DST_HDB} fi fi if [ -e ${DATABASE_DST_DIR} -a -e ${DATABASE_SRC_CSV} ]; then cp -f ${DATABASE_SRC_CSV} ${DATABASE_DST_CSV} chmod 644 ${DATABASE_DST_CSV} fi