noraj / haiti

:key: Hash type identifier (CLI & lib)
https://noraj.github.io/haiti/
MIT License
742 stars 55 forks source link

Add VeraCrypt / TrueCrypt #154

Closed noraj closed 9 months ago

noraj commented 10 months ago

There are tons of variants listed at https://hashcat.net/wiki/doku.php?id=example_hashes

github-actions[bot] commented 10 months ago

Hey, thank you for opening this issue! 🙂 To boost priority on this issue and support open source please tip the team at https://issuehunt.io/r/noraj/haiti/issues/154

Abhinandan-Khurana commented 9 months ago

Hey! Can you please assign this issue to me. I would love to contribute!

noraj commented 9 months ago

Thanks, You can work on it.

Abhinandan-Khurana commented 9 months ago

Do I need to add all the variants for VeraCrypt and TrueCrypt? Also, I updated the prototypes.json but not getting the result when running the haiti.rb, even though while debugging I get the VeraCrypt varients -->

puts HashIdentifier::PROTOTYPES.inspect

and -->

hi = HashIdentifier.new("$veracrypt$0c9d7444e9e64a833e857163787b2f6349224bdb4bbf788ce25156c870514226674725be3eebc3f2a2c2ee8adbf8bb3ec1405a333e8e091cec0c5aa77fa9b650$48ca01d954912bf3a3b1c38c00297a33ea0e014156ce08d9526150c085e5e2776a1faeb272c6e9539f466f4f93ffe6497c77d3aed54ffcdf1a3e6171cffac7b2ad96bd9e7cc553058894058def68beea05891b0ce734b6a166b8a5f24b4052fc7014b424bd6c33c9d710fb409cdf1a6c7567c1ba6a3010b03f9bda8aa2ef6733542d198a316da0c83106a6c31043f11ac191169db3db994493168ea996737355ccff84f27f6792b3dc87025d3594edb9e759ba3885980df17bc8c751ce3aba0df67aa7997906348729e81c4893cc654dc6b1da3ff7c588a327f45b8acff976d0593cc607dad48a25468d7c3ebc6dd49aa32fc526dd513852cdec4b36f3683b4998800afa25bb968c242d4c66b9b0c77b20d7bd40ffb403e9e087990d59c94ee7d36e9ebfa35a310bab963c253596e6bc89f67d5307823851c526ac789d0628a3eb81f2cdfd7d7612d8be1dade1b17f30aa2bb5d02eb8534caca0c334a269085939a5041c4ad112d325b1bfe3e9851bfdcad80bbc05ecbddc3f2ac09e2ad7182daf6ca5ccc510a100514f5d2dce1ff5046e0c8e7edf0bdc27f8fcdf4e9b3bce786c24bfa28dacee65ee8c913fc18eee5df61b8a43224f3a9c4e1b5de7b600d9e0")
puts hi.type.inspect

image

need a little help..

noraj commented 9 months ago

You can see on the documentation page https://noraj.github.io/haiti/#/pages/install in the Development section on the No install tab. How you can run the library or CLI app on the way while developing without installing it. You can also use binding.irb for debugging. You can also check your regexp are working online on https://regex101.com/ before coding.

Abhinandan-Khurana commented 9 months ago

Thank you for guiding me I'm still new to Ruby and might have missed a few things, but I wanted to contribute to the repo. I'll definitely use your tips as I continue to learn and contribute

noraj commented 9 months ago

@Abhinandan-Khurana Have you been able to work on this?

noraj commented 9 months ago
Abhinandan-Khurana commented 9 months ago

Yes, I have done it, I'll do a pull request. Sorry for the late reply.