diff --git a/lib/rex/text.rb b/lib/rex/text.rb index 1227111cc6..58a919b04a 100644 --- a/lib/rex/text.rb +++ b/lib/rex/text.rb @@ -453,7 +453,7 @@ module Text end chunk.unpack("C*").each do |c| - if (c > 0x19 and c < 0x80) + if (c > 0x1f and c < 0x80) buf << c.chr else buf << "."