Skip to content

Commit

Permalink
update 5001
Browse files Browse the repository at this point in the history
  • Loading branch information
LoRexxar committed Aug 13, 2021
1 parent 9e67a5c commit ab5a3c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/base/CVI_5001.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __init__(self):

# 部分配置
self.match_mode = "only-regex"
self.match = ['((password)\\b[\'"]?\\s*[:=(,]+\\s*[\'"]?(\\w{3,})[\'"]?\\b)']
self.match = ['((password)\\b[\'"]?\\s*[:=(,]+\\s*[\'"]?([^\'"\\s]{3,})[\'"]?\\b)']

# for solidity
self.match_name = None
Expand Down

0 comments on commit ab5a3c0

Please sign in to comment.