Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Some preliminary issues #1

Open
4 of 5 tasks
bee-san opened this issue Jun 27, 2020 · 1 comment
Open
4 of 5 tasks

Some preliminary issues #1

bee-san opened this issue Jun 27, 2020 · 1 comment

Comments

@bee-san
Copy link

bee-san commented Jun 27, 2020

  • Add multi threading support
  • Create a class structure (turn it into a class or use functions)
  • for loop through a wordlist is slow. STEGCRACKER follows this same principle. It's very, very slow and if the password is at the back, it won't work for hours and hours and hours. Here's a better methodology:

Checking for passwords

  1. Multi threadding
    Have one start at the back, and one start at the front. Have them both go through the list at the same time, and meet in the middle.
  2. Random sampling
    Randomly select chunks of passwords from the list, and assign them to a worker (multi threaded). Make sure to not include those chunks in future workers. This has the benefit that if the password is in the middle, you stand a higher chance of getting it.

I think Rockyou is sorted by frequency (?) so maybe (1) is better.

  • use the GPU for hash cracking (difficult but makes it fast)
  • Refactor the code (similar to class) so you minimise the amount of code needed.

imo, most of the code should be on on multi threading / grabbing passwords / speed from the dict. If you do these 3 things really, really well then you can still have a very impressive tool while having a small selection of hash crackers. 😄

Overall, really good project. And I love where this is going 😄

Edit: It may be worth it to automatically detect hashes too, instead of passing a type to them. You can do this by checking their length, for example. As all hashes follow strict length guidelines.

@0xblackbird
Copy link
Owner

0xblackbird commented Jun 27, 2020

Thank you Brandon!

I really appreciate it, without your input I would never know how I would reduce the execution time of the script! Multi-threading was something that I would be adding in the beginning when the tool got released, unfortunatly I got accross some issues which I couldn't fix at that time that's why I left it. But I promise I will add all of the features/functions mentioned above and try to improve the performance of the script!
Cracking hashes using GPU will take some time to implement, but I will get there!
And of course the selection of hash types will grow more and more in the future!

Thank you!

@0xblackbird 0xblackbird pinned this issue Jun 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants