Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

[PATCH] Blocking those pesky hackers

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #21  
Old 04-13-2008, 11:13 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default Re: [PATCH] Blocking those pesky hackers

What about the lines like

@@ -146,7 +146,7 @@

In the patch file what do they mean?
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #22  
Old 04-13-2008, 11:33 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: [PATCH] Blocking those pesky hackers

Those lines give the line number of where the edit starts, it's to help you figure out where you need to edit (not always the exact line number, but the lines are usually in the same area)
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #23  
Old 04-13-2008, 12:37 PM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default Re: [PATCH] Blocking those pesky hackers

Ok cheers, was just curious.
The patch wouldn't work for me anyway even by doing it manually as comparing the files between my version 4.0.5 and the ones in the patch some don't exist.

Didn't think it would but I do like to tinker now and again
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #24  
Old 04-13-2008, 09:03 PM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: [PATCH] Blocking those pesky hackers

I'll be releasing a patch for 4.0 soon
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #25  
Old 04-14-2008, 03:17 AM
  Sutekh's Avatar 
Sutekh Sutekh is offline
 

Advanced Member
  
Join Date: Oct 2006
Posts: 41
 

Default Re: [PATCH] Blocking those pesky hackers

Wonderful stuff! Thankyou.
__________________
Regards, Scott.
http://www.pocketselect.com

using:
X-Cart PRO 4.0.18 (modified)
Linux, Apache 1.3, MySQL 4.1.22, PHP 4.4.7
Reply With Quote
  #26  
Old 04-14-2008, 06:01 AM
 
Jerrad Jerrad is offline
 

X-Adept
  
Join Date: Nov 2004
Location: The Netherlands
Posts: 484
 

Default Re: [PATCH] Blocking those pesky hackers

Quote:
Originally Posted by intel352
I'll be releasing a patch for 4.0 soon

That's great news - looking forward to it!
__________________
X-Cart 4.0.12
Heavy modified with paid, free and forum mods.
PHP 5.2.5 | MYSQL 5.0.51a
Reply With Quote
  #27  
Old 04-14-2008, 08:21 AM
 
homeworldz homeworldz is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 68
 

Default Re: [PATCH] Blocking those pesky hackers

Installed and working perfect..

I ran a http:// script myself and got banned just to test it, works a treat.

I'll have to keep an eye on the list to see what people are upto.
__________________
x-cart 4.1.9
Reply With Quote
  #28  
Old 05-04-2008, 06:26 PM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default Re: [PATCH] Blocking those pesky hackers

I would like to know what sort of things someone can do when using a link like this on your site.

Is it bandwidth theft for spammers, or are they trying more malicious things with your site / software / server?

I run Scan Alert, and they always add new things to the scan to harden server against, but this is something I guess I have little knowledge of and it would be nice to know what sort of things may be attempted against us with this activity.

Nice mod by the way, looking for more released as discussed earlier in the thread. This has been affective in banning two folks so far, one in US and another from Spain.
__________________
vs 4.1.12
Reply With Quote
  #29  
Old 06-05-2008, 11:49 PM
 
Scotty85 Scotty85 is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 94
 

Default Re: [PATCH] Blocking those pesky hackers

Great mod!

Is there any reason why I can use this patch and intentionally try a bogus URL and it works perfectly.... but if I add an IP manually to the stop list, it does nothing?


By the way... these are the hits I'm getting lately.. and they're not being blocked.

Quote:

Unregistered customer 06-06-2008
01:54:15 06-06-2008
01:54:15 .../manufacturers.php?manufacturerid=245&catid=http%3A %2F%2Ftargi.pc-tuning.pl%2Fimages%2Fnews%2Faqa%2Fcib%2F&page=1&so rt=title&sort_direction=0
Unregistered customer 06-06-2008
01:54:14 06-06-2008
01:54:14 .../manufacturers.php?manufacturerid=245&catid=http%3A %2F%2Fwww.vlopezalvarez.com%2FPersonal%2FFotos%2FV iajes%2Fxaj%2Focaceg%2F&page=1&sort=title&sort_dir ection=0
Unregistered customer 06-06-2008
01:54:14 06-06-2008
01:54:14 .../manufacturers.php?manufacturerid=245&catid=http%3A %2F%2Fwww.northfans.ch%2Fforum%2Fadmin%2Fsettings% 2Focoyo%2Fser%2F&page=1&sort=title&sort_direction= 0
Unregistered customer 06-06-2008
01:54:11 06-06-2008
01:54:11 .../manufacturers.php?manufacturerid=245&catid=286&dse fu=off
Unregistered customer 06-06-2008
01:54:11 06-06-2008
01:54:11 .../home.php?cat=397&sort=price&sort_direction=http%3A %2F%2Fwww.meijers.com%2Fimages%2Fproducts%2Fubemeb e%2Facuj%2F
Unregistered customer 06-06-2008
01:54:10 06-06-2008
01:54:10 .../home.php?cat=397&sort=price&sort_direction=http%3A %2F%2Fwww.service-exposants.com%2Fstore%2Fiyi%2Fzobakiq%2F
Unregistered customer 06-06-2008
01:54:10 06-06-2008
01:54:10 .../home.php?cat=397&sort=price&sort_direction=http%3A %2F%2Fwww.service-exposants.com%2Fstore%2Fiyi%2Fzobakiq%2F
Unregistered customer 06-06-2008
01:54:09 06-06-2008
01:54:09 .../home.php?cat=397&sort=http%3A%2F%2Frabotnitsa.ru%2 Fjoomla__%2Fadministrator%2Fbackups%2Farim%2Fzaf%2 F&sort_direction=0

__________________
Xcart Version 4.1.9
Upgraded to 4.1.10 (clean install with mods added back)
Reply With Quote
  #30  
Old 06-05-2008, 11:55 PM
 
Scotty85 Scotty85 is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 94
 

Default Re: [PATCH] Blocking those pesky hackers

I just noticed something else....

Should we be worried about any of the re-write mods being used against us?

Quote:

Unregistered customer 06-06-2008
01:53:54 06-06-2008
01:53:54 .../manufacturers.php?manufacturerid=245&catid=http%3A %2F%2Fsans-packing.ru%2Fimg%2Fjipeqap%2Fehudute%2F&dsefu=off
Unregistered customer 06-06-2008
01:53:52 06-06-2008
01:53:52 .../manufacturers.php?manufacturerid=245&catid=http%3A %2F%2Fwww.bowlaw.com%2Fpractice_areas%2Fogi%2Fitey u%2F&dsefu=off
Unregistered customer 06-06-2008
01:53:51 06-06-2008
01:53:51 .../manufacturers.php?manufacturerid=245&catid=http%3A %2F%2Fwww.tcmforum.com%2Flayout%2Foxiqade%2Fonese% 2F&dsefu=off
Unregistered customer 06-06-2008
01:53:50 06-06-2008
01:53:50 .../manufacturers.php?manufacturerid=http%3A%2F%2Fwww. uxbridgerotary.org%2Fsurvey%2Ftmp%2Fisefa%2Fnowu%2 Fyocav%2F&catid=286&dsefu=off
Unregistered customer 06-06-2008
01:53:49 06-06-2008
01:53:49 .../manufacturers.php?manufacturerid=http%3A%2F%2Fwww. pattibus.it%2Fphplib-7.2b%2Fpages%2Fgodot%2Folule%2F&catid=286&dsefu=of f
Unregistered customer 06-06-2008
01:53:49 06-06-2008
01:53:49 .../manufacturers.php?manufacturerid=http%3A%2F%2Fmsla youts.ws%2Ficons%2Fadministrator%2Fcomponents%2Fco m_menus%2Fetotag%2Fqeba%2F&catid=286&dsefu=off

__________________
Xcart Version 4.1.9
Upgraded to 4.1.10 (clean install with mods added back)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:11 AM.

   

 
X-Cart forums © 2001-2020