diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-09 20:21:30 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-09 20:21:30 +1300 |
commit | 3c93192e8a2a392fe9ddf7bdcd512a7d6cceb3a9 (patch) | |
tree | efe13db5bd9939b36ad104d4445e8d006efab7ca /hex.sh | |
parent | a7100fa9749a343a77c747a2cca8ae9e2faf91cb (diff) | |
download | trackermap-server-3c93192e8a2a392fe9ddf7bdcd512a7d6cceb3a9.tar.gz trackermap-server-3c93192e8a2a392fe9ddf7bdcd512a7d6cceb3a9.tar.bz2 trackermap-server-3c93192e8a2a392fe9ddf7bdcd512a7d6cceb3a9.zip |
Fix GT06 protocol
Diffstat (limited to 'hex.sh')
-rwxr-xr-x | hex.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1 +1 @@ -echo 2424613133382C3031323839363030303437353439382C4141412C33352C2D362E3133383330362C3130362E3931303635352C3132313230353130333430392C412C332C31312C302C302C312C33362C343138322C33343834372C3531307C31307C303038317C344634462C303030302C303030427C303030437C303030417C303846367C303030302C2C2A44350D0A | perl -ne 's/([0-9a-f]{2})/print chr hex $1/gie' | nc -v localhost 5020 +echo 78780d0103534190360660610001e0cd0d0a | perl -ne 's/([0-9a-f]{2})/print chr hex $1/gie' | nc -v -w 10 localhost 5023 |