Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Suggestions and Feature Requests

Notices

Reply
 
Thread Tools Display Modes
  #11  
Old 10-24-2009, 09:37 AM
exdiogene exdiogene is offline
Member
 
Join Date: Oct 2009
Posts: 84
Credits: 7,906
exdiogene
Default RE: MyBB intergration

I would think that it would be easier to edit the Adoptables script as MyBB has a lot more files depending on the integrety of the member.php
__________________
Exdiogene have taken over the TommyK CreateBB.com multisites. :cool:
MyBBCodes.com having more than 175 plugins available
Reply With Quote
  #12  
Old 10-24-2009, 09:52 AM
Arianna's Avatar
Arianna Arianna is offline
Dev Staff
 
Join Date: Sep 2009
Posts: 334
Gender: Female
Credits: 21,280
Arianna will become famous soon enough
Default RE: MyBB intergration

Yes, you do have a point. :)
However, it does set default values on stuff like that, I think. And another thing - banning might be a problem. xP
And yet another thing - I looked at the passwords on both things, and they are encoded differently. xP[hr]
Another thing, though - I think registering on the forum is more important for my needs. xP
Reply With Quote
  #13  
Old 10-24-2009, 10:00 AM
exdiogene exdiogene is offline
Member
 
Join Date: Oct 2009
Posts: 84
Credits: 7,906
exdiogene
Default RE: MyBB intergration

I tohught they were both MD5 encoded?
__________________
Exdiogene have taken over the TommyK CreateBB.com multisites. :cool:
MyBBCodes.com having more than 175 plugins available
Reply With Quote
  #14  
Old 10-24-2009, 10:04 AM
Arianna's Avatar
Arianna Arianna is offline
Dev Staff
 
Join Date: Sep 2009
Posts: 334
Gender: Female
Credits: 21,280
Arianna will become famous soon enough
Default RE: MyBB intergration

Maybe one is different. If I use a test password - 'password' the MD5 is '5f4dcc3b5aa765d61d8327deb882cf99' right? I'll edit and see what happens. :)
By the way, do you know what 'salt' is in the mybb table?[hr]
This is what I have, straight from phpmyadmin. This is the password encoding.
adopts_users: 5f4dcc3b5aa765d61d8327deb882cf99
mybb_users: 7370faafe822e685d2fe3e535f6fe78e

Certainly not the same...[hr]
The second one (mybb) doesn't fit, look.
Password | | | password
Crypt Hash | | | 1$s7aoXaH7NEs
MD5 Hash | | | 5f4dcc3b5aa765d61d8327deb882cf99
SHA Hash | | | 5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8
MD5 Salted Hash | | | 0fh3vXJhFAOnI
Reply With Quote
  #15  
Old 10-24-2009, 10:22 AM
exdiogene exdiogene is offline
Member
 
Join Date: Oct 2009
Posts: 84
Credits: 7,906
exdiogene
Default RE: MyBB intergration

i tihnk MyBB uses salt and hash, i have asked how to intergrate on the MyBB forum and nobody has replied.[hr]
It seems that (when you change the table it gets the name and pass from) it only has trouble decoding the pass. Any ideas anyone? Sea? Brandon?[hr]
MyBB Salt is the way it encodes the pass to make it more secure, anyone know how to use salts in the adoptables script?
__________________
Exdiogene have taken over the TommyK CreateBB.com multisites. :cool:
MyBBCodes.com having more than 175 plugins available
Reply With Quote
  #16  
Old 10-24-2009, 10:38 AM
Arianna's Avatar
Arianna Arianna is offline
Dev Staff
 
Join Date: Sep 2009
Posts: 334
Gender: Female
Credits: 21,280
Arianna will become famous soon enough
Default RE: MyBB intergration

I asked too - I hope they answer.
I don't know how to use salts in the adoptables script, sadly. It uses another column in the table - that's about all i know.
Reply With Quote
  #17  
Old 10-24-2009, 10:50 AM
exdiogene exdiogene is offline
Member
 
Join Date: Oct 2009
Posts: 84
Credits: 7,906
exdiogene
Default RE: MyBB intergration

well salts are just used ot make the bruteforcing of passwords a longer process, it simply takes the pass and adds the salt on the end, then converts it to MD5 (i think)

For example:

You have a password = "password" which has a MD5 hash of "5f4dcc3b5aa765d61d8327deb882cf99"
but if you add a salt = "eth7"
the string becomes = "passwordeth7"
which makes the MD5 = "804462e52e923941708106a10c6fb416"
So, unless the hacker has the correct salt in their dicitonary after the password then the time taken to crack is considerably longer.[hr]
I think it should be something like this, i know its not the right way round but...:

PHP Code:
$password md5($password,$salt);

$query "SELECT * FROM mybb_users WHERE username = '$username'";
$result = @mysql_query($query);
$num = @mysql_numrows($result);

//Loop out code
$i=0;
while (
$i 1) {

$luser=@mysql_result($result,$i,"username");
$lpass=@mysql_result($result,$i,"password,");
$lsalt=@mysql_result($result,$i,"salt,");

$i++;
}

if(
$username == $luser and $password == $lpass$lsalt){
$article_title "Login Successful!"
__________________
Exdiogene have taken over the TommyK CreateBB.com multisites. :cool:
MyBBCodes.com having more than 175 plugins available
Reply With Quote
  #18  
Old 10-24-2009, 11:41 AM
Arianna's Avatar
Arianna Arianna is offline
Dev Staff
 
Join Date: Sep 2009
Posts: 334
Gender: Female
Credits: 21,280
Arianna will become famous soon enough
Default RE: MyBB intergration

I saw that it was something like
(md5(salt[$.password]))
Or the like. The problem is, it won't log in on both, I think.
Reply With Quote
  #19  
Old 10-24-2009, 12:03 PM
exdiogene exdiogene is offline
Member
 
Join Date: Oct 2009
Posts: 84
Credits: 7,906
exdiogene
Default RE: MyBB intergration

Quote:
(md5(salt[$.password]))
On MyBB?

And yes sessions could be an issue. We could probably get it so the logins work on both.

So: in login.php
PHP Code:
$password md5($password); 
should beocme:
PHP Code:
$passwordmd5(salt[$password])); 
Then the salt and pass need to be extracted form the database and matched to the string. Correct?
__________________
Exdiogene have taken over the TommyK CreateBB.com multisites. :cool:
MyBBCodes.com having more than 175 plugins available
Reply With Quote
  #20  
Old 10-24-2009, 12:35 PM
Seapyramid Seapyramid is offline
Premium Member
 
Join Date: Feb 2009
Posts: 373
Gender: Female
Credits: 15,568
Seapyramid
Default RE: MyBB intergration

Session cookies are the hardest part to set up. They are quite confusing as well. Your bridge has to incorporate a simple cookis session for Adopts & a complicated one for the forum & even the simple one gets complicated. http://www.w3schools.com/PHP/php_sessions.asp gives you some background but it takes time to actually figure it all out.

Sea
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to: Install MyBB Aasixx Tutorials and Tips 18 03-25-2016 05:59 PM
What does mybb intergration mean? Rovick Questions and Supports 3 06-18-2014 04:41 AM
Paypal ipn intergration? Skulldog Suggestions and Feature Requests 3 09-26-2010 10:26 PM
JOOMLA Intergration Seapyramid Mys v1.1.x Mods 32 07-24-2010 07:51 PM
Forum intergration, exdiogene Questions and Supports 6 10-08-2009 10:56 AM


All times are GMT -5. The time now is 03:23 AM.

Currently Active Users: 9767 (0 members and 9767 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636