Stupid Wordpress Hack 0
So you have lost your admin password? Well then let’s just hack the system.
Step 1: Open up your /wp-includes/pluggable.php
Step 2: Go to the function wp_authenticate (line 438)
Step 3: Add this to line 439: return WP_User(1);
So the code should look like this:
function wp_authenticate($username, $password) {
return WP_User(1);
Step 4: Go to your login page and input any username/passwd. Make sure you have checked the “Remember Me” checkbox.
Step 5: Once you’re logged on, remove that line from Step 3.
Now you’re back in business.
I do not recommend this because your system is left wide open for any user to log on, but if you’re a little pee-on like me, and nobody cares to hack your system then do it
Enjoy!
My name is Robert Banh. I am your typical web guy.
subscribe to comments RSS
There are no comments for this post