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

pocsuite3如何实现添加自定义的工具类 #377

Open
expzhizhuo opened this issue Aug 9, 2023 · 2 comments
Open

pocsuite3如何实现添加自定义的工具类 #377

expzhizhuo opened this issue Aug 9, 2023 · 2 comments

Comments

@expzhizhuo
Copy link

例如我自定义一个类在当前目录下面并引入
from pocsuite3_tools.tools import Tools
然后在通过继承控制调用,例如我使用
from pocsuite3.lib.core.data import kb
然后在使用
kb.registered_pocs
方法进行创建使用getattr去获取poc中的简述信息
但是我通过引入了自定的类就会产生错误
image
我应该如何解决或者有什么api可以获取到原始的请求数据包
image
获取这样的结果

@geelph
Copy link

geelph commented Aug 10, 2023

研究下这块代码应该有帮助
image

@expzhizhuo
Copy link
Author

研究下这块代码应该有帮助 图像

这里我看到了,但是只针对nuclei的yaml poc的相关操作,我想要的是在继承调用环境下的通过from pocsuite3.api import get_results方法进行获取,原声的py文件还无法操作

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