对test进行屏蔽
This commit is contained in:
parent
b007843955
commit
75626ff53d
@ -48,7 +48,7 @@ def regular(req):
|
||||
cve_description = re.findall('"description":*.{1,200}"fork"', req)[0].replace("\",\"fork\"", '').replace(
|
||||
"\"description\":\"", '')
|
||||
|
||||
if cve_name.lower().find('test') != -1 and cve_description.lower().find('test') != -1:
|
||||
if cve_name.lower().find('test') == -1 and cve_description.lower().find('test') == -1:
|
||||
return True
|
||||
return False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user