Skip to content

Commit d387e2b

Browse files
committed
fix. vuln detection
Signed-off-by: RAMELLA Sebastien <[email protected]>
1 parent 44bf40f commit d387e2b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/auxiliary/scanner/ssh/ssh_erlangotp.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,9 @@ def run_host(target_host)
153153
begin
154154
sock.get_once(1024, 5)
155155
# when the target is vulnerable you get at this step: rescue Rex::TimeoutError
156-
rescue EOFError
156+
rescue EOFError, Errno::ECONNRESET
157157
# when the target is NOT vulnerable/patched at this step.
158+
print_error(message('The target is not vulnerable to CVE-2025-32433.'))
158159
return Exploit::CheckCode::Safe
159160
end
160161
sock.close

0 commit comments

Comments
 (0)