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

新写的 json 插件一直加载不上 #56

Open
C0isini opened this issue Jun 9, 2020 · 3 comments
Open

新写的 json 插件一直加载不上 #56

C0isini opened this issue Jun 9, 2020 · 3 comments

Comments

@C0isini
Copy link

C0isini commented Jun 9, 2020

请问新写的 json 插件一直加载不上,也不报错,但是显示的 json 插件数一直不变,存在漏洞的请求访问也没有结果
一直是这个数
[info] 17:05:11 log.go:44: [go plugin total: 34]
[info] 17:05:11 log.go:44: [json plugin total: 19]

执行编译操作也没有问题,也会生成新的 so 文件,但是使用 so 文件进行漏洞测试,显示的插件数也不变,测试存在漏洞的请求,也没有结果,这种情况该怎么处理呢?谢谢

@C0isini
Copy link
Author

C0isini commented Jun 9, 2020

JSONPlugin.go 中也有插件信息

@ywolf
Copy link
Member

ywolf commented Jun 10, 2020

编译前是否执行了esc -include='.json$' -o plugin/json/JSONPlugin.go -pkg jsonplugin plugin/json/
so替换过程需要重启调用脚本 或者 参考xunfeng的热更新方式https://github.com/ysrc/xunfeng/blob/master/vulscan/kunpeng.py

@C0isini
Copy link
Author

C0isini commented Jun 11, 2020

感谢答复,最后确认为路径的问题导致新的插件编译不到新的 so 文件,应该在 GOPATH 路径下进行编译的

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