From f60bbdd831b9a47a41f246c0e3623b5697ab998a Mon Sep 17 00:00:00 2001 From: Matthew Kienow Date: Thu, 12 Apr 2018 10:51:03 -0400 Subject: [PATCH] Remove cmd notes make_sortable helper method --- lib/msf/ui/console/command_dispatcher/db.rb | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/lib/msf/ui/console/command_dispatcher/db.rb b/lib/msf/ui/console/command_dispatcher/db.rb index c383e9a5cb..985ea6ce59 100644 --- a/lib/msf/ui/console/command_dispatcher/db.rb +++ b/lib/msf/ui/console/command_dispatcher/db.rb @@ -1130,22 +1130,6 @@ class Db end end - def make_sortable(input) - case input - when String - input = input.downcase - when Integer - input = "%016" % input - when Time - input = input.strftime("%Y%m%d%H%M%S%L") - when NilClass - input = "" - else - input = input.inspect.downcase - end - input - end - def cmd_loot_help print_line "Usage: loot " print_line " Info: loot [-h] [addr1 addr2 ...] [-t ]"