Skip to content

Commit 98cee82

Browse files
committed
Move non-active DB messages to warning and clarify/simplify
1 parent fd7e65d commit 98cee82

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/msf/core/auxiliary/report.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,31 @@ def create_cracked_credential(opts={})
1616
if active_db?
1717
super(opts)
1818
else
19-
print_error "There does not appear to be a functioning DB, Credential Data will not be saved!"
19+
vprint_warning('No active DB -- Credential data will not be saved!')
2020
end
2121
end
2222

2323
def create_credential(opts={})
2424
if active_db?
2525
super(opts)
2626
else
27-
print_error "There does not appear to be a functioning DB, Credential Data will not be saved!"
27+
vprint_warning('No active DB -- Credential data will not be saved!')
2828
end
2929
end
3030

3131
def create_credential_login(opts={})
3232
if active_db?
3333
super(opts)
3434
else
35-
print_error "There does not appear to be a functioning DB, Credential Data will not be saved!"
35+
vprint_warning('No active DB -- Credential data will not be saved!')
3636
end
3737
end
3838

3939
def invalidate_login(opts={})
4040
if active_db?
4141
super(opts)
4242
else
43-
print_error "There does not appear to be a functioning DB, Credential Data will not be saved!"
43+
vprint_warning('No active DB -- Credential data will not be saved!')
4444
end
4545
end
4646

0 commit comments

Comments
 (0)