![]() |
|
|
#1 |
|
Архивный участник
Join Date: Jun 2005
Posts: 262
|
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/ |
|
|
|
|
#2 | |
|
Архивный участник
Join Date: Jun 2005
Posts: 258
|
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] |
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Feb 2005
Posts: 766
|
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.
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Jun 2005
Posts: 549
|
I need register.asp fix from sql injection please
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Jun 2005
Posts: 104
|
hmmm I think someone made a post about Anti SQL injection... try to search maybe u got lucky on it.
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: May 2005
Posts: 315
|
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
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Apr 2005
Posts: 555
|
Yeap thats cacheD getting owned..
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Oct 2005
Posts: 153
|
so how to fix cached acces?
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Sep 2005
Posts: 455
|
Everytime some one bumps this, I laugh harder and harder at those images.
|
|
|
|
|