View Full Version : How to change server banner in Apache/2.0.48
Fedoran00bi
2004-03-22, 02:51 PM CST
Im looking to change my server banner.
Apache/2.0.48 (Fedora) Server at mybox Port 80
to
Whatever I want here at mybox Port 80
Thanks in Advance-
h4d
2004-03-22, 03:17 PM CST
http://httpd.apache.org/docs/mod/core.html#servertokens
Check that out. With the ServerTokens directive I believe you can specify how much you want to give away about your box, but not really write whatever you want there. If you find a way let us know!
Fedoran00bi
2004-03-22, 05:31 PM CST
I just changed my httpd.conf's
ServerToken ProductOnly
and now my server banner request looks like:
Apache Server at 127.0.0.1 Port 80
instead of this:
Apache/2.0.48 (Fedora) Server at 127.0.0.1 Port 80
-----------------
I also heard, if you edit the httd.h in the apache package that you can edit, and create anything u want like..
Calculator at 127.0.0.1 Port 80
instead of
Apache Server at 127.0.0.1 Port 80
redhat71
2004-03-22, 08:25 PM CST
since you use the word "banner", i suppose you actually mean the ServerSignature
if that's the case, you can disable it and use a customized README.html instead
here's an example:
http://redhat71.3322.org/tmp/
Fedoran00bi
2004-03-22, 09:08 PM CST
That would be cool.
How can I do that?
Thnx
redhat71
2004-03-22, 10:04 PM CST
modify httpd.conf to:
1, "ServerSignature Off"
2, "ReadmeName /README.html"
then creat a README.html file in you web root and put whatever you want to show up in it
but this is not about how to change the signature, it's simply a fake by disabling the signature and putting something else in its place
Fedoran00bi
2004-03-22, 10:14 PM CST
True, cause I can use nmap to fingerprint and bamm it says "Apache" heh.
redhat71
2004-03-23, 06:19 AM CST
Originally posted by Fedoran00bi
True, cause I can use nmap to fingerprint and bamm it says "Apache" heh.
this is just for fun, you can't count on it to fool anyone or anything @_@
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.