Skip to content

Commit 0a9a8a5

Browse files
committed
Remove double newlines
1 parent bb02cc8 commit 0a9a8a5

File tree

1 file changed

+0
-8
lines changed
  • lib/msf/ui/console/command_dispatcher

1 file changed

+0
-8
lines changed

lib/msf/ui/console/command_dispatcher/db.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,6 @@ def cmd_services(*args)
531531
}
532532
end
533533

534-
535534
def cmd_vulns_help
536535
print_line "Print all vulnerabilities in the database"
537536
print_line
@@ -549,7 +548,6 @@ def cmd_vulns_help
549548
print_line
550549
end
551550

552-
553551
def cmd_vulns(*args)
554552
return unless active?
555553
::ActiveRecord::Base.connection_pool.with_connection {
@@ -633,7 +631,6 @@ def cmd_vulns(*args)
633631
}
634632
end
635633

636-
637634
def cmd_creds_help
638635
print_line "Usage: creds [addr range]"
639636
print_line "Usage: creds -a <addr range> -p <port> -t <type> -u <user> -P <pass>"
@@ -1481,13 +1478,11 @@ def cmd_db_nmap(*args)
14811478
}
14821479
end
14831480

1484-
14851481
# Store some locally-generated data as a file, similiar to store_loot.
14861482
def report_store_local(ltype=nil, ctype=nil, data=nil, filename=nil)
14871483
store_local(ltype,ctype,data,filename)
14881484
end
14891485

1490-
14911486
#
14921487
# Database management
14931488
#
@@ -1579,7 +1574,6 @@ def cmd_db_disconnect(*args)
15791574
end
15801575
end
15811576

1582-
15831577
def cmd_db_rebuild_cache
15841578
unless framework.db.active
15851579
print_error("The database is not connected")
@@ -1637,7 +1631,6 @@ def set_rhosts_from_addrs(rhosts)
16371631
print_line
16381632
end
16391633

1640-
16411634
def db_find_tools(tools)
16421635
found = true
16431636
missed = []
@@ -1727,7 +1720,6 @@ def db_parse_db_uri_postgresql(path)
17271720
res
17281721
end
17291722

1730-
17311723
##
17321724
# Miscellaneous option helpers
17331725
##

0 commit comments

Comments
 (0)