Skip to content

Commit 557dffd

Browse files
author
Tom Spencer
committed
Fixed extra space at end of line
1 parent 4d97e33 commit 557dffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/ssl/openssl_heartbleed.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ def loot_and_report(heartbeat_data)
534534
# Keep this many duplicates as padding around the deduplication message
535535
duplicate_pad = (DEDUP_REPEATED_CHARS_THRESHOLD / 3).round
536536

537-
# Remove duplicate characters
537+
# Remove duplicate characters
538538
abbreviated_data = printable_data.gsub(/(.)\1{#{(DEDUP_REPEATED_CHARS_THRESHOLD - 1)},}/) { |s|
539539
s[0,duplicate_pad] +
540540
' repeated ' + ( s.length - (2 * duplicate_pad) ).to_s + ' times ' +

0 commit comments

Comments
 (0)