PDA

View Full Version : Recovering my forums password and username


austinelse
12-05-2014, 08:58 PM
I have a forum that has not been used for quite some time. Recently my email has been blacklisted multiple times. When I went to find out why I found out that this forum I have had been hacked and the person was sending 100s of spam emails to users. Now, I am able to get into my cpanel, thankfully. Once in the users information section I found that all of the passwords have been changed to long very random numbers. I found the admin users but when I changed the Admin's password to a new one it still will not allow me to log into my forum.
After looking this problem up online I found many answers but none that would help me because of the following:
I can not register as a new user (It says it's forbidden)
I do not see the do_not_upload directory i have been told about to get the tools.php (which I also do not see anywhere)
when I try to recover my password through my forum it either will not recognize the email I enter, or the random question can not be answered.

kh99
12-05-2014, 09:08 PM
The do_not_upload directory is part of the vbulletin download, and it shouldn't be on your server. If you don't still have the original files you can log in to the members area at vbulletin.com and download the files for the version you're running (you have to click on the "other versions" radio button to see the list).

Also, if you can execute a query (like through phpMyAdmin), then you can use this to reset your password:
UPDATE user
set password = MD5(concat(MD5('<NEWPASSWORD>'), user.salt))
WHERE userid = <USERID>

Where you'd replace <NEWPASSWORD> with the password you want, and <USERID> with your userid (usually 1 for the original admin user).

austinelse
12-05-2014, 09:23 PM
I'm sorry but I am having trouble finding the area in vbulliten members section where I can download this. And what is the file I should looking for to download?

kh99
12-05-2014, 09:41 PM
OK, first you want to go here: https://www.vbulletin.com/en/customer/account/login/ and log in with your customer number and password. Then under "My Account" in the upper left, click on "Members Area". Then there'll be a list of licenses you own. Under License Options you want to click on one of the download options, depending on what version of vbulletin you have. Then you need to know the exact version you're running, and assuming it's not the latest version, you want to click on the "More Download Options" radio button and select your version from the dropdown list.

Edit: Oh, I'm assuming you don't have vb5. I don't really know much about that.

austinelse
12-08-2014, 02:25 PM
I have 4.2.1
I followed all of you instructions (thank you for that) and I was able to get to my tools.php and upload it. However, when I go to the URL for my tools.php to enter in information it gives me an error. I will have to try the query string you mentioned above.

ForceHSS
12-08-2014, 02:27 PM
if no users are using your site any more delete the whole thing and install a fresh one 4.2.3

kh99
12-08-2014, 02:40 PM
I have 4.2.1
I followed all of you instructions (thank you for that) and I was able to get to my tools.php and upload it. However, when I go to the URL for my tools.php to enter in information it gives me an error. I will have to try the query string you mentioned above.

What error does it give you?

ozzy47
12-28-2014, 11:06 PM
@austinelse, you ever get this sorted?