Metasploit mailing list archives

Re: metasploit http server


From: egypt () metasploit com
Date: Mon, 12 Jul 2010 00:02:21 -0600

That's not how the module works.  The template is meant only as a
template, it's not a complete webserver and it doesn't serve files
that way.  If you want a module that just serves files like a regular
webserver, it would be fairly easy to write it yourself (but then why
aren't you using a regular webserver?).

Hope this helped,
egypt

2010/7/8 skif <skif2008 () gmail com>:
Hi
I create index.html containing a link to the file, which is in the same
directory as the index.html itself.
in msfconsole
use auxiliary / server / capture / http
set TEMPLATE path / index.html
run

When browser connect to this server, the page opens, but when clicked the
link the page just reloads and file not downloaded.
If right-click on the link and select "Save Target As ...", then saved the
only index.html, but not file.
If you open the page in a browser directly from the disk (file-> open), then
click file link - save dialog opens, ie everything works as expected.
What's the problem download file via the server?
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework


_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework


Current thread: