Bug #2309

-cl vs -c in multiscript.rb

Added by hunter hunter over 1 year ago. Updated 4 months ago.

Status:Closed Start date:07/28/2010
Priority:Normal Due date:
Assignee:Carlos Perez % Done:

100%

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

Description

In opts.parse, the case is "-c":

when "-c" 
commands = val.gsub(/;/,"\n")

But in exec_opts, the case is "-cl":

"-cl" => [ true,"Collection of scripts to execute. Each script command must be enclosed in double quotes and separated by a semicolon."],

So the script should be changed like:

45,46c45
<
< when "-c"
---

when "-cl"

History

Updated by Joshua J. Drake over 1 year ago

  • Status changed from New to Assigned
  • Assignee set to Carlos Perez

This looks invalid, assigning to Carlos for review/kill duty.

Updated by Carlos Perez over 1 year ago

  • Status changed from Assigned to Closed

Fixed yesterday

Updated by Joshua J. Drake over 1 year ago

  • Category set to meterpreter - win32
  • Target version set to Metasploit 3.5.0
  • % Done changed from 0 to 100
  • Resolution set to fixed

Yep, just noticed you fixed it in r9946. No wonder why it looked invalid, I had the fixed version already =)

Also available in: Atom PDF