aboutsummaryrefslogtreecommitdiff
path: root/tools/hex.sh
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-04-18 11:01:56 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-04-18 11:01:56 +1200
commit936c764e5aa6becc44ba41f25414c454c38b4b9c (patch)
tree3e040a255f63f3be2a19b539dd4a9131e36544b7 /tools/hex.sh
parent9391d6110334587814bdd38ad2b156c35e625cec (diff)
downloadtrackermap-server-936c764e5aa6becc44ba41f25414c454c38b4b9c.tar.gz
trackermap-server-936c764e5aa6becc44ba41f25414c454c38b4b9c.tar.bz2
trackermap-server-936c764e5aa6becc44ba41f25414c454c38b4b9c.zip
Tools hex TCP by default
Diffstat (limited to 'tools/hex.sh')
-rwxr-xr-xtools/hex.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/hex.sh b/tools/hex.sh
index 13e366674..bfc60c0a9 100755
--- a/tools/hex.sh
+++ b/tools/hex.sh
@@ -8,5 +8,5 @@
# This will cause an unknown device error for "-e".
#
-#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
+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