We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c447a6 commit 954dee7Copy full SHA for 954dee7
lib/msf/util/exe.rb
@@ -2264,9 +2264,9 @@ def self.to_executable_fmt_formats
2264
"msi-nouac",
2265
"osx-app",
2266
"psh",
2267
+ "psh-cmd",
2268
"psh-net",
2269
"psh-reflection",
- "psh-cmd",
2270
"vba",
2271
"vba-exe",
2272
"vba-psh",
msfvenom
@@ -116,7 +116,7 @@ def parse_args(args)
116
supported_platforms = []
117
Msf::Module::Platform.subclasses.each {|c| supported_platforms << "#{c.realname.downcase}"}
118
msg = "Platforms\n" +
119
- "\t" + supported_platforms * ", "
+ "\t" + supported_platforms.sort * ", "
120
raise HelpError, msg
121
end
122
0 commit comments