rapid7/metasploit-framework — pull request #3355 by wchen-r7 (2014-05-13 01:18:44+00:00)
Title: Support acitve_module datastore options

See #3302.

To verify:

- [ ] If you're on a module, when you set a LHOST or LPORT, the script should use that.
- [ ] If you're not on a module (that'd be the msf prompt), the script should fall back to framework's options instead.
- [ ] If Nothing is set, the script should automatically set a LHOST and/pr LPORT.