GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Can i retrieve or reset a wordpress password manually? (https://gfy.com/showthread.php?t=787619)

Angry Jew Cat - Banned for Life 11-26-2007 11:26 PM

Can i retrieve or reset a wordpress password manually?
 
went to go sign into an old old blog of mine today and i can't remember the password. the email is used is long since invalid, and i'mkind of stuck for what to do, is there any way i can manually draw out or reset my password as the administrator on my server?

V_RocKs 11-26-2007 11:34 PM

You could use the command line in unix to make another and insert it...

tombarr 11-27-2007 12:04 AM

Found this after searching for ways to retrieve lost wordpress passwords...

I'm not a coder, but it might be worth a try..



"Since I do not have root access to this machine, I wrote a small script, to help me out. It is a simple admin-password resetter containimg a form for setting a new admin password. The POST-value is overwrites the unretrievable on in the WordPress database:

$sql = "UPDATE ".$wpdb->users."
SET user_pass = '".md5($_POST['emergency_pass'])."'
WHERE user_login = 'admin'";
$link = $wpdb->query($sql);
wp_redirect('wp-login.php');
exit();Download: WordPress Admin Password Resetter

Usage:

Unzip
Upload password-resetter.php to your WordPress root (!this is NOT a WordPress Plugin!)
run http://[your WordPress URI]/password-resetter.php
set a new password
Very important: DELETE password-resetter.php

"

Angry Jew Cat - Banned for Life 11-27-2007 12:27 AM

so i'm assuming i switch out 'wpdb' with whatever my database name is and 'emergency_pass' to whatever i want my new pass to be?


All times are GMT -7. The time now is 01:23 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc