GodGenesis
GodGenesis copied to clipboard
decode error
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
.
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.