Please note, this is a STATIC archive of website hashcat.net from October 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.

hashcat Forum

Full Version: Feature request
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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();
hashcat is not open source. You cannot do this with hashcat.