Bug #2394

multicommand.rb does not give error message on wrong switches

Added by Lenny Miyasato over 1 year ago. Updated over 1 year ago.

Status:Closed Start date:08/12/2010
Priority:Normal Due date:
Assignee:Carlos Perez % Done:

0%

Category:meterpreter - win32
Target version:Metasploit 3.5.0
Resolution: Release Note:

Description

Just some feedback, when the correct syntax is used for multicommand.rb is used, it runs fine. When the wrong switches are used, it does not provide any negative feedback. In my opinion, this could confuse the user who is using the script. (It confused me for a while).

  • When command is run correctly ***

meterpreter > run multicommand.rb -cl "net localgroup administrators" -f output.txt
[*] Saving output of Command to output.txt
[*] Running Command List ...
[*] running command net localgroup administrators

  • When wrong switches are used ***

meterpreter > run multicommand.rb -c "net localgroup administrators" -f output.txt
[
] Saving output of Command to output.txt
[*] Running Command List ...

meterpreter > run multicommand.rb -x "net localgroup administrators" -f output.txt
[*] Saving output of Command to output.txt
[*] Running Command List ...**

multicommand.options.patch - handle bad syntax (310 Bytes) Jonathan Cran, 08/12/2010 11:36 pm

History

Updated by Jonathan Cran over 1 year ago

  • File multicommand.options.patch added
  • Category set to meterpreter - win32
  • Assignee set to Carlos Perez
  • Target version set to Metasploit 3.5.0

kicking to carlos for now. proposed patch attached.

Updated by Carlos Perez over 1 year ago

  • Status changed from New to Closed

Fixed in 9994

Also available in: Atom PDF