Nmap Development mailing list archives

Re: http-enum with virtual hosts


From: Patrik Karlsson <patrik () cqure net>
Date: Fri, 1 Jul 2011 21:20:48 +0200

Hi Toni,

When I query /wiki/ on the javascript0.org server, I get "301 Moved Permanently" to 
http://javascript0.org/wiki/Main_Page.
As far as I can tell http-enum does not support redirects nor does it have a probe for /wiki/Main_Page.
That's most likely what's causing your problem.

//Patrik

On Jul 1, 2011, at 7:07 PM, Toni Ruottu wrote:

Maybe there is some other problem. I am running an instance of
Mediawiki at javascript0.org and I understood http-enum would be able
to detect that. Is this correct? Could you try scanning that host to
see if it works for you?

On Fri, Jul 1, 2011 at 6:08 PM, Ron <ron () skullsecurity net> wrote:
http-enum uses the standard http functions, which use (or used to use) stdnse.get_hostname(), which *should* use the 
name supplied on the commandline (unless something's changed).

I tested with vhosts a long time ago and it worked, so if it stopped working then there's something wrong.

Ron

On Fri, 1 Jul 2011 17:23:27 +0300 Toni Ruottu <toni.ruottu () iki fi> wrote:
Is there a way to use http-enum with virtualhosts? I'm running
multiple sites from one IP address, and the content depends on the dns
name. I think http-enum currently ignores the dns name I give to nmap.

  --Toni
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

--
Patrik Karlsson
http://www.cqure.net
http://www.twitter.com/nevdull77

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: