Skip to content

UnicodeDecodeError #1

Open
Open

Description

@Tirguy

I've just installed on Windows 10 (all update) Python 3.11
I try to execute this script, but receive :

C:\temp>python BitLockerCrack.py f: <class 'UnicodeDecodeError'>

How to resolv this problem ???
Thank's a lot,
Tirguy

Activity

  1. Azthur commented on Jan 24, 2023

    @Azthur

    Remove

    if ("admini") in (resultX.stdout.decode('utf-8')):
    print("You need to run this script with Administrator previlidges!")
    break
    elif ("error occurred") in (resultX.stdout.decode('utf-8')):
    print("Maybe that drive doesn't exist or some other problems have occured!")
    break
    elif ("is already unlocked") in (resultX.stdout.decode('utf-8')):
    print("Seems like that drive is already unlocked!")
    break
    if not(os.path.exists(args.Drive_Letter)):
    perc = ItemsX[countr%(len(ItemsX))]
    print(str(countr)+" tries!" + "{}".format(perc), end = "\r")
    print("", end = "\r")
    else:
    print(resultX.stdout.decode('utf-8'))
    print(resultX.args[4] + " seems to have worked! Congratulations!")
    break

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions