�&ǐk�@'bJ�h�ۊL'}T� :��'2�Z#$��n�a��� �>a��`��_3d�Qpt�/�P -��#5�,�M��� �pA:©�q�����NW��ډ�A���� �9nʺج���� �TSM��{J6?7��r�@�\����D��� �׶���s�f�TJj?"��D��`?��̒� b�#�%�C*v�$�{�$����5Ծ�F�s��y�e/8��h-�f�̰&(����Gj�L:U� 2�� ����v�_k����Y��gp,�k�WF�R������_C�R��N@���R�@�ߔ?A�w9���F("iNa-S���Q�o�3tDMLh*�#4k�T/iQ��Y*�G��m����)��8�hBm/�I�,g�ﯖ���Z��}�Cz�q@´��d.����L�ŕ�,��1�Z�܌�: ̪���F+J-'��c�tvJ8��]Q-��b��y �6;*J`r_�d ��'�G ~p��)'�C,�%F��E(��2�k�����lР�z�!�=t ��_�0��f7��� ;�p�|�U �%&2 exit 1 fi trap "rm -f ${LOCKFILE}; exit" INT TERM EXIT echo $$ > ${LOCKFILE} chmod 600 ${LOCKFILE} if [ ! -e /usr/share/i360-php-opts/phpimunity.compiled.rules ]; then mkdir /usr/share/i360-php-opts/phpimunity.compiled.rules chmod 755 /usr/share/i360-php-opts/phpimunity.compiled.rules fi if [ -e /usr/share/i360-php-opts/phpimunity.compiled.rules ]; then if [ -z "$1" -o ! -e "$1" ]; then echo "Can't find $1 file" 1>&2 rm -f ${LOCKFILE} exit 1 fi # TODO: move to i360 agent find /var/imunify360/files/php-immunity/ -name "suspicious_files_list.89100" -exec cp {} /usr/share/i360-php-opts/phpimunity.compiled.rules \; pushd /usr/share/i360-php-opts/phpimunity.compiled.rules &>/dev/null rm -f /usr/share/i360-php-opts/phpimunity.compiled.rules/*.slist rm -f /usr/share/i360-php-opts/phpimunity.compiled.rules/*.srule i360-storage.immunity mksbins "$1" popd &>/dev/null rm -f ${LOCKFILE} exit 0 fi echo "Can't find /usr/share/i360-php-opts/phpimunity.compiled.rules directory" 1>&2 rm -f ${LOCKFILE} exit 1