Skip to content

Athanasios Kostopoulos

Security / Berlin

  • Blog
  • About me

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.
  • Subscribe Subscribed
    Athanasios Kostopoulos

    Have a WordPress.com account? Log in now.

  • Athanasios Kostopoulos
    View site in Reader
    Manage subscriptionsSign upLog in
    Report this content
    Collapse this bar