![]() |
|
|
#1 |
|
Архивный участник
Join Date: Aug 2005
Posts: 278
|
Unfortunatly my server got hacked, so im asking for a bit off help, I just ordered a Hardware router ... but until then can someone help me stop this sql injection with the port blocking method, i was told me about gpedit.msc but i cant understand what to do with it.
Since my english isnt perfect just ask me questions when you dont udnerstand ... thanks in advanded .. bob |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Aug 2005
Posts: 278
|
Im using the anti help.htm exploit, the one with l2player....i think i need to modify the client and server signature, CAN some one please please please pm me or post how to change it.
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Jul 2005
Posts: 45
|
SQL injection cannot be blocked by a router or portblocking of any kind. You need a good way to filter out your user input on the registration fields on your server.
Some people have posted ways to get around it on the L2REG asp registration system, and there's a PHP version out also I believe. Personally I wrote my own but I cannot share it for security reasons. |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Aug 2005
Posts: 394
|
what about blocking every ip that comes from outside except on port 2106 and 7777 and only allow the ip of my website(registration)?
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Jul 2005
Posts: 45
|
I am not sure you quite understand how it works. The problem is basically the website creates the open door for infiltration. If you have a server you'll need a web registration for it. If you have web registration you have a site with at least partial access to your database to create the accounts.
So now if your registration system does not properly validate the user input in the login and password fields for example, they can just write out SQL queries in those fields and do what they wish with your database. I heard the asp registration package most servers are using has this vulnerability but I am not exactly sure since I am not using it anyway. Just make sure you restrict the user input to only alphanumeric characters filtering out quotes, brackets, semicolon, period, etc. |
|
|
|
|
#6 | |
|
Архивный участник
Join Date: Aug 2005
Posts: 278
|
Quote:
|
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Mar 2005
Posts: 1,143
|
You need a router/firewall.
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Jul 2005
Posts: 11
|
Well, if you talking about injections through registration. asp/php
{ Block ports to prevent SQL-injections. :roll: You need to learn some basic programing to understand what an SQL-injection is. } |
|
|
|
|