lib/ronin/cli/commands/unescape.rb in ronin-2.0.0.beta3 vs lib/ronin/cli/commands/unescape.rb in ronin-2.0.0.beta4

- old
+ new

@@ -41,10 +41,11 @@ # --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 # @@ -96,9 +97,15 @@ option :powershell, short: '-P', desc: 'Unescapes the data as a PowerShell String' do require 'ronin/support/encoding/powershell' @method_calls << :powershell_unescape end + + option :quoted_printable, short: '-Q', + desc: 'Unescapes the data as Quoted Printable' do + require 'ronin/support/encoding/quoted_printable' + @method_calls << :quoted_printable_unescape + end option :ruby, short: '-R', desc: 'Unescapes the data as a Ruby String' do require 'ronin/support/encoding/ruby' @method_calls << :ruby_unescape