Class: Ronin::CLI::Commands::Unescape Private

Inherits:
StringMethodsCommand show all
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 [options] [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

Since:

  • 2.0.0

Instance Attribute Summary

Attributes included from MethodOptions

#method_calls

Attributes inherited from StringProcessorCommand

#input_values

Method Summary

Methods inherited from StringMethodsCommand

#process_string

Methods included from MethodOptions

#apply_method_options, #initialize

Methods inherited from StringProcessorCommand

#initialize, #print_string, #process_input, #process_string, #run

Methods inherited from FileProcessorCommand

#open_file, #process_file, #process_input, #run