Method: Rex::Text.charset_exclude
- Defined in:
- lib/rex/text.rb
.charset_exclude(keepers) ⇒ String
Returns all chars that are not in the supplied set
1534 1535 1536 |
# File 'lib/rex/text.rb', line 1534 def self.charset_exclude(keepers) [*(0..255)].pack('C*').delete(keepers) end |