homepage Welcome to WebmasterWorld Guest from 54.227.141.230
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Website
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Problem with game script
signs




msg:1285776
 1:31 pm on Sep 2, 2004 (gmt 0)

Hi all!

I've got a problem with a game script that i bought from someone.

I've installed everything like the manual says but i cannot log in. When i want to log in i get an error: Username and/or password incorrect.

I've asked the same question to the scripter but he does not give me any support :( *kick*

Can someone help me with this script? I am a totally php/MySQL noob.

I've uploaded the script source to my ftp server.

[edited by: coopster at 1:50 pm (utc) on Sep. 2, 2004]
[edit reason] No urls [webmasterworld.com], please [/edit]

 

Knowles




msg:1285777
 1:39 pm on Sep 2, 2004 (gmt 0)

Signs welcome to WebmasterWorld!

It does not look as though there is any security being used for the password (IE MD5). This means you should be able to simply get the username and password out of the database admin.

signs




msg:1285778
 1:47 pm on Sep 2, 2004 (gmt 0)

Damn...

well maybe i can use a htpassw...

But whats the problem with the script? Does it works?

Knowles




msg:1285779
 1:52 pm on Sep 2, 2004 (gmt 0)

I have no idea I didnt install it. I simply looked for you a way to get the username and password from the admin database. If you get that username and password and it still wont let you log in then I would say it doesnt work and ask for a refund.

signs




msg:1285780
 1:59 pm on Sep 2, 2004 (gmt 0)

well i just bought it for 1,30...and i think that if you re-encoded it, it will be more than 1,30 :)

Knowles




msg:1285781
 2:01 pm on Sep 2, 2004 (gmt 0)

huh?

signs




msg:1285782
 2:06 pm on Sep 2, 2004 (gmt 0)

Yeah someone had placed this script on a site and you can buy it for 1,30 through the mobile phone

ergophobe




msg:1285783
 2:56 pm on Sep 2, 2004 (gmt 0)

Welcome signs. First some questions.

1. how do you know that the username and password are valid?

2. are you typing in the right case?

3. did you modify the login script at all?

Tom

signs




msg:1285784
 4:43 pm on Sep 2, 2004 (gmt 0)

I can check the username and password in the MySQL database.

No i haven't modify the login script. It is in the original state

coopster




msg:1285785
 4:50 pm on Sep 2, 2004 (gmt 0)

I often find issues with hashed values in pre-loaded scripts. It comes down to how the password was encrypted during INSERT or UPDATE to the table.

A quick work around is to just get to a command line and update the password in the database or, if the author used PHP, write a quick script to get the job done. Of course, you'll have to have a peek inside the author's code to find the password update or insert routine and use the same SQL code you find in the script. For example, if the author used PHP's md5 function, you need to do the same.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved