Page 1 of 1

How can I intercept responses from browsers?

Posted: Wed 10. Oct 2007, 02:05
by MattDwyer
My server has been discovered by hackers who keep trying to insert external url's that point to a php script of their own into any GET they can find.

What I would like to do is to intercept all responses from browsers so I can check the string for http:// If I see that (its never present in legitimate traffic), I want to alter it so that its always invalid.

Where do I need to insert my parse function so that I always get first look at strings returned by browsers? Another goal is to introduce a random delay just for these hackers.

Posted: Wed 10. Oct 2007, 09:30
by update
Perhaps the following is of help / interest:
http://www.phpwcms.de/forum/viewtopic.php?t=15830

Posted: Wed 10. Oct 2007, 09:40
by MattDwyer
I found this thread which answered all my questions and more..

http://www.phpwcms.de/index.php?id=1,40,0,0,1,0