samisadder
06-27-2009, 02:56 AM
hello,
my website is running fine on my local machine, while it is not working on the server, (windows shared hosting and dotnetpannel)
It was working fine since 5 months with no problems, since 2 weeks i faced hacking due to bad coding which gave the hackers the possiblitly to push a shell and hack my site, I fixed every thing and i closed the bug of my code.
later after few days, my site was not opening, i thought it was hacked again, i checked all files and code, and searched if there is any shell and found it was 100% clean of hacking files, and to be more sure i zipped the website on the server and downloaded it to local machine and scanned with my antivirus after unzipping, and was clean, i tried to check it under the localhost of my local IIS and it worked perfectly...
I noticed that the log file of the site is very big for 1 day ( about 200MB), and the total size for 3 days log was about 900MB..
I ckecked the last log file and found that there was unbelievable number of hits from one IP conituous over 24 hours for the whole day...
I checked the other logs and found same thing...
I tried to find an option in the dotnetpannel to block this IP from accessing the website, and i did not find such option... (I think must be developed in future)..
I searched online how to block IP address from accessing website and found a way of creating .htaccess and place it in the wwwroot for the website, i tried but did not work.
so I wrote to the hosting company and they blocked the IP and site worked again with no problem, I asked them why .htaccess file did not work and they said (windows server do not support this kind of order).
Unfortanitly and this morning my site is not working again for the same reason, and i found it was another IP address attacking continuously with no stop...
i cant tell the company 100 times if the attacker have 100 IP, i need a way which i can control such issue with my hands...
any idea?
thanks to all
my website is running fine on my local machine, while it is not working on the server, (windows shared hosting and dotnetpannel)
It was working fine since 5 months with no problems, since 2 weeks i faced hacking due to bad coding which gave the hackers the possiblitly to push a shell and hack my site, I fixed every thing and i closed the bug of my code.
later after few days, my site was not opening, i thought it was hacked again, i checked all files and code, and searched if there is any shell and found it was 100% clean of hacking files, and to be more sure i zipped the website on the server and downloaded it to local machine and scanned with my antivirus after unzipping, and was clean, i tried to check it under the localhost of my local IIS and it worked perfectly...
I noticed that the log file of the site is very big for 1 day ( about 200MB), and the total size for 3 days log was about 900MB..
I ckecked the last log file and found that there was unbelievable number of hits from one IP conituous over 24 hours for the whole day...
I checked the other logs and found same thing...
I tried to find an option in the dotnetpannel to block this IP from accessing the website, and i did not find such option... (I think must be developed in future)..
I searched online how to block IP address from accessing website and found a way of creating .htaccess and place it in the wwwroot for the website, i tried but did not work.
so I wrote to the hosting company and they blocked the IP and site worked again with no problem, I asked them why .htaccess file did not work and they said (windows server do not support this kind of order).
Unfortanitly and this morning my site is not working again for the same reason, and i found it was another IP address attacking continuously with no stop...
i cant tell the company 100 times if the attacker have 100 IP, i need a way which i can control such issue with my hands...
any idea?
thanks to all
