aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-03-03 21:45:58 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-03-03 21:45:58 +1300
commitf2e3a4e9d299e03c6afd45c0850871a150e23649 (patch)
treeeb0ab6524b6c7657f5314b0b5f55b51d2f1543e8 /tools
parent194a7d0c93ff49690cf90ec9ec696f37b68492a6 (diff)
downloadtrackermap-server-f2e3a4e9d299e03c6afd45c0850871a150e23649.tar.gz
trackermap-server-f2e3a4e9d299e03c6afd45c0850871a150e23649.tar.bz2
trackermap-server-f2e3a4e9d299e03c6afd45c0850871a150e23649.zip
Update hex test file
Diffstat (limited to 'tools')
-rwxr-xr-xtools/hex.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/hex.sh b/tools/hex.sh
index 6e008b027..13e366674 100755
--- a/tools/hex.sh
+++ b/tools/hex.sh
@@ -8,6 +8,5 @@
# This will cause an unknown device error for "-e".
#
-echo 234c233335323936343035313930383636343b4e410d0a2342233131303931343b3130323133323b353032372e35303732383b4e3b30333032362e32303336393b453b312e3937393b3238382e3137303b4e413b4e413b4e413b4e413b4e413b3b4e413bd091d0b0d182d0b0d180d0b5d18f3a333a31303020250d0a | perl -ne 's/([0-9a-f]{2})/print chr hex $1/gie' | nc -v -w 10 localhost 5039
-#echo -n -e "\x0f\x00\x00\x00\x4e\x52\x30\x39\x46\x30\x34\x31\x35\x35\x00" >/dev/udp/localhost/5053
-
+#echo 3e52505631393535352b343533383431382d303733393531383530303032303231323b49443d393939393b2a37423c0d0a | perl -ne 's/([0-9a-f]{2})/print chr hex $1/gie' | nc -v -w 10 localhost 5039
+echo 3e52505631393535352b343533383431382d303733393531383530303032303231323b49443d393939393b2a37423c0d0a | perl -ne 's/([0-9a-f]{2})/print chr hex $1/gie' > /dev/udp/localhost/5057