Last active
November 4, 2016 14:19
-
-
Save boxofrad/7288dad874ff82c4f3e52262137885f3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'hexdump' | |
BUFFER_SIZE = 1024 | |
loop do | |
data = socket.recv(BUFFER_SIZE) | |
Hexdump.dump(data) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment