diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-02-03 16:04:14 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-02-03 16:04:14 +1300 |
commit | 9a63b052bfa097e97522ad809441e5c8e817c098 (patch) | |
tree | f83cb213381a3d6b8f1ca5e27debf64faa3977be /tools/hex.sh | |
parent | 1c46c37b9a2ebe856b1d4b7e2ddf3cf24526dfb6 (diff) | |
download | trackermap-server-9a63b052bfa097e97522ad809441e5c8e817c098.tar.gz trackermap-server-9a63b052bfa097e97522ad809441e5c8e817c098.tar.bz2 trackermap-server-9a63b052bfa097e97522ad809441e5c8e817c098.zip |
Start MTA6 protocol implementation
Diffstat (limited to 'tools/hex.sh')
-rwxr-xr-x | tools/hex.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hex.sh b/tools/hex.sh index fb0fa1a23..3727b7c3a 100755 --- a/tools/hex.sh +++ b/tools/hex.sh @@ -1 +1 @@ -echo 0a0038006cdc0000336bf6506b89aa27f4299f1a000000008c0a343a120f30303030010000000000000008000000302e70720200000004000973c80f00000000 | perl -ne 's/([0-9a-f]{2})/print chr hex $1/gie' | nc -v -w 10 localhost 5012 +echo 504f5354206d6f6e2f677072732e646c6c3f6461746120485454502f312e310d0a486f73743a2034312e3232362e32372e3231310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f62696e6172790d0a436f6e74656e742d4c656e6774683a203136390d0a0d0a69643d38393730313031303035343831313534393030372662696e3d3105010080ff400fde0a0a0fc9edc712399c3006bd0300be00000031e300022c80000000000cc5000000000000000000007f4fffffffa474ff3aff134346f949b04300ae00000031e300022c80000000000cc5000000000000000000007f4fffffffa474fe3aff0c4346f872104300ae00000031e300022c80000000000cc5000000000000000000007f4fff00504f5354206d6f6e2f677072732e646c6c3f6461746120485454502f312e310d0a486f73743a2034312e3232362e32372e3231310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f62696e6172790d0a436f6e74656e742d4c656e6774683a203136390d0a0d0a69643d38393730313031303035343831313534393030372662696e3d3105010080ff400fde0a0a0fc9edc712399c3006bd0300be00000031e300022c80000000000cc5000000000000000000007f4fffffffa474ff3aff134346f949b04300ae00000031e300022c80000000000cc5000000000000000000007f4fffffffa474fe3aff0c4346f872104300ae00000031e300022c80000000000cc5000000000000000000007f4fff00 | perl -ne 's/([0-9a-f]{2})/print chr hex $1/gie' | nc -v -w 10 localhost 5026 |