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

Encoding error when opening files_Exploits.csv #14

Open
DanielRbgr opened this issue Oct 1, 2023 · 0 comments
Open

Encoding error when opening files_Exploits.csv #14

DanielRbgr opened this issue Oct 1, 2023 · 0 comments

Comments

@DanielRbgr
Copy link

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant