Jump to content
Tuts 4 You

Convert String to Int using sscanf (C)


amateur

Recommended Posts

Posted (edited)

Hello.

During coding a keygen i have this issue. The keygenme calculates a SHA-256 which is stored in a string. After that it adds DWORD values of the SHA. Because my english is not so good to explain i put a simpler (similar) example to see whats going on. I have make some progress but i have stuck one this: Why sscanf doesnt put in eax the correct value starting from sha_256[0]. (Eax should contain the value 0x64ec88ca)

spacer.png

How i can fix this?

-Thank you

 

 

Edited by amateur
Addition
Posted

Awesome! I was too close! Thank you very much. I tried the width specifiier but not with the sscanf!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...