advancedfuture Posted December 17, 2008 Share Posted December 17, 2008 My site has been running for about 3 months now on my dedicated server. There has been no issue's whatsoever. All of the sudden about an hour ago it went down. As you can see at http://www.dial1auto.com I have made NO CHANGES at all to the database, or to the sites files. It just stopped working. I logged into the server, and the database is still there and everything. I don't know what to do I am rather lost. Quote Link to comment Share on other sites More sharing options...
advancedfuture Posted December 17, 2008 Author Share Posted December 17, 2008 okay I figured out somehow the database password was erased. I dont know HOW this happened. I think I might have been hacked. Any idea's on how I can see what happened? Quote Link to comment Share on other sites More sharing options...
om Posted December 17, 2008 Share Posted December 17, 2008 My site has been running for about 3 months now on my dedicated server. There has been no issue's whatsoever. All of the sudden about an hour ago it went down. As you can see at http://www.dial1auto.com I have made NO CHANGES at all to the database, or to the sites files. It just stopped working. I logged into the server, and the database is still there and everything. I don't know what to do I am rather lost. may be some one has changed your password in the php script which makes connection with the database: Because I found the following errors on clicking the login button without values, Warning: include(dbConnect.php) [function.include]: failed to open stream: No such file or directory in /usr/local/apache/htdocs/admin/dologin.php on line 8 Warning: include() [function.include]: Failed opening 'dbConnect.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /usr/local/apache/htdocs/admin/dologin.php on line 8 Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /usr/local/apache/htdocs/admin/dologin.php on line 10 Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /usr/local/apache/htdocs/admin/dologin.php on line 10 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/local/apache/htdocs/admin/dologin.php on line 14 Incorrect login name or password. Please try again. USE JAVASCRIPT TO VALIDATE THE INPUT AT CLIENT SIDE. DISABLE LOGIN BUTTON UNTIL VALUES ARE NOT FILLED ALSO USE CAPTCHA Quote Link to comment Share on other sites More sharing options...
om Posted December 17, 2008 Share Posted December 17, 2008 okay I figured out somehow the database password was erased. I dont know HOW this happened. I think I might have been hacked. Any idea's on how I can see what happened? mAY BE YOU HAVE SOME EASY TO USE FILENAMES FOR YOUR SCRIPT AND NOT CHECKED FOR POSTINGS OR GIVEN ACCESS TO YOU HOSTING SPACE USING SOME THING LIKE FILE UPLOAD ETC. Quote Link to comment Share on other sites More sharing options...
fenway Posted December 17, 2008 Share Posted December 17, 2008 okay I figured out somehow the database password was erased. I dont know HOW this happened. I think I might have been hacked. Any idea's on how I can see what happened? Restart the server with skip grants. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.