Skip to content

problem with non ascii characters #2

@GoogleCodeExporter

Description

@GoogleCodeExporter

> python pwdump.py system SAM 
Administrateur:500:XXXXXXXXXXXXXXXX:YYYYYYYYYYYYYYYY:::
Traceback (most recent call last):
  File "pwdump.py", line 31, in <module>
    dump_file_hashes(sys.argv[1], sys.argv[2])
  File "/tmp/cr/creddump-0.1/framework/win32/hashdump.py", line 244, in
dump_file_hashes
    dump_hashes(sysaddr, samaddr)
  File "/tmp/cr/creddump-0.1/framework/win32/hashdump.py", line 239, in
dump_hashes
    lmhash.encode('hex'), nthash.encode('hex'))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in
position 5: ordinal not in range(128)

I guess it is because of the "Invité" account and the "é" character.


Thanks for this tools, I think it will be useful.

Original issue reported on code.google.com by gerard.h...@gmail.com on 23 Mar 2009 at 8:03

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions