Today, I will share how a bad guy(hacker) try to scan your WordPress version however I am not going to share how to do this. 🙂
With WordPress 2.8.x or earlier, WordPress version status were stored in a file named version.php in the wp-includes folder, some plugin such as WP Security Scan will try to hide the WordPress version number from scanning.
In order to get your WordPress version, you may do like the following command to grep the WordPress version.
[email protected] [~]# grep wp_version wp-includes/version.php
* @global string $wp_version
$wp_version = ‘2.8.6’;