vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Regaining access to forum, please help.. (https://vborg.vbsupport.ru/showthread.php?t=321622)

shibby2 01-28-2016 12:42 AM

Regaining access to forum, please help..
 
Hey everyone, I have an old 'test' forum that I haven't used in about 3 years. I really need to gain access to it, but for some reason none of my passwords are working.

I've tried requesting a new password, but I never get an email, for whatever reason. I tried registering a new account so I could use tools.php, but registrations are disabled.

Is there any other way for me to gain access again? I'm all out of ideas.

Please help, I'm desperate! :(

Max Taxable 01-28-2016 12:51 AM

You have file access?

Dragonsys 01-28-2016 01:29 AM

can you access the DB? if so, blank out your password

shibby2 01-28-2016 02:01 AM

Yes I have FTP access and database access via phpmyadmin.

What will removing the password encryption in the database do?

RichieBoy67 01-28-2016 07:46 AM

That wont work..

Why dont you just register a new user, than go into the usertable and change it to an admin..Change the userid in your config and bam..your in.

Think you can use this too:

https://hashkiller.co.uk/md5-decrypter.aspx

shibby2 01-28-2016 04:04 PM

Can't register a new user, because new registrations are turned off. :(

Is there any way I can turn on registrations via phpmyadmin? And, if I'm able to do that, would I be able to turn off 'email verification' for registrations in phpmyadmin also?

Oh yea, also, is the forums main email listed somewhere in the database? I'd like to know which email I used, so I can see why it's not sending any emails out.

Lynne 01-28-2016 05:34 PM

If you cannot register a new account and have absolutely no access to any other accounts, the final option is a database query.

MAKE A FULL DATABASE BACKUP BEFORE YOU MANUALLY EDIT THE DATABASE. VERIFY IT AS WELL.

Open the database in a tool like phpmyadmin.

Run the Query:

UPDATE user AS user
set password = MD5(concat(MD5('pass1234'), user.salt))
WHERE userid = 1

The above will reset the password of user with userid = 1 to pass1234. Change the userid if your Admin account is not userid 1.

*NOTE* - If you have a table prefix setup in your config.php file then you must put the table prefix in front of the first "user" on the first line.

Example:

UPDATE vb_user AS user
set password = MD5(concat(MD5('pass1234'), user.salt))
WHERE userid = 1

The above query is if vb_ is the table prefix.

You should be able to tell easily if there is a prefix if all the table names start with the same few characters.

Once the query is run the password will now be pass1234 or whatever you set.

(The above is NOT valid for 5.1.10 and up.)

shibby2 01-28-2016 05:55 PM

Thanks Lynne, I'll give it a try! :)

--------------- Added [DATE]1454011190[/DATE] at [TIME]1454011190[/TIME] ---------------

Just to verify, where exactly do I paste that query? I'm not too great with databases.. I have a few different databases in my account, so I don't want to put it in the wrong place and risk screwing the others up.

Thanks again!


Nevermind, figured it out.. it worked!

Thank you sooooo much! :)

Lynne 01-28-2016 10:03 PM

Glad you got it working. :)


All times are GMT. The time now is 04:19 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01465 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete