Closed mohammedDehairy closed 11 months ago
Hey @mohammedDehairy!
Hmm, please read the https://github.com/securing/IOSSecuritySuite/issues/30 issue where you can find a step-by-step guide on how to calculate this hash. If it doesn't work, please let me know and I'll verify that
Hi,
i am trying to take advantage of the
MachOParse
to verify the source code integrity at runtime, but the problem is that when i compare the hash code generated by this class for the __Text section with the hash code of the same section in the generated binary on file of our SDK, they don't match.this is the command that i use to generate the on file __Text section hash code:
but this hash never matches with the one generated by the
IOSSecuritySuite
at runtime, can you please help me understand whether how i generate the hash is wrong, or if the hash calculation in theIOSSecuritySuite
is maybe flawed?Thanks