Skip to content

Commit adf30c5

Browse files
authored
Update multi_console_command.rb
1 parent 9887ca9 commit adf30c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/meterpreter/multi_console_command.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
################## Function Declarations ##################
3232
# Function for running a list of commands stored in a array, returs string
33-
def list_con_exec(cmdlst)
33+
def list_con_exec(cmdlst, silence)
3434
print_status("Running Command List ...")
3535
cmdout = ""
3636
cmdlst.each do |cmd|
@@ -88,7 +88,7 @@ def usage
8888
if args.length == 0 or help == 1 or commands.nil?
8989
usage
9090
else
91-
list_con_exec(commands)
91+
list_con_exec(commands, silence)
9292
raise Rex::Script::Completed
9393
end
9494

0 commit comments

Comments
 (0)