How can I intercept responses from browsers?
Posted: Wed 10. Oct 2007, 02:05
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.
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.