Skip to content

Commit c8bab6a

Browse files
committed
Fix help for timeouts
1 parent f654fea commit c8bab6a

File tree

1 file changed

+9
-1
lines changed
  • lib/rex/post/meterpreter/ui/console/command_dispatcher

1 file changed

+9
-1
lines changed

lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,9 +337,17 @@ def cmd_irb(*args)
337337
'-w' => [ true, 'Retry wait time (seconds)' ],
338338
'-h' => [ false, 'Help menu' ])
339339

340+
def cmd_set_timeouts_help
341+
print_line('Usage: set_timeouts [options]')
342+
print_line
343+
print_line('Set the current timeout options.')
344+
print_line('Any or all of these can be set at once.')
345+
print_line(@@set_timeouts_opts.usage)
346+
end
347+
340348
def cmd_set_timeouts(*args)
341349
if ( args.length == 0 or args.include?("-h") )
342-
cmd_transport_help
350+
cmd_set_timeouts_help
343351
return
344352
end
345353

0 commit comments

Comments
 (0)