Created
November 11, 2021 04:05
-
-
Save zhuowei/726dfc76df87d6d5807ca37e1d515cfb to your computer and use it in GitHub Desktop.
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
zhuowei@faith:~/softsim$ ruby src/demo_client.rb -s tcp -p 23366 --host 192.168.1.13 -t info -v 5 | |
/home/zhuowei/softsim/src/lib/apdu.rb:140: warning: key 28493 is duplicated and overwritten on line 140 | |
"-s" | |
"-p" | |
"--host" | |
"-t" | |
"-v" | |
[state] state set to not_connected | |
[client] connecting | |
[msg send] < CONNECT_REQ (00) | |
[msg send] MaxMsgSize (00) : ff ff | |
[IO] < (12) 00 01 00 00 00 00 00 02 ff ff 00 00 | |
[IO] select | |
[state] state changed from not_connected to connection_under_negociation | |
[IO] activity | |
[IO] > (23) 01 01 00 00 01 00 00 01 00 00 00 00 01 00 00 08 00 00 01 01 00 00 00 | |
[parsing] 01 01 00 00 01 00 00 01 00 00 00 00 01 00 00 08 00 00 01 01 00 00 00 | |
[parsed] 01 01 00 00 01 00 00 01 00 00 00 00 | |
[msg get] > CONNECT_RESP (01) | |
[msg get] ConnectionStatus (01) : OK, Server can fulfill requirements (00) | |
[parsing] 01 00 00 08 00 00 01 01 00 00 00 | |
#<Thread:0x00005562b8b372a0 /home/zhuowei/softsim/src/sap/client.rb:50 run> terminated with exception (report_on_exception is true): | |
Traceback (most recent call last): | |
3: from /home/zhuowei/softsim/src/sap/client.rb:51:in `block in start' | |
2: from /home/zhuowei/softsim/src/sap/common.rb:189:in `start' | |
1: from /home/zhuowei/softsim/src/sap/common.rb:387:in `parse_messages' | |
/home/zhuowei/softsim/src/sap/common.rb:343:in `parse_messages': wrong number of parameters : 0 instead of 1-2 (RuntimeError) | |
Traceback (most recent call last): | |
3: from /home/zhuowei/softsim/src/sap/client.rb:51:in `block in start' | |
2: from /home/zhuowei/softsim/src/sap/common.rb:189:in `start' | |
1: from /home/zhuowei/softsim/src/sap/common.rb:387:in `parse_messages' | |
/home/zhuowei/softsim/src/sap/common.rb:343:in `parse_messages': wrong number of parameters : 0 instead of 1-2 (RuntimeError) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment