mdeous / exploitdb

Shell-style script to search exploit-db.com exploits.

Home Page:http://mdeous.github.io/exploitdb/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3

c0r3dump3d opened this issue · comments

  • exploitdb version: the version from github
  • Python version: 3.5.2
  • Operating System: blackarch Linux

Description

Run ./exploitdb.py
I try to run the application and I have an error

What I Did

./exploitdb.py   
Traceback (most recent call last):
  File "./exploitdb.py", line 272, in <module>
    main()
  File "./exploitdb.py", line 262, in main
    es = ExploitSearch()
  File "./exploitdb.py", line 61, in __init__
    self.load_csv()
  File "./exploitdb.py", line 121, in load_csv
    for index, entry in enumerate(reader):
  File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2712: ordinal not in range(128)

I can't reproduce the error using Python 3.5.2 on ArchLinux. From your traceback it seems to be caused by a character it couldn't decode in the CSV file. Does deleting the exploits folder and re-running the script helps?

@c0r3dump3d do you still have this problem?

@c0r3dump3d as it's been a year without any update and I can't reproduce this issue, I'm closing it. Feel free to comment and re-open it if you still have the issue after deleting the exploits folder.