Created
September 18, 2013 14:28
-
-
Save sucotronic/6609999 to your computer and use it in GitHub Desktop.
send raw bytes (have to bin hex) by UDP to an ip and port
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
#!/bin/bash | |
echo -n 022364018095 | perl -pe 's/([0-9a-f]{2})/chr hex $1/gie' | nc -4u -q1 -p5001 192.168.0.100 5000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment