IIS-Raid
IIS-Raid copied to clipboard
There is some error when run iis_controller.py
File ".\iis_controller.py", line 7
SyntaxError: Non-ASCII character '\xe2' in file .\iis_controller.py on line 8, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
so i delete the banner string and there another error when use "cmd net user"
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xc5 in position 13: invalid continuation byte
I tried changing the file encoding but not sure what to use.
What is the language your OS is using ?
What is the language your OS is using ?
Chinese Simple
i change response = base64.b64decode(encoded_response).decode('utf-8')
to response = base64.b64decode(encoded_response)
it's work well, but still unuseable the banner string
decode('gb2312')