Skip to content

Commit e0fef48

Browse files
committed
Land rapid7#6126, fix SSH_DEBUG from LoginScanner refactor
2 parents 2e1f1fd + f00f905 commit e0fef48

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

modules/auxiliary/scanner/ssh/ssh_login.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ def run_host(ip)
121121
framework_module: self,
122122
)
123123

124+
scanner.verbosity = :debug if datastore['SSH_DEBUG']
125+
124126
scanner.scan! do |result|
125127
credential_data = result.to_h
126128
credential_data.merge!(

modules/auxiliary/scanner/ssh/ssh_login_pubkey.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,8 @@ def run_host(ip)
214214
framework_module: self,
215215
)
216216

217+
scanner.verbosity = :debug if datastore['SSH_DEBUG']
218+
217219
scanner.scan! do |result|
218220
credential_data = result.to_h
219221
credential_data.merge!(

0 commit comments

Comments
 (0)