Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crack hash new create database #10

Open
Slait opened this issue Nov 15, 2017 · 9 comments
Open

crack hash new create database #10

Slait opened this issue Nov 15, 2017 · 9 comments

Comments

@Slait
Copy link

Slait commented Nov 15, 2017

I was able to create a database
php createidx.php md5 words.txt words-md5.idx

Then I sorted it out
./sortidx -r 4048 words-md5.idx

Checked via test.php

But how do I specify the hash to check, for example: apple (md5: 1F3870BE274F6C49B3E31A0C6728957F)

php test.php md5
Successfully cracked [apple].
Successfully cracked [apple] (as partial match).

How to specify 1F3870BE274F6C49B3E31A0C6728957F to find an apple?

@defuse
Copy link
Owner

defuse commented Nov 17, 2017

Good point, the only way to do that currently is to write a script that uses LookupTable.php like test.php does. I should add a script that takes in hashes on the command line. It might be a while before I have time to do that so if you want to do it I'll gladly accept accept a pull request.

@defuse
Copy link
Owner

defuse commented Apr 5, 2018

@jamesyoungdigital
Copy link

Hi Slait, wrote a little program to do just that.

Please check my repo, it's identical but contains test/lookup_hash.php. It needs some improvements but it works. I'll update with more as I go along here.

@jamesyoungdigital
Copy link

Good point, the only way to do that currently is to write a script that uses LookupTable.php like test.php does. I should add a script that takes in hashes on the command line. It might be a while before I have time to do that so if you want to do it I'll gladly accept accept a pull request.

When I clean the program up, could you accept a pull request for this issue?

@markgc61
Copy link

markgc61 commented Sep 25, 2018 via email

@jamesyoungdigital
Copy link

So you're saying a decent re-write in C++ (why an entire rewrite?) instead of incremental improvements for test cases, and replacements of just the PHP scripts?

I suppose I could re-write everything in C++ and try a few other methods instead of using crackstation's hashdb, but if it works very well and it does, I wonder why I would reinvent the wheel so to speak.

Perhaps... unless I use several commodity machines and e.g. Apache's Hadoop File System and other crazy experiments, just for the heck of it!

@jamesyoungdigital
Copy link

Good point, the only way to do that currently is to write a script that uses LookupTable.php like test.php does. I should add a script that takes in hashes on the command line. It might be a while before I have time to do that so if you want to do it I'll gladly accept accept a pull request.

I've written one. It's hack-ish but it does just that.

@markgc61
Copy link

markgc61 commented Oct 22, 2018

If it all new accounts no hacking maybe he is using a vcc

@skyzedout
Copy link

skyzedout commented May 30, 2020

Hi Slait, wrote a little program to do just that.

Please check my repo, it's identical but contains test/lookup_hash.php. It needs some improvements but it works. I'll update with more as I go along here.

Thanks for the release man,
Perhaps do you know why when using "sortidx" with a large file (+2GB) ,i instantly get "Index sort complete" (when in reality it doesn't sorted anything), or "Not a valid index file"? ,
Currently i splitted the original "words.txt" files in smaller ones,but can't understand why i get this issue,and after all i'm not a c++ veteran :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants