Skip to content

Commit 6917710

Browse files
author
HD Moore
committed
Handle a null reply properly, small bug fix
1 parent 2260e4b commit 6917710

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/fuzzers/ssh/ssh_kexinit_corrupt.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def run
8787
end
8888

8989
if(not @banner)
90-
print_status("The service may have crashed (no banner): iteration:#{cnt-1} method=#{last_inp} string=#{last_str.unpack("H*")[0]} ")
90+
print_status("The service may have crashed (no banner): iteration:#{cnt-1} method=#{last_inp} string=#{last_str.to_s.unpack("H*")[0]} ")
9191
return
9292
end
9393

0 commit comments

Comments
 (0)