Skip to content

Commit 53077d4

Browse files
committed
Add a newline before the delete message
1 parent cfd05bc commit 53077d4

File tree

1 file changed

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

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ def cmd_hosts(*args)
340340
# Finally, handle the case where the user wants the resulting list
341341
# of hosts to go into RHOSTS.
342342
set_rhosts_from_addrs(rhosts.uniq) if set_rhosts
343+
343344
print_status("Deleted #{delete_count} hosts") if delete_count > 0
344345
}
345346
end
@@ -524,6 +525,7 @@ def cmd_services(*args)
524525
# Finally, handle the case where the user wants the resulting list
525526
# of hosts to go into RHOSTS.
526527
set_rhosts_from_addrs(rhosts.uniq) if set_rhosts
528+
527529
print_status("Deleted #{delete_count} services") if delete_count > 0
528530

529531
}
@@ -835,6 +837,7 @@ def cmd_creds(*args)
835837
end
836838

837839
set_rhosts_from_addrs(rhosts.uniq) if set_rhosts
840+
838841
print_status("Deleted #{delete_count} credentials") if delete_count > 0
839842
}
840843
end

0 commit comments

Comments
 (0)