@@ -531,7 +531,6 @@ def cmd_services(*args)
531
531
}
532
532
end
533
533
534
-
535
534
def cmd_vulns_help
536
535
print_line "Print all vulnerabilities in the database"
537
536
print_line
@@ -549,7 +548,6 @@ def cmd_vulns_help
549
548
print_line
550
549
end
551
550
552
-
553
551
def cmd_vulns ( *args )
554
552
return unless active?
555
553
::ActiveRecord ::Base . connection_pool . with_connection {
@@ -633,7 +631,6 @@ def cmd_vulns(*args)
633
631
}
634
632
end
635
633
636
-
637
634
def cmd_creds_help
638
635
print_line "Usage: creds [addr range]"
639
636
print_line "Usage: creds -a <addr range> -p <port> -t <type> -u <user> -P <pass>"
@@ -1481,13 +1478,11 @@ def cmd_db_nmap(*args)
1481
1478
}
1482
1479
end
1483
1480
1484
-
1485
1481
# Store some locally-generated data as a file, similiar to store_loot.
1486
1482
def report_store_local ( ltype = nil , ctype = nil , data = nil , filename = nil )
1487
1483
store_local ( ltype , ctype , data , filename )
1488
1484
end
1489
1485
1490
-
1491
1486
#
1492
1487
# Database management
1493
1488
#
@@ -1579,7 +1574,6 @@ def cmd_db_disconnect(*args)
1579
1574
end
1580
1575
end
1581
1576
1582
-
1583
1577
def cmd_db_rebuild_cache
1584
1578
unless framework . db . active
1585
1579
print_error ( "The database is not connected" )
@@ -1637,7 +1631,6 @@ def set_rhosts_from_addrs(rhosts)
1637
1631
print_line
1638
1632
end
1639
1633
1640
-
1641
1634
def db_find_tools ( tools )
1642
1635
found = true
1643
1636
missed = [ ]
@@ -1727,7 +1720,6 @@ def db_parse_db_uri_postgresql(path)
1727
1720
res
1728
1721
end
1729
1722
1730
-
1731
1723
##
1732
1724
# Miscellaneous option helpers
1733
1725
##
0 commit comments