dapurhosting.com Blog for Tech

May 1, 2018

Disable Product Recommend Virtuemart Joomla

Filed under: CMS — Tags: , , — dh @ 6:26 am

Edit administrator/components/com_virtuemart/html/shop.recommend.php

Di bawah code
if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );

Tambahkan kode baru:

header('Location: http://google.com/');
exit;

November 21, 2013

wordpressslog@yandex.com

Filed under: Email,Securtiy,Worpress — Tags: — dh @ 5:37 am

Cara menemukan script atau plugins wordpress yang mengirim email ke wordpressslog@yandex.com

cd /home/usercp/public_html/wp-content/plugins/
grep -H -r "d29yZHByZXNzc2xvZ0B5YW5kZXguY29t"  /home/usercp/public_html/wp-content/plugins/

d29yZHByZXNzc2xvZ0B5YW5kZXguY29t adalah encoding base64 untuk wordpressslog@yandex.com

referensi: http://wordpress.org/support/topic/rogue-emails-to-wordpressslogyandexcom?replies=4#post-4409743

December 13, 2011

Disable WordPress Spam Comment

Filed under: CMS — Tags: , — dh @ 5:15 am

UPDATE `wp_posts` SET `comment_status` = 'closed', `ping_status` = 'closed';
UPDATE `wp_options` SET `option_value` = 'closed' WHERE `option_name` = 'default_comment_status';
UPDATE `wp_options` SET `option_value` = 'closed' WHERE `option_name` = 'default_ping_status';
UPDATE `wp_options` SET `option_value` = '0' WHERE `option_name` = 'users_can_register';

RENAME TABLE wp_comments To wp_comments_spam;

Powered by WordPress