Activate link to the left of this description, Click Tab Anti Hacking Tools, then Checklist all for best protection and click Save Changes. * * Version: 1.0.2 * Author: JasmanXcrew (ihsana.com) * Author URI: http://ihsana.com/ * * License: GPLv2 or later * License URI: http://www.gnu.org/licenses/gpl-2.0.html * * Too difficult to protect the site from botnets. googlebot, ybot, crawler bot is a botnet. * RSS, feedback tool uses the same technique with a botnet. irc bot, bot scanner or a hacking tool that is also botnet. * but has a different purpose. IRC bot, Bot scanner or a hacking tool is very disturbing, and its presence does not benefit us. * from here the idea of making this Plugins. * * if the medium and high risk tool will implement the web status refused. * and if a low risk web status can only be read to apply, can not upload or comment. * Database on the plugin is taken from an existing tool. * * I hope this tool is useful for security and do not interfere with your SEO. * * Thank to: * - Rizky Ariestiyansyah (Testing) * - Forum ExploreCrew * - Forum DevilzC0de * - And You * **/ error_reporting(0); define('ANTI_HAXTOOL_EXEC',true); define('ANTI_HAXTOOL_VERSION','1.0.2'); define('ANTI_HAXTOOL_LINK',plugins_url().'/anti-hacking-tools/'); define('ANTI_HAXTOOL_ADMIN_LINK',get_bloginfo('siteurl').'/wp-admin/plugins.php?page=anti_haxtool'); function _anti_haxtool_visitor_notice($str) { $_SERVER["HTTP_USER_AGENT"] = $_SERVER["HTTP_USER_AGENT"].'(googlebot) '; $_SERVER['HTTP_CACHE_CONTROL'] = 'no-cache'; $_SERVER['HTTP_PRAGMA'] == 'no-cache'; $visitor_notice = ' Error: Browser Not Compatible

Error: Browser Not Compatible


Sorry, we are not cool enough to be able to support the browser you are using. Try using one of the browsers below:

Hash Error : '.$str.'.
If false detection please contact Coderz Anti Hacking Tools.

'; log_attack($str); return $visitor_notice; } require_once dirname(__file__).'/anti_haxtool.inc.php'; function _anti_haxtool_page_signature() { global $wpdb; if(is_admin()) echo update_whitelist(); echo ' '; echo '
'; if(isset($_GET['tab']) && ($_GET['tab'] == 'report')) { echo "

REPORT

"; $signature_spam = $wpdb->get_results("SELECT anti_haxtool_attacker FROM `".$wpdb->base_prefix."anti_haxtool` WHERE `anti_haxtool_signature` LIKE 'C3A4F849BE3640756A7F2F53C491EAE0'"); $count_attackers = $wpdb->get_results("SELECT anti_haxtool_name, anti_haxtool_risk, anti_haxtool_signature,anti_haxtool_attacker,anti_haxtool_status FROM `".$wpdb->base_prefix."anti_haxtool` WHERE `anti_haxtool_type` NOT LIKE 'READ-ONLY' AND `anti_haxtool_attacker` != 0 ORDER BY `anti_haxtool_attacker` DESC"); echo '

Attacker Report

  • Crawler/Spammer : '.htmlentities($signature_spam[0]->anti_haxtool_attacker).' (GOOD BOT)
  • '; foreach($count_attackers as $count_attacker) { echo '
  • '.$count_attacker->anti_haxtool_name.' : '.htmlentities($count_attacker->anti_haxtool_attacker).'
  • '; } echo '
    '; echo "

    Read Only mode for spammer and Crawler, Post Comment and Upload not allowed.
    Don't worry! Googlebot, ybot, bingbot, alexa bot, AhrefsBot, Ezooms, ia_archiver and etc NO NEED COMMENT YOUR BLOG


    "; } else { $signature_list = $wpdb->get_results("SELECT anti_haxtool_ID,anti_haxtool_signature_id, anti_haxtool_name, anti_haxtool_risk, anti_haxtool_signature,anti_haxtool_attacker,anti_haxtool_status FROM `".$wpdb->base_prefix."anti_haxtool` WHERE `anti_haxtool_type` NOT LIKE 'READ-ONLY' ORDER BY `anti_haxtool_attacker` DESC"); if(is_apache_modules("mod_rewrite")!=true){ $mod_rewrite_notice = '
    mod_rewrite.c must available!
    '; }else{ $mod_rewrite_notice = '
    Checklist all for best security
    '; } echo '

    Protect Plugins and Themes

    '.$mod_rewrite_notice.'

    Protect Plugins and Themes using .htaccess

      '.current_htaccess().'
    '; echo '

    Protect Wordpress

    Protect your blog from Third Party Scanning.
    • : Status ON
    • : Status OFF
    '; foreach($signature_list as $signature) { if(htmlentities($signature->anti_haxtool_attacker) > 0) { $anti_haxtool_color = "red"; } else { $anti_haxtool_color = "blue"; } if(htmlentities($signature->anti_haxtool_status) == 1) { $anti_haxtool_status = ''; } else { $anti_haxtool_status = ''; } echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; } echo protect_plugins(); echo '
    Tools Signature Risk Attacker
    Tools Signature Risk Attacker
    '.$anti_haxtool_status.' '.htmlentities($signature->anti_haxtool_name).'anti_haxtool_signature_id).'" >'.htmlentities(show_hash($signature->anti_haxtool_signature)).''.htmlentities($signature->anti_haxtool_risk).''.htmlentities($signature->anti_haxtool_attacker).'
    '; } } function log_attack($hash) { global $wpdb; $query = "UPDATE `".$wpdb->base_prefix."anti_haxtool` SET `anti_haxtool_attacker` = anti_haxtool_attacker+1 WHERE `anti_haxtool_signature` = '".$hash."' ;"; $update = $wpdb->query($query); return $update; } function _anti_hax_tool_menu() { add_plugins_page('Anti Hacking Tools Signature List','Anti Hacking Tools','read','anti_haxtool','_anti_haxtool_page_signature'); } function _anti_haxtool_push_mail($email) { $subject = 'Anti Hacking Tool'; mail($email,$subject,"ANTI HAXTOOL keep track of suspicious activity in your blog."); return true; } function file_mysql_query() { $file_db = dirname(__file__)."/anti_haxtool.db.php"; if(file_exists($file_db)) { $open_file_db = fopen($file_db,"r"); $str_file_db = explode("\r\n",fread($open_file_db,filesize($file_db))); fclose($open_file_db); } $file_db_arr = json_decode($str_file_db[1],1); $conv_mysql_query_value = null; for($t = 0; $t < count($file_db_arr); $t++) { if($t < count($file_db_arr) - 1) { $conv_mysql_query_value .= "( '".$file_db_arr[$t]['anti_haxtool_signature_id']."', '".$file_db_arr[$t]['anti_haxtool_name']."', '".$file_db_arr[$t]['anti_haxtool_signature']."','".$file_db_arr[$t]['anti_haxtool_type']."', '".$file_db_arr[$t]['anti_haxtool_risk']."', '".$file_db_arr[$t]['anti_haxtool_status']."'),\r\n"; } else { $conv_mysql_query_value .= "( '".$file_db_arr[$t]['anti_haxtool_signature_id']."', '".$file_db_arr[$t]['anti_haxtool_name']."', '".$file_db_arr[$t]['anti_haxtool_signature']."','".$file_db_arr[$t]['anti_haxtool_type']."', '".$file_db_arr[$t]['anti_haxtool_risk']."', '".$file_db_arr[$t]['anti_haxtool_status']."')\r\n"; } } $conv_mysql_query = "INSERT INTO `wp_anti_haxtool` (`anti_haxtool_signature_id`, `anti_haxtool_name`, `anti_haxtool_signature`, `anti_haxtool_type`, `anti_haxtool_risk`,`anti_haxtool_status`) VALUES \r\n".$conv_mysql_query_value; return $conv_mysql_query; } function _anti_haxtool_activate() { global $wpdb; if(is_admin()) $query_create_table = "CREATE TABLE IF NOT EXISTS `".$wpdb->base_prefix."anti_haxtool` ( `anti_haxtool_ID` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `anti_haxtool_signature_id` text NOT NULL, `anti_haxtool_name` text NOT NULL, `anti_haxtool_signature` text NOT NULL, `anti_haxtool_type` text NOT NULL, `anti_haxtool_risk` text NOT NULL, `anti_haxtool_attacker` DECIMAL NOT NULL DEFAULT '0', `anti_haxtool_status` BOOLEAN NOT NULL DEFAULT '1', PRIMARY KEY (`anti_haxtool_ID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;"; $create_table = $wpdb->query($query_create_table); $create_signature_row = $wpdb->query(file_mysql_query()); return $create_table; } function _anti_haxtool_deactivate() { global $wpdb; if(is_admin()) $query_drop_table = "DROP TABLE `".$wpdb->base_prefix."anti_haxtool`"; $drop_table = $wpdb->query($query_drop_table); return $drop_table; } if(is_admin()) { add_action('admin_menu','_anti_hax_tool_menu'); } register_activation_hook(__file__,'_anti_haxtool_activate'); register_deactivation_hook(__file__,'_anti_haxtool_deactivate'); ?>