Metasploit mailing list archives

Re: mods to psexec


From: HD Moore <hdm () metasploit com>
Date: Thu, 25 Mar 2010 07:48:40 -0500

On 3/25/2010 6:59 AM, Robin Wood wrote:
Hi
I've been asked by a colleague how easy it would be to modify psexec
so it would take multiple hosts rather than a single one. Each session
that came back would then be backgrounded or sent off to a
multi-handler.

Before I spend any time looking into doing this I wanted to check if
there was any better way to do it or if the functionality already
existed in other modules. If not then I'll have a look and see if I
can come up with some code.

You can handle this with db_autopwn now, but controlling the options is
a little tough and they would all need separate listeners. You can use a
multi/handler with DisablePayloadHandler set to true to iterate across
multiple hosts, but the iteration part would need to be implemented
either an RC script (with the new Ruby blocks) or a plugin.

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


Current thread: