• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Gesior hack

AnarchGov

Member
Joined
Oct 3, 2011
Messages
263
Reaction score
6
I have the redirect hack on my site. What does that mean? Basically when you type my sites url it gets automatically directed to someone elses site. Now i have searched for solutions but all of them seem to be solved in the database. I can no longer access my database since this problem occurred. How do i fix this problem? Or at least gain access to my database again? Please help.

REP++

P.S. I have read in other posts that it is a hack in the news ticker. I think i need to access my database to get rid of it though.

Thanks OTLAND.

Oh and, please do not reply with "use modernAcc". Even if i do switch, i still need to figure this out first.

ALSO, i use uniserver.

EDIT: I have also edited the admin access under my config.php so this cannot happen again. So i know how to prevent it, my problem is getting rid of it :P.
 
Last edited:
Well, i mean i knew that was a solution from the beginning. The point of this thread was to find a way to fix it without having to start from scratch haha.
 
Why can you not access your database? What is the error? If you use something like phpmyadmin you shouldn't get redirected if your news ticker is causing the redirect.

If you don't have phpmyadmin and can't delete the news ticker from your website, try connecting to mysql through command line and truncating all news tickers.

TRUNCATE `z_news_tickers`;

MySQL :: MySQL 5.5 Reference Manual :: 4.5.1 mysql — The MySQL Command-Line Tool
example: mysql -u username -p -h localhost databasename
 
Why can you not access your database? What is the error? If you use something like phpmyadmin you shouldn't get redirected if your news ticker is causing the redirect.

If you don't have phpmyadmin and can't delete the news ticker from your website, try connecting to mysql through command line and truncating all news tickers.

TRUNCATE `z_news_tickers`;

MySQL :: MySQL 5.5 Reference Manual :: 4.5.1 mysql — The MySQL Command-Line Tool
example: mysql -u username -p -h localhost databasename

I get this error when i try to access my database:


Error
MySQL said:

#2002 - No connection could be made because the target machine actively refused it.

The server is not responding (or the local server's socket is not correctly configured).
Connection for controluser as defined in your configuration failed.


And yes i use phpmyadmin. Now is there another way to remove the news ticker from my website other than through the database?
 
Honestly its been so long since i installed it i do not remember. Where can i check the version i am using?

P.S. I am fairly positive it is the newest version. But like i said i am not sure.
 
If you're not able to login to mysql through command line or phpmyadmin then you might have a bigger problem then just a hijacked news ticker. Try restarting your mysql server and try to connect again.

If that does not work, try visiting a page on your website that does not show news tickers. Does it work and connect to the database?

Example: http://www.yourwebsite.com/?subtopic=highscores

If the database is working fine and your website and game server can connect to it then you'll need to find out why phpmyadmin/mysql command line does not work as well. If you don't care about them, you could always just make a quick php script that'll clear news tickers and execute it once.
 
If you're not able to login to mysql through command line or phpmyadmin then you might have a bigger problem then just a hijacked news ticker. Try restarting your mysql server and try to connect again.

If that does not work, try visiting a page on your website that does not show news tickers. Does it work and connect to the database?

Example: http://www.yourwebsite.com/?subtopic=highscores

If the database is working fine and your website and game server can connect to it then you'll need to find out why phpmyadmin/mysql command line does not work as well. If you don't care about them, you could always just make a quick php script that'll clear news tickers and execute it once.

I tested other parts of my website. The only page that gets redirected is my latest news page(which has the ticker). I have also tried restarting the connection. Still have the same problem though. As far as news tickers, i only had one. So i would not mind clearing it at all. How would i do this though without access to phpmyadmin(my database). By the way, thank you for your help.

ALSO: The server itselft seems to be able to run and connect to the database fine. I can log on as well.
 
Last edited:
Back
Top