Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report: Unhandled exception "UnicodeEncodeError: 'gbk' codec can't encode character '\u032b' in position 38: illegal multibyte sequence" (#c8270b10) #878

Closed
commixreporter opened this issue Dec 14, 2023 · 1 comment

Comments

@commixreporter
Copy link

Commix version: 3.9-dev#24
Python version: 3.7.3
Operating system: nt
Command line: commix.py -u ******************************* 
Traceback (most recent call last):
  File "commix.py", line 35, in <module>
    main()
  File "commix.py", line 30, in main
    import src.core.main
  File "main.py", line 834, in <module>
    main(filename, url)
  File "main.py", line 533, in main
    controller.do_check(url, http_request_method, filename)
  File "controller.py", line 760, in do_check
    perform_checks(url, http_request_method, filename)
  File "controller.py", line 690, in perform_checks
    get_request(url, http_request_method, filename, timesec)
  File "controller.py", line 575, in get_request
    injection_proccess(url, check_parameter, http_request_method, filename, timesec)
  File "controller.py", line 365, in injection_proccess
    classic_command_injection_technique(url, timesec, filename, http_request_method)
  File "controller.py", line 209, in classic_command_injection_technique
    if cb_handler.exploitation(url, timesec, filename, http_request_method, injection_type, technique) != False:
  File "cb_handler.py", line 425, in exploitation
    if cb_injection_handler(url, timesec, filename, http_request_method, injection_type, technique) == False:
  File "cb_handler.py", line 383, in cb_injection_handler
    logs.executed_command(filename, cmd, shell)
  File "logs.py", line 177, in executed_command
    output_file.write(re.compile(re.compile(settings.ANSI_COLOR_REMOVAL)).sub("",settings.INFO_SIGN) + "Execution output: " +  output + "\n")
UnicodeEncodeError: 'gbk' codec can't encode character '\u032b' in position 38: illegal multibyte sequence
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related issues.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants