Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vtil.pyd&pyvtil.pyd #7

Open
yimingqpa opened this issue May 20, 2022 · 19 comments
Open

vtil.pyd&pyvtil.pyd #7

yimingqpa opened this issue May 20, 2022 · 19 comments

Comments

@yimingqpa
Copy link

https://share.weiyun.com/OUr2efBz

@yimingqpa
Copy link
Author

连接复制到浏览器新窗口看
vtil.pyd无法导入,不知道怎么解决

@wallds
Copy link
Owner

wallds commented May 20, 2022

image

py setup.py install --old-and-unmanageable

@yimingqpa
Copy link
Author

VTIL-Python这个工程我是vs直接编译的,编译完
I:\PythonScript\VTIL-Python\build\x64\Release\vtil.pyd 这个文件python导入成功或者无法使用类函数。
ida python 3.8.7
VTIL-Python python 3.8.7

@yimingqpa
Copy link
Author

image

@yimingqpa
Copy link
Author

image
image
image
image

@wallds
Copy link
Owner

wallds commented May 20, 2022

少个文件 __init__.py, 放到pyvtil里面。

from . import vtil

@yimingqpa
Copy link
Author

image
image

@wallds
Copy link
Owner

wallds commented May 20, 2022

样本是vmp3.x x64吗?
还有vmp demo版目前也不支持。

@yimingqpa
Copy link
Author

是的,目前主要问题是IDA无法加载插件。

@wallds
Copy link
Owner

wallds commented May 20, 2022

插件看上去是加载成功了,试试别的样本。

@yimingqpa
Copy link
Author

image
一样的问题

@wallds
Copy link
Owner

wallds commented May 20, 2022

0x0014011ECE6 试一下这个样本吧。
1.vmp.exe.zip

@yimingqpa
Copy link
Author

yimingqpa commented May 20, 2022

image
insns_connect 是vtil.pyd导出,还是脚本内部变量?

@wallds
Copy link
Owner

wallds commented May 20, 2022

额。这就不清楚了。
我这边的环境是ida 7.7 sp1+py 3.9.6

是脚本

@wallds
Copy link
Owner

wallds commented May 20, 2022

image
这个问题好像是因为py 3.8不支持这个语法?
a: list[int]

@wallds
Copy link
Owner

wallds commented May 20, 2022

这里我应该是写错了 应该要用
typing.List

@yimingqpa
Copy link
Author

好吧,感谢!
我先升级一下python.

@wallds wallds closed this as completed in d302b10 May 20, 2022
@wallds wallds reopened this May 20, 2022
@wallds
Copy link
Owner

wallds commented May 20, 2022

d302b10

先试一下这个补丁。

@yimingqpa
Copy link
Author

ok了,感谢!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants