mirror of
https://github.com/KaringX/karing-ruleset.git
synced 2025-06-08 19:14:13 +08:00
debug log
This commit is contained in:
parent
beaa8e20cb
commit
6a0acbe8cd
@ -230,7 +230,7 @@ OPT_RULESET_GROUPS['ir']['🛑 malware'] = {
|
|||||||
'rules': [
|
'rules': [
|
||||||
# 恶意软件
|
# 恶意软件
|
||||||
'geosite:malware',
|
'geosite:malware',
|
||||||
'geoip:malware'
|
'geoip:malware',
|
||||||
# 钓鱼网站
|
# 钓鱼网站
|
||||||
'geoip:phishing',
|
'geoip:phishing',
|
||||||
'geosite:phishing',
|
'geosite:phishing',
|
||||||
@ -369,7 +369,7 @@ def rule_file_exists(rule: str, root_path: str) -> bool:
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
if len(sys.argv) < 2:
|
if len(sys.argv) < 2:
|
||||||
deug_log("Usage: python script.py <srs_file_root_path>")
|
debug_log("Usage: python script.py <srs_file_root_path>")
|
||||||
return
|
return
|
||||||
|
|
||||||
root_path = sys.argv[1]
|
root_path = sys.argv[1]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user