deibit/cansina

8-bit bytestrings?

Closed this issue · 2 comments

When running /SecLists-master/Discovery/Web_Content/raft-large-directories-lowercase.txt I get:

Unknown exception: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.  File "cansina.py", line 332, in <module>
    if not manager.get_a_task(visitors_alive):
  File "/root/tools/cansina/core/dbmanager.py", line 58, in get_a_task
    self.process(task)
  File "/root/tools/cansina/core/dbmanager.py", line 80, in process
    response_code=:response_code", record)
None

any ideas?

I can reproduce it, so a proper fix should arrive soon (I hope).

Fixed (I hope it is) in 8d13d2f

Tested in Python 2 and 3, with Raft's lists. Thanks for reporting it, Jason.