Metasploit mailing list archives
msfcli script for multiple targets
From: hdm at metasploit.com (H D Moore)
Date: Fri, 28 Nov 2008 18:22:18 -0600
You would be better off using the new db_autopwn features to launch a specific exploit against multiple targets. In terms of msfcli scripting, it has to be done 100% external to the framework (shell script, perl, ruby, whatever). The msfconsole interface has the ability to run scripts (resource files, -r, resource command) as well as do semi-intelligent exploit launching via db_autopwn. -HD On Friday 28 November 2008 15:20:29 Antonios Atlasis wrote:
For network pen-testing purposes, I'm trying to use msfcli for multiple targets for a single exploits. I have read that this is possible only using some kind of script. However, in such a case I can't think what the mfcli should return to the script in order this to make a list of the exploitable targets. Are there any suggestions, or an example?
Current thread:
- msfcli script for multiple targets Antonios Atlasis (Nov 28)
- msfcli script for multiple targets H D Moore (Nov 28)