mirror of
https://github.com/cemu-project/idapython.git
synced 2026-01-31 01:15:17 +01:00
IDAPython 1.5.1
- Introduced the CLI '?' pseudo-command to retrieve doc strings - Introduced the CLI '!' pseudo-command to shell execute a command - Added IDP/assemble notification event - bugfix: High 64 bit addresses were not parsed correctly in IDA64 - bugfix: AskUsingForm() C function was not wrapped by SWIG - NextHead()/PrevHead() have optional 2nd parameter now
This commit is contained in:
@@ -1644,12 +1644,9 @@ def GetInputMD5():
|
||||
|
||||
@return: MD5 string or None on error
|
||||
"""
|
||||
ua=idaapi.uchar_array(16)
|
||||
ua = idaapi.uchar_array(16)
|
||||
if idaapi.retrieve_input_file_md5(ua.cast()):
|
||||
md5str=""
|
||||
for i in range(16):
|
||||
md5str += "%02x" % ua[i]
|
||||
return md5str
|
||||
return "".join(["%02X" % ua[i] for i in xrange(16)])
|
||||
else:
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user