Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

admin password recovery

Asked Modified Viewed 18,966 times
N
Neoman
N
Neoman 10
i'm buying bora bora
  • Junior Member, joined since
  • Contributed 43 posts on the community forums.
  • Started 16 threads in the forums
  • Started this discussions
asked
Junior Member

how can i do that ??
0 replies

23 posts

N
Neoman
N
Neoman 10
i'm buying bora bora
  • Junior Member, joined since
  • Contributed 43 posts on the community forums.
  • Started 16 threads in the forums
  • Started this discussions
answered
Junior Member

i lost that admin pass coz i didn't use it since the installation .
i need it now to edit the panels section
0 replies
K
KonickMultimedia
K
Free Online Games: http://www.gamescut.com
  • Member, joined since
  • Contributed 76 posts on the community forums.
  • Started 9 threads in the forums
answered
Member

0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

If no access to phpMyadmin, then make a php file with this content:

<?php
/*-------------------------------------------------------+
| PHPFusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: viewpage.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
require_once "maincore.php";
require_once THEMES."templates/header.php";

$pass = MD5('mynewpass'); // <-- Enter new user password 'mynewpass'
$pass_admin = MD5('mynewadminpass'); // <-- Enter new admin password 'mynewadminpass'

$result = dbquery("UPDATE ".DB_USERS." SET user_password = MD5('".$pass."') WHERE  user_id = '1' LIMIT 1");
if ($result) {echo "pass changed for super admin in ".DB_USERS;}
else {echo "An error ocurred for user pass.";}

$result2 = dbquery("UPDATE ".DB_USERS." SET user_admin_password = MD5('".$pass_admin."') WHERE  user_id = '1' LIMIT 1");
if ($result) {echo "<br />admin pass changed for super admin in ".DB_USERS;}
else {echo "<br />An error ocurred for admin pass.";}

require_once THEMES."templates/footer.php";
?>


Edit $pass and $pass_admin to your new passwords.

Upload file to the root of your site.

Execute file in browser.

Delete file from your site.

Log in with new passwords.
0 replies
N
Neoman
N
Neoman 10
i'm buying bora bora
  • Junior Member, joined since
  • Contributed 43 posts on the community forums.
  • Started 16 threads in the forums
  • Started this discussions
answered
Junior Member

thanks guys ,
WEC , thanks , it worked
0 replies
G
googlebot
G
Visit the new home of the merge between Hacking Vs. Security and Security Override!
My copyright removal has been switched over from HvS to SecurityOverride.
  • Senior Member, joined since
  • Contributed 638 posts on the community forums.
  • Started 28 threads in the forums
answered
Senior Member

Quote

Neoman wrote:
WEC , thanks , it worked

How?? In WEC's code, the passwords are only md5 hashed once. PHPFusion 7 uses double md5 hashing.
0 replies
S
SiteMaster
S
If i have touched it, it's W3C Valid
  • Senior Member, joined since
  • Contributed 305 posts on the community forums.
  • Started 15 threads in the forums
answered
Senior Member

Quote

googlebot wrote:

Quote

Neoman wrote:
WEC , thanks , it worked

How?? In WEC's code, the passwords are only md5 hashed once. PHPFusion 7 uses double md5 hashing.


yes someone please tell us how this works

is 2x md5 not like this ?
example
md5 string: 1
md5 hash: c4ca4238a0b923820dcc509a6f75849b
md5 string: c4ca4238a0b923820dcc509a6f75849b
md5 hash: 28c8edde3d61a0411511d3b1866f0636
0 replies
G
googlebot
G
Visit the new home of the merge between Hacking Vs. Security and Security Override!
My copyright removal has been switched over from HvS to SecurityOverride.
  • Senior Member, joined since
  • Contributed 638 posts on the community forums.
  • Started 28 threads in the forums
answered
Senior Member

Quote

SiteMaster wrote:

Quote

googlebot wrote:

Quote

Neoman wrote:
WEC , thanks , it worked

How?? In WEC's code, the passwords are only md5 hashed once. PHPFusion 7 uses double md5 hashing.


yes someone please tell us how this works

is 2x md5 not like this ?
example
md5 string: 1
md5 hash: c4ca4238a0b923820dcc509a6f75849b
md5 string: c4ca4238a0b923820dcc509a6f75849b
md5 hash: 28c8edde3d61a0411511d3b1866f0636

That is how it should have happened. But either Neoman didn't try it, or he modded v7 to only use one md5 hash (doubt it).
0 replies
S
SiteMaster
S
If i have touched it, it's W3C Valid
  • Senior Member, joined since
  • Contributed 305 posts on the community forums.
  • Started 15 threads in the forums
answered
Senior Member

DOH he is duoble md5 it

first time

$pass = MD5('mynewpass'); // <-- Enter new user password 'mynewpass'
$pass_admin = MD5('mynewadminpass'); // <-- Enter new admin password 'mynewadminpass'


second time

$result = dbquery("UPDATE ".DB_USERS." SET user_password = MD5('".$pass."') WHERE  user_id = '1' LIMIT 1");
$result2 = dbquery("UPDATE ".DB_USERS." SET user_admin_password = MD5('".$pass_admin."') WHERE  user_id = '1' LIMIT 1");
0 replies
G
googlebot
G
Visit the new home of the merge between Hacking Vs. Security and Security Override!
My copyright removal has been switched over from HvS to SecurityOverride.
  • Senior Member, joined since
  • Contributed 638 posts on the community forums.
  • Started 28 threads in the forums
answered
Senior Member

Quote

SiteMaster wrote:
DOH he is duoble md5 it

first time

$pass = MD5('mynewpass'); // <-- Enter new user password 'mynewpass'
$pass_admin = MD5('mynewadminpass'); // <-- Enter new admin password 'mynewadminpass'


second time

$result = dbquery("UPDATE ".DB_USERS." SET user_password = MD5('".$pass."') WHERE  user_id = '1' LIMIT 1");
$result2 = dbquery("UPDATE ".DB_USERS." SET user_admin_password = MD5('".$pass_admin."') WHERE  user_id = '1' LIMIT 1");

Oh, my bad - didn't look in the dbupdate...
0 replies
N
Neoman
N
Neoman 10
i'm buying bora bora
  • Junior Member, joined since
  • Contributed 43 posts on the community forums.
  • Started 16 threads in the forums
  • Started this discussions
answered
Junior Member

i didn't o anything to PF . i just copied the code to a page in my root and opened it . that is it !
0 replies
G
googlebot
G
Visit the new home of the merge between Hacking Vs. Security and Security Override!
My copyright removal has been switched over from HvS to SecurityOverride.
  • Senior Member, joined since
  • Contributed 638 posts on the community forums.
  • Started 28 threads in the forums
answered
Senior Member

Quote

Neoman wrote:
i didn't o anything to PF . i just copied the code to a page in my root and opened it . that is it !

Yes, we know. We were being lazy and didn't look through the whole code. Php-Fusion 7 requires a double md5 hashed password. I still don't understand why WEC didn't just use md5(md5(...))
0 replies
— 3 years later —
M
MattMadsen
M
Facebook site
https://www.facebook.com/Detherersjovt
The funniest facebook page in the world
  • Member, joined since
  • Contributed 63 posts on the community forums.
  • Started 15 threads in the forums
answered
Member

It doset work. now i can not log in at all.. plzz help

Merged on Sep 21 2011 at 10:22:20:
and now i can not get a new password... what do i do?

Merged on Sep 21 2011 at 10:29:14:
ik got php my admin how do i change it there?
Edited by MattMadsen on 21-09-2011 11:29,
0 replies
P
PolarFox
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
answered
Veteran Member

Try to use
change: YOURPREFIX_users and YOURPASSWORD

Quote

---

UPDATE YOURPREFIX_users SET user_admin_password = md5(md5('YOURPASSWORD'wink),user_admin_algo='md5', user_algo='md5',user_password=md5(md5('YOURPASSWORD'wink) WHERE user_id = '1' LIMIT 1;

After that, you password will be YOURPASSWORD
0 replies
M
MattMadsen
M
Facebook site
https://www.facebook.com/Detherersjovt
The funniest facebook page in the world
  • Member, joined since
  • Contributed 63 posts on the community forums.
  • Started 15 threads in the forums
answered
Member

Quote

PolarFox wrote:

Try to use
change: YOURPREFIX_users and YOURPASSWORD

Quote

---

UPDATE YOURPREFIX_users SET user_admin_password = md5(md5('YOURPASSWORD')),user_admin_algo='md5', user_algo='md5',user_password=md5(md5('YOURPASSWORD')) WHERE user_id = '1' LIMIT 1;

After that, you password will be YOURPASSWORD



sorry how do i use that?
is this the hole code? or?
And what shut i change this into YOURPREFIX_users
Edited by MattMadsen on 21-09-2011 13:51,
0 replies
P
PolarFox
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
answered
Veteran Member

You said

Quote

ik got php my admin how do i change it there?
it's the code for PMA.

Prefix you can find in your config.php .
0 replies
M
MattMadsen
M
Facebook site
https://www.facebook.com/Detherersjovt
The funniest facebook page in the world
  • Member, joined since
  • Contributed 63 posts on the community forums.
  • Started 15 threads in the forums
answered
Member

okay im totaly lost. i have no ide how to do that. :(
0 replies
P
PolarFox
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
answered
Veteran Member

Here is the code for php page:
call it page.php , upload to the root dir, and direct your browser to yoursite.com/page.php

<?php
require_once 'maincore.php';

$pass = 'yourpass';
$passadm = 'youradminpass';

dbquery("UPDATE ".DB_USERS." SET user_admin_password = md5(md5('$passadm')),user_admin_algo='md5', user_algo='md5',user_password=md5(md5('$pass')) WHERE user_id = '1' LIMIT 1;");

echo 'Done';
?>

This code will reset your password to specified.

Remove this file after use! And make a DB backup at first.
0 replies
M
MattMadsen
M
Facebook site
https://www.facebook.com/Detherersjovt
The funniest facebook page in the world
  • Member, joined since
  • Contributed 63 posts on the community forums.
  • Started 15 threads in the forums
answered
Member

Thx i try that. :)
0 replies
— 5 months later —
R
rol
R
rol 10
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
answered
Newbie

Quote

PolarFox wrote:

Here is the code for php page:
call it page.php , upload to the root dir, and direct your browser to yoursite.com/page.php

<?php
require_once 'maincore.php';

$pass = 'yourpass';
$passadm = 'youradminpass';

dbquery("UPDATE ".DB_USERS." SET user_admin_password = md5(md5('$passadm')),user_admin_algo='md5', user_algo='md5',user_password=md5(md5('$pass')) WHERE user_id = '1' LIMIT 1;");

echo 'Done';
?>

This code will reset your password to specified.

Remove this file after use! And make a DB backup at first.

Thanks!!! I reset my admin password!!!
0 replies

Category Forum

User Administration - 8

Labels

None yet

Statistics

  • Views 0 views
  • Posts 23 posts
  • Votes 0 votes
  • Topic users 11 members

11 participants

W
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
R
R
rol 10
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
A
A
  • Senior Member, joined since
  • Contributed 725 posts on the community forums.
  • Started 128 threads in the forums
M
M
  • Junior Member, joined since
  • Contributed 16 posts on the community forums.
  • Started 6 threads in the forums
K
K
Free Online Games: http://www.gamescut.com
  • Member, joined since
  • Contributed 76 posts on the community forums.
  • Started 9 threads in the forums
G
G
Visit the new home of the merge between Hacking Vs. Security and Security Override!
My copyright removal has been switched over from HvS to SecurityOverride.
  • Senior Member, joined since
  • Contributed 638 posts on the community forums.
  • Started 28 threads in the forums
S
S
If i have touched it, it's W3C Valid
  • Senior Member, joined since
  • Contributed 305 posts on the community forums.
  • Started 15 threads in the forums
N
N
Neoman 10
i'm buying bora bora
  • Junior Member, joined since
  • Contributed 43 posts on the community forums.
  • Started 16 threads in the forums
  • Started this discussions
P
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
M
M
Facebook site
https://www.facebook.com/Detherersjovt
The funniest facebook page in the world
  • Member, joined since
  • Contributed 63 posts on the community forums.
  • Started 15 threads in the forums
D
D
  • Senior Member, joined since
  • Contributed 667 posts on the community forums.
  • Started 57 threads in the forums
  • Answered 1 question

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet