squid page manipulation

Carlos Silva security at yourdot-mail.com
Fri Aug 25 00:51:02 UTC 2006


hi,

that's not what i am looking for.
i want a script with squid that changes the default HTML on a page.
someone has a solution?

Best Regards,

Carlos Silva, CSilva
Web: http://www.csilva.org/



Scott Ullrich escreveu:
> On 8/24/06, Carlos Silva <security at 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


More information about the freebsd-current mailing list