![]() |
SQL Hacked, GM's Made, Fixes?
Our SQL got hacked somehow. We believe it was an injection using the reg pages. The people made themselves GM's, and causes chaos all over the server. I've heard this has happened before. I banend their accounts, and added their IP bans to authD using the blockips.txt method, and took reg down temporarily. Is there any hard fix to this to stop hackers from getting control over our server?
Look at the damage caused here: http://www.mmj.pl/~perceptio/hack/ |
Re: SQL Hacked, GM's Made, Fixes?
Quote:
[php:1:03d1f9c685]function check_inject() { $badchars = array(";", "'", "\"", "*", "DROP", "SELECT", "UPDATE", "DELETE", "-"); foreach($_POST as $value) { if(in_array($value, $badchars)) { die("SQL Injection Detected\n \nIP: ".$_SERVER['REMOTE_ADDR']); ** else { $check = preg_split("//", $value, -1, PREG_SPLIT_OFFSET_CAPTURE); foreach($check as $char) { if(in_array($char, $badchars)) { die("SQL Injection Detected\n \nIP: ".$_SERVER['REMOTE_ADDR']); ** ** ** ** ** [/php:1:03d1f9c685] |
Hum just are you blocking access to port 2109 by any chances? I mean what makes u say it was SQL injection and not someone accessing trough cached.
|
I need register.asp fix from sql injection please
|
hmmm I think someone made a post about Anti SQL injection... try to search maybe u got lucky on it.
|
close all ports. we was the same problem but in our server no was time for a hack like it.
only open l2 and html ports. And be carefull whit interactive ports :) |
Yeap thats cacheD getting owned..
|
so how to fix cached acces?
|
Everytime some one bumps this, I laugh harder and harder at those images.
|
| All times are GMT. The time now is 15:21. |