Skip to content

Athanasios Kostopoulos

Security / Berlin

  • About me
  • Blog

Category: Ruby

One liner hexdumper in Ruby :-)

File.open(ARGV[0] || “a.out”,”rb”).each_byte { |byte| printf “\\x%02x”, byte }

Published October 14, 2009
Categorized as Ruby, Uncategorized
Athanasios Kostopoulos
Blog at WordPress.com.
  • Follow Following
    • Athanasios Kostopoulos
    • Already have a WordPress.com account? Log in now.
    • Athanasios Kostopoulos
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar