Jump to content
MakeWebGames

Recommended Posts

Posted

hey, well the owner of the site i help out on, found a spammer, so he put him in jail, and as soon as that happened, our whole site went down with the error "FATAL ERROR: Could not connect to database on localhost (Access denied for user 'krakisgod'@'localhost' (using password: YES))" , now i gather someone called krakisgod tried getting into our database, but is there anyway to turn off this error, as players cant play the game, if anyone could add me on msn, thatd be great, [email protected] .

Posted

(Access denied for user 'krakisgod'@'localhost' (using password: YES))"

 

Someone connected to your Cpanel and changed the password.

If Cpanel password is changed, it won't connect to your game.

That or you changed it and didnt update your config file :p

Posted

password hasnt been changed, i still login with the same, so you say it may be in the config file? ill go take a look and update with what i find

Posted

It is possible you have had a shell uploaded and someone tinkered with your config file.

Did you do any updates and add a differant config file perhaps?

Check the password in your config and make sure it matches your cpanel, then change them both to be safe.

Posted

and how would i fix that? btw , could an sql inject be used to get our admins to do it without them knowing, as the head admin says he did click on his profile, and i have yet to secure our display pic

Posted

Lazy-T dont you have some games you want to go hack? You're probably the one that was in on it ;)

 

UPDATE:

There were various files that weren't secured, some have been, some still are open as he had to go for the time being.

He had removed his installer.php by the time I signed up and checked it out, but he had it on earlier today, which is the most propable cause of the hack.

PEOPLE---REMOVE your installer :\

Secure your Inputs

Posted

He had removed his installer.php by the time I signed up and checked it out, but he had it on earlier today, which is the most propable cause of the hack.

It wasn't the most probable - it was the cause of the hack.

I know that without looking at his game, just reading through this thread. He didn't mention anything else that the 'hacker' (I use that term lightly) did to his game. His database tables weren't dropped, no extra admins were created, his paypal links weren't changed... just the database information was altered in his config.php. What does installer.php do? It just alters the database information in his config.php.

You got lucky, this was an easy fix. It could have been much, much worse. Especially if (as I would presume) you don't make daily backups of your database.

:)

Posted

Unfortunately his entire game is leaky, pref, preport, breport, forums, etc the list goes on

Helping him get some fixes down so it won't happen again easily.

Funny story to this---Was testing his game for loop holes when he was logged on and we were testing everything

So used a few meta tag hack re-directs to see if they'd work

They did, so we started repairing. Well, he never removed the re-directs so certain parts of his site were re-directing to mine, now his "assistant" who is unaware of the situation, thinks I am hacking his game and starts spamming on mine :P

This will be fun when the owner logs back on :P

Giving free help and get spammed on my forums ><

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...