Land #7244, Sort msfvenom --help-platforms and --help-formats

bug/bundler_fix
wchen-r7 2016-08-25 14:45:43 -05:00
commit 53f209f2f6
No known key found for this signature in database
GPG Key ID: 2384DB4EF06F730B
2 changed files with 2 additions and 2 deletions

View File

@ -2264,9 +2264,9 @@ require 'msf/core/exe/segment_appender'
"msi-nouac",
"osx-app",
"psh",
"psh-cmd",
"psh-net",
"psh-reflection",
"psh-cmd",
"vba",
"vba-exe",
"vba-psh",

View File

@ -116,7 +116,7 @@ def parse_args(args)
supported_platforms = []
Msf::Module::Platform.subclasses.each {|c| supported_platforms << "#{c.realname.downcase}"}
msg = "Platforms\n" +
"\t" + supported_platforms * ", "
"\t" + supported_platforms.sort * ", "
raise HelpError, msg
end