Attached is a patch that fixes the following unicode decoding error.
Traceback (most recent call last):
File "/usr/lib64/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14364, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "powerfuzzer.py", line 1457, in write_dic_to_box
self.rtc.WriteText("'"+x+"' => '"+dic[x]+"' ")
File "/usr/lib64/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/richtext.py", line 2464, in WriteText
return _richtext.RichTextCtrl_WriteText(*args, **kwargs)
File "/usr/lib64/python2.5/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xbf in position 13: unexpected code byte
Logged In: YES
user_id=875832
Originator: YES
File Added: powerfuzzer-unicode-take2.patch
Logged In: YES
user_id=875832
Originator: YES
I also was able to trigger this issue. I'm attaching an updated patch to fix this as well.
Traceback (most recent call last):
File "/usr/lib64/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14364, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "powerfuzzer.py", line 1441, in write_to_box
self.rtc.WriteText(msg)
File "/usr/lib64/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/richtext.py", line 2464, in WriteText
return _richtext.RichTextCtrl_WriteText(*args, **kwargs)
File "/usr/lib64/python2.5/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xbf in position 28: unexpected code byte
File Added: powerfuzzer-render-payload.patch
A patch to properly render payloads when writing to the GUI
Logged In: YES
user_id=875832
Originator: YES
File Added: powerfuzzer-render-payload.patch