Class: Ronin::CLI::Commands::Unescape Private
- Inherits:
-
StringMethodsCommand
- Object
- Core::CLI::Command
- Ronin::CLI::Command
- FileProcessorCommand
- StringProcessorCommand
- StringMethodsCommand
- Ronin::CLI::Commands::Unescape
- Defined in:
- lib/ronin/cli/commands/unescape.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Unescapes each escaped character from a variety of encodings.
Usage
ronin unescape [] [FILE ...]
Options
-f, --file FILE Optional file to process
--string STRING Optional string to process
-M, --multiline Process each line separately
-n, --keep-newlines Preserves newlines at the end of each line
-c, --c Unescapes the data as a C string
-X, --hex Unescape the data as a hex string (ex: ABC\x01\x02\x03...)
-H, --html HTML unescapes the data
-u, --uri URI unescapes the data
--http HTTP unescapes the data
-j, --js JavaScript unescapes the data
-S, --shell Unescapes the data as a Shell String
-P, --powershell Unescapes the data as a PowerShell String
-R, --ruby Unescapes the data as a Ruby String
-Q, --quoted-printable Unescapes the data as Quoted Printable
-x, --xml XML unescapes the data
-h, --help Print help information
Arguments
[FILE ...] Optional file(s) to process
Instance Attribute Summary
Attributes included from MethodOptions
Attributes inherited from StringProcessorCommand
Method Summary
Methods inherited from StringMethodsCommand
Methods included from MethodOptions
#apply_method_options, #initialize
Methods inherited from StringProcessorCommand
#initialize, #print_string, #process_input, #process_string, #run