diff --git a/lib/msf/ui/console/command_dispatcher/core.rb b/lib/msf/ui/console/command_dispatcher/core.rb index 569e474807..ea69e43dd4 100644 --- a/lib/msf/ui/console/command_dispatcher/core.rb +++ b/lib/msf/ui/console/command_dispatcher/core.rb @@ -670,12 +670,8 @@ class Core # Provides an interface to the sessions currently active in the framework. # def cmd_sessions(*args) - if (args.length == 0) - args.unshift("-h") - end - begin - method = nil + method = 'list' quiet = false verbose = false sid = nil @@ -1635,4 +1631,4 @@ protected end -end end end end \ No newline at end of file +end end end end