![]() |
Re: [PATCH] Blocking those pesky hackers
I figured there had to be a way to make the part before the HTTP a wildcard of some kind. 8)
One more reason to learn more about PHP. I dabble enough to be dangerous and can reverse-engineer it with the best of them.... just don't fully get the syntax sometimes. |
Re: [PATCH] Blocking those pesky hackers
|
Re: [PATCH] Blocking those pesky hackers
Heh.... I'm not THAT good... LOL
:D/ |
Re: [PATCH] Blocking those pesky hackers
3 Attachment(s)
Here are the two patches plus the sql file for 4.0.x
I tested them on my 4.0.19 and they're working fine. |
Re: [PATCH] Blocking those pesky hackers
@imexhouse: thanks for your contribution!
Hi Scott, this should work: PHP Code:
|
Re: [PATCH] Blocking those pesky hackers
Quote:
Where does this code go, in the auth.php file? Thanks, Mike |
Re: [PATCH] Blocking those pesky hackers
1 Attachment(s)
Hi Mike, yes, it replaces *some* of the code that you would have already added, using the patch file.
So nothing gets confused in copy/paste, here's an updated patch file. EDIT: if you want to use the patch file via X-Cart admin, you'll need to reverse the previous patch (by uploading it to Patch/Upgrade and selecting "yes" for Reverse). Then you'll need to apply this patch. Cheers |
Re: [PATCH] Blocking those pesky hackers
I started getting these URLs in the Users Online log. Is there a way I can block these too?
HTML Code:
|
Re: [PATCH] Blocking those pesky hackers
I've been getting the same code in my logs (;DECLARE%20@S%20CHAR(4000); ....). I did some research: http://isc.sans.org/diary.html?storyid=4844
|
Re: [PATCH] Blocking those pesky hackers
Noticing a lot of these too... anyone got a good solution to block these? They appear to be coming from many different IP addresses, so individual IP blocks would be impratical.
Even if they arent getting in, it would be good to have a way to deflect them before they do figure out a way in. /?';DeCLARE%20@S%20CHAR(4000);SET%20@S=CAST%20AS%20 CHAR(4000));ExEC(@S);............................. ........................... (theres about 1200 characters total according a text editor that I pasted it into that does character count. ) |
All times are GMT -8. The time now is 02:13 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.