Sha256: 121a51fb64fa3931ea341dda6c66dccdcdef1fae1ac89462a125216898fc9a29

Contents?: true

Size: 421 Bytes

Versions: 744

Compression:

Stored size: 421 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require 'optparse'

opts = {}
OptionParser.new do |options|
  options.banner = "USAGE:
    #{$PROGRAM_NAME} [opts]
  "

  options.on('-pSTRING', '--payload=STRING', '<Required - String to Encode>') do |p|
    opts[:payload] = p
  end
end.parse!

if opts.empty?
  puts `#{$PROGRAM_NAME} --help`
  exit 1
end

payload = opts[:payload].to_s.scrub
puts payload.unpack('C*')

Version data entries

744 entries across 744 versions & 1 rubygems

Version Path
pwn-0.5.60 bin/pwn_char_dec_encoding
pwn-0.5.59 bin/pwn_char_dec_encoding
pwn-0.5.58 bin/pwn_char_dec_encoding
pwn-0.5.57 bin/pwn_char_dec_encoding
pwn-0.5.55 bin/pwn_char_dec_encoding
pwn-0.5.54 bin/pwn_char_dec_encoding
pwn-0.5.53 bin/pwn_char_dec_encoding
pwn-0.5.52 bin/pwn_char_dec_encoding
pwn-0.5.51 bin/pwn_char_dec_encoding
pwn-0.5.50 bin/pwn_char_dec_encoding
pwn-0.5.49 bin/pwn_char_dec_encoding
pwn-0.5.47 bin/pwn_char_dec_encoding
pwn-0.5.46 bin/pwn_char_dec_encoding
pwn-0.5.45 bin/pwn_char_dec_encoding
pwn-0.5.44 bin/pwn_char_dec_encoding
pwn-0.5.43 bin/pwn_char_dec_encoding
pwn-0.5.42 bin/pwn_char_dec_encoding
pwn-0.5.41 bin/pwn_char_dec_encoding
pwn-0.5.40 bin/pwn_char_dec_encoding
pwn-0.5.39 bin/pwn_char_dec_encoding