Skip to content

Encoding error when opening files_Exploits.csv #14

@DanielRbgr

Description

@DanielRbgr

I encountered an encoding error when opening the files_exploits.csv. When opening the current up-to-date csv from the ExploitDB Repo (Commit cbe784b0 from 09.09.2023), I got an UnicodeDecodeError 'charmap' codec can't decode byte 0x9d in position 3767: character maps to <undefined>.

Solution was to change main.py, line 33 to
with open(pdir + "/exploitdb/files_exploits.csv", encoding="utf8") as files:

If the encoding variable was not left out intentionally, maybe add this to the repo? If it was left out intentionally, you can close the issue :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions