a0rtega / metame

metame is a metamorphic code engine for arbitrary executables

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What's the problem

playplaya opened this issue · comments

root@XS4325421825:/var/uuu# metame -i ups.exe -o s.exe
[INFO] Opening file with r2
[INFO] Analyzing functions with r2
Traceback (most recent call last):
File "/usr/local/bin/metame", line 5, in
metame.main()
File "/usr/local/lib/python2.7/dist-packages/metame/init.py", line 20, in main
patches = r.iterate_fcn()
File "/usr/local/lib/python2.7/dist-packages/metame/r2parser.py", line 34, in iterate_fcn
arch = x86handler.X86Handler(self.bits, self.debug, self.force)
File "/usr/local/lib/python2.7/dist-packages/metame/x86handler.py", line 73, in init
ks_mode = KS_MODE_32 if self.bits == 32 else KS_MODE_64
NameError: global name 'KS_MODE_32' is not defined
root@XS4325421825:/var/uuu# metame --help

THE File is winx86