We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d97e33 commit 557dffdCopy full SHA for 557dffd
modules/auxiliary/scanner/ssl/openssl_heartbleed.rb
@@ -534,7 +534,7 @@ def loot_and_report(heartbeat_data)
534
# Keep this many duplicates as padding around the deduplication message
535
duplicate_pad = (DEDUP_REPEATED_CHARS_THRESHOLD / 3).round
536
537
- # Remove duplicate characters
+ # Remove duplicate characters
538
abbreviated_data = printable_data.gsub(/(.)\1{#{(DEDUP_REPEATED_CHARS_THRESHOLD - 1)},}/) { |s|
539
s[0,duplicate_pad] +
540
' repeated ' + ( s.length - (2 * duplicate_pad) ).to_s + ' times ' +
0 commit comments