Community discussions

MikroTik App
 
goftari
just joined
Topic Author
Posts: 4
Joined: Wed Feb 01, 2012 12:35 am

Customizing web proxy HTML error page

Mon Feb 13, 2012 9:51 am

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?
 
smytht
Trainer
Trainer
Posts: 87
Joined: Wed Jun 06, 2007 6:35 pm
Location: Tipperary / Dublin & Ireland
Contact:

Re: Customizing web proxy HTML error page

Tue Feb 21, 2012 4:46 am

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
 
User avatar
saintofinternet
Forum Veteran
Forum Veteran
Posts: 768
Joined: Thu Oct 15, 2009 3:52 am

Re: Customizing web proxy HTML error page

Mon Jun 08, 2015 1:50 pm

any update on changing the $(signature) variable??

Who is online

Users browsing this forum: No registered users and 22 guests