Page 1 of 1

Customizing web proxy HTML error page

Posted: Mon Feb 13, 2012 9:51 am
by goftari
I want to change the web proxy error page content on my Mikrotik routerboard, the content of the webproxy/error.html page is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<title>ERROR: $(status)</title></head>

<body><h2>ERROR: $(status)</h2>

<hr noshade size="1px"/>

$(if error)

<p>While trying to retrieve the URL <a href="$(url)">$(url)</a>:</p>

<ul><li><strong>$(error)</strong></li></ul>

$(endif)

<p>Your cache administrator is <a href="mailto:$(admin)">$(admin)</a>.

$(signature)

</body></html>
What I want to change is inside the signature variable, which includes the time the page is generated at, a link to contact the proxy admin and the local address of routerboard, and some text. The question is, where can I edit the signature variable?

Re: Customizing web proxy HTML error page

Posted: Tue Feb 21, 2012 4:46 am
by smytht
Im not sure what the Signature Is for ... however, I would suggest the following,

1) Remove the URL from the webpage (this causes false positives ) in relation to Web Scanner Software for XSS

2) Remove the Time / Date fro the Webpage as this gives an attacker the Time on the Proxy (gives them feedback if they have successfully distroted the Time on the Proxy Box

Re: Customizing web proxy HTML error page

Posted: Mon Jun 08, 2015 1:50 pm
by saintofinternet
any update on changing the $(signature) variable??