Metasploit mailing list archives
Re: mods to psexec
From: Robin Wood <dninja () gmail com>
Date: Thu, 25 Mar 2010 13:33:02 +0000
On 25 March 2010 12:48, HD Moore <hdm () metasploit com> wrote:
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.
I've just had this link passed over which looks like it will do the job. http://blog.rapid7.com/?p=5133 Not quite the way I was thinking of doing it but it looks like what he was after. Robin _______________________________________________ https://mail.metasploit.com/mailman/listinfo/framework
Current thread:
- mods to psexec Robin Wood (Mar 25)
- Re: mods to psexec HD Moore (Mar 25)
- Re: mods to psexec Robin Wood (Mar 25)
- Re: mods to psexec Ulisses Castro (Mar 25)
- Re: mods to psexec Nelson (Mar 25)
- Re: mods to psexec Danilo Nascimento (Mar 26)
- Re: mods to psexec Nelson (Mar 25)
- Re: mods to psexec HD Moore (Mar 25)