Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2006 15:26:10 -0400
From:      "Scott Ullrich" <sullrich@gmail.com>
To:        "Carlos Silva" <security@yourdot-mail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: squid page manipulation
Message-ID:  <d5992baf0608241226y312449a0gde2f0704585d0be7@mail.gmail.com>
In-Reply-To: <44EDFAD7.6080503@yourdot-mail.com>
References:  <44EDFAD7.6080503@yourdot-mail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/24/06, Carlos Silva <security@yourdot-mail.com> wrote:
> Hi,
>
> Is that possible to manipulate a page that squid proxies?
> For example, in that page, there is an javascript alert(); function and
> i want to discard that so the browser doesn't see that.
> Basically, I want that squid change the HTML source codes from the pages
> that i download, with matching criterias.

Yes, this should be possible.   While this is not exactly what your
looking for it does modify the images mid-stream so it should be
possible to do the same for the HTML mid-flight.  Take a look at
http://www.ex-parrot.com/~pete/upside-down-ternet.html which is an
interesting idea.

Scott



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d5992baf0608241226y312449a0gde2f0704585d0be7>