From 949b56e881f37acf4033738abeb480048ba673f6 Mon Sep 17 00:00:00 2001 From: LoRexxar Date: Fri, 30 Jul 2021 10:13:09 +0800 Subject: [PATCH] fixed #168 --- core/rule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/rule.py b/core/rule.py index 2e494a20..abe3c284 100644 --- a/core/rule.py +++ b/core/rule.py @@ -181,7 +181,7 @@ def load_rules(self, ruleclass): r = Rules(rule_name=ruleclass.vulnerability, svid=ruleclass.svid, language=ruleclass.language.lower(), author=ruleclass.author, - description=ruleclass.description, status=ruleclass.status, + description=ruleclass.description, level=ruleclass.level, status=ruleclass.status, match_mode=ruleclass.match_mode, match=ruleclass.match, match_name=match_name, black_list=black_list, unmatch=unmatch, keyword=keyword, vul_function=ruleclass.vul_function, main_function=main_function_content)