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

Improvements #312

Merged
merged 3 commits into from
Aug 6, 2022
Merged

Improvements #312

merged 3 commits into from
Aug 6, 2022

Conversation

13ph03nix
Copy link
Contributor

@13ph03nix 13ph03nix commented Aug 6, 2022

  1. -k 关键词搜索 PoC 功能支持正则,搜索范围不在局限于属性字段,而是整个 PoC。如:
pocsuite -k "绕过|弱密码|cgi-bin"
  1. 在基类 POCBase 中为 PoC 的所有属性设置了默认值,写 PoC 时可以不写任何属性字段,简化 PoC 的开发。
from pocsuite3.api import *

class TestPOC(POCBase):
    def _verify(self):
        result = {}
        return self.parse_output(result)


register_poc(TestPOC)

@13ph03nix 13ph03nix merged commit 9ec593f into knownsec:master Aug 6, 2022
@13ph03nix 13ph03nix deleted the dev branch August 6, 2022 02:07
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

Successfully merging this pull request may close these issues.

1 participant