GodGenesis icon indicating copy to clipboard operation
GodGenesis copied to clipboard

decode error

Open Werneror opened this issue 2 years ago • 1 comments

If the output of the command contains illegal characters(for example, Chinese characters), decode will fail. c2c.py will not receive the message and will be stuck. So you should add the argument errors="ignore" when decoding the command output in payload.py.

Werneror avatar Oct 31 '22 08:10 Werneror

By the way, it seems that in payload.py, the except branch should not just have a pass statement, but should send an error message to c2c.py, otherwise c2c.py will get stuck.

Werneror avatar Oct 31 '22 08:10 Werneror