Skip to content

Commit c9574a4

Browse files
whootpbarry-r7
authored andcommitted
Update telpho10_credential_dump.rb
output correction
1 parent 05ee51a commit c9574a4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

modules/auxiliary/admin/http/telpho10_credential_dump.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,8 @@ def dump_creds(mysql_file)
8383
print_good('Username: ' + 'cn=admin,dc=localdomain')
8484
print_good('Password: ' + config.first[/ldappassword\',\'(.*?)\'/, 1] + "\n")
8585

86-
asterisk_header = 'Asterisk MI (port 5038)'
87-
print_status(asterisk_header)
88-
print_status('-' * asterisk_header.length)
86+
print_status('Asterisk MI (port 5038)')
87+
print_status('-----------------------')
8988
print_good('Username: ' + config.first[/manageruser\',\'(.*?)\'/, 1])
9089
print_good('Password: ' + config.first[/managersecret\',\'(.*?)\'/, 1] + "\n")
9190

0 commit comments

Comments
 (0)