10月12日

findcrypt下载的是github项目, 负责人似乎没维护好,插件源码findcrypt3.py里的195行出错

IDA运行加密算法识别插件findcrypt-yara报错‘module’ object has no attribute’set_name’

                idc.set_name(value[0], name
                             + "_"
                             + hex(self.toVirtualAddress(string[0], offsets)).lstrip("0x").rstrip("L").upper()
                             , 0)

读 IDA\IDC源码, 发现只有 idaapi.py 有 set_name()函数,idc.py里没有。而且 findcrypt3.py 导入了idaapi模块, 所以只要把idc.set_name() 改成 idaapi.set_name(),插件即可正常运行。

已把此修改提交给github作者。https://github.com/polymorf/findcrypt-yara/pull/13

相关文章:

  • 2021-04-07
  • 2022-12-23
  • 2021-11-10
  • 2022-12-23
  • 2022-12-23
  • 2022-02-26
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
  • 2021-09-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案