Quantcast
Channel: hashcat Forum - All Forums
Viewing all articles
Browse latest Browse all 7673

Feature request

$
0
0
Hi,
I'm cracking network unlock code of my phone.
I read hashcat's mannual and did not find where to customize the process that matches my requirements.
Do you have any ideas? Or is there a SDK?

For reference, it's verification is like this:
// those are predefined
char salt[20];
char expected[32];
// result hash
char hash[32];
// user input, numberic only
char code[?];
char buffer[64];

// 1st round
len = strlen(code);
memcpy(buffer, code, len);
memcpy(buffer + len, salt, 20);
SHA256_Transform(buffer, len + 20, hash); // output result into hash
// left rounds
for (i = 0; i < 9; i++) {
SHA256_Transform(hash, 32, hash);
}
//
if (!memcmp(expected, hash, 32))
passed();

Viewing all articles
Browse latest Browse all 7673

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>