s0md3v/Blazy

Lack of support for unicode

rozie opened this issue · 0 comments

rozie commented
$ python blazy.py 
    ____   _                    
   |  _ \ | |              
   | |_) || |  __ _  ____ _   _ 
   |  _ < | | / _` ||_  /| | | |
   | |_) || || (_| | / / | |_| |
   |____/ |_| \__,_|/___| \__, |
                           __/ |
    Made with <3 By D3V   |___/ 
    
[?] Enter target URL: https://XXXX/wp-login.php
[>] Usernames loaded: 13
[>] Passwords loaded: 25
Traceback (most recent call last):
  File "blazy.py", line 204, in <module>
    find()
  File "blazy.py", line 106, in find
    data = str(f) #Converts the response recieved to string
  File "/home/rozie/programs/Blazy/blaze_venv3/local/lib/python2.7/site-packages/mechanize/_form_controls.py", line 1934, in __str__
    rep.append("  %s" % str(control))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0119' in position 35: ordinal not in range(128)

Tried with Wordpress set up for Polish language, but that looks like general problem as it is very similar to #10