zan8in / afrog

A Security Tool for Bug Bounty, Pentest and Red Teaming.
MIT License
3.37k stars 379 forks source link

自定义afrog-pocs路径 #10

Open xxsmile123 opened 2 years ago

xxsmile123 commented 2 years ago

默认情况下,afrog-pocs的路径是固定的。 windows下:C:\Users\Administrator\afrog-pocs linux下:/home/ubuntu/afrog-pocs 建议模仿nuclei,增加-td参数,指定afrog-pocs的默认路径。 image

zan8in commented 2 years ago

@xxsmile123 这个建议不错,我记下来了。

1979139113 commented 2 years ago

那我再建议一个自定义配置文件路径,现在强制保存在 ~/.config/afrog/afrog-config.yaml

xxsmile123 commented 2 years ago

那我再建议一个自定义配置文件路径,现在强制保存在 ~/.config/afrog/afrog-config.yaml

可以选择先把配置文件保存在当前目录下,方便修改。

Baikeryoyo commented 1 year ago

遇到了同样的问题,我希望可以把他保存在当前路径下,而不是操作系统的用户路径下

zan8in commented 1 year ago

默认情况下,afrog-pocs的路径是固定的。 windows下:C:\Users\Administrator\afrog-pocs linux下:/home/ubuntu/afrog-pocs 建议模仿nuclei,增加-td参数,指定afrog-pocs的默认路径。 image afrog2.5.1版本已优化该问题,-o 命令可以指定路径保存报告

HiOrange commented 1 year ago

默认情况下,afrog-pocs的路径是固定的。 windows下:C:\Users\Administrator\afrog-pocs linux下:/home/ubuntu/afrog-pocs 建议模仿nuclei,增加-td参数,指定afrog-pocs的默认路径。 image afrog2.5.1版本已优化该问题,-o 命令可以指定路径保存报告

师傅,-o是指自定义输出报告的路径吧,但是afog-pocs,是否可以自定义保存路径呢?

zan8in commented 1 year ago

确实,但是自定义 afrog-pocs 的意义有限。afrog 和 nuclei 之间的主要区别在于,afrog-pocs 只会临时存储新版本发布之前的 poc,随着每次新版本发布,afrog-pocs 目录都会被强制清空。