rapid7/metasploit-framework — pull request #226 by kernelsmith (2012-03-10 01:53:03+00:00)
Title: added -o,--options to list the options for a payload

per request from egypt
note: uses ::Msf::Serializer::ReadableText.dump_options to dump options

usage:
/msf# ./msfvenom -p "windows/meterpreter/reverse_tcp" -o
[*] Options for payload/windows/meterpreter/reverse_tcp

Name Current Setting Required Description
---- --------------- -------- -----------
EXITFUNC process yes Exit technique: seh, thread, process, none
LHOST 10.100.10.201 yes The listen address
LPORT 6868 yes The listen port