Password Cracking project

Ask questions about projects relating to: computer science or pure mathematics (such as probability, statistics, geometry, etc...).

Moderators: AmyCowen, kgudger, bfinio, MadelineB, Moderators

Locked
mitchsiegel2139
Posts: 1
Joined: Mon Nov 07, 2016 8:03 am
Occupation: Student

Password Cracking project

Post by mitchsiegel2139 »

I am using the password cracking project and it is taking forever to guess passwords like Test123. I am aslo wondering if i am putting the test your own password right

Code: Select all

    # This is a place for you to set a password of your own
    password0 = "314"
    # Set up the passwords we want to crack. These must be MD5 hash
    # data blocks. Set them up using MD5me like:
    #     'password1=MD5me("ScienceBuddies")'
    #
    password1="68eacb97d86f0c4621fa2b0e17cabd8c"

I put the password in password 1. Is that right? Also why is it taking so long?
Ultra
Former Student Expert
Posts: 38
Joined: Fri Aug 21, 2015 5:54 pm
Occupation: Student: Freshman in College
Project Question: Student volunteer for Ask an Expert
Project Due Date: N/A
Project Status: Not applicable

Re: Password Cracking project

Post by Ultra »

Mitch Siegel,

Thank you for using the Science Buddies forum.

It looks like MD5me is a method. If that is the case, you need to call it like this when you initialize password0:

password0=MD5me("314")

Also, I think password1 has already been declared by the coders at Science Buddies.

Have you tried Science Buddies's example code? The project's description says that it has a weakness; perhaps the author was referring to the speed at which the code cracks passwords.

If you did not use the Science Buddies example code, I would need to see what you have come up with in order to try to see why execution is taking as long as it is. I will warn you that I do not have experience with Python, but it looks similar to some other languages that I have used.

I hope this helps. Please feel free to ask any other questions you might have.


Good luck,

- Ultra
For science!
- Ultra
Locked

Return to “Grades 6-8: Math and Computer Science”