Skip to content

Commit

Permalink
fix var type problem
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/svn/framework3/trunk@12858 4d416f70-5f16-0410-b530-b9f4589650da
  • Loading branch information
darkoperator committed Jun 5, 2011
1 parent 68d8a68 commit de931d5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/meterpreter/multicommand.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"-rc" => [ true,"Text file with list of commands, one per line."]
)
#Setting Argument variables
commands = nil
commands = []
script = nil
outfile = nil
help = 0
Expand Down Expand Up @@ -77,7 +77,6 @@ def usage
if not ::File.exists?(script)
raise "Command List File does not exists!"
else
commands ||= ''
::File.open(script, "r").each_line do |line|
commands << line.chomp
end
Expand Down

0 comments on commit de931d5

Please sign in to comment.