diff options
| author | EnderByEndera <[email protected]> | 2021-01-04 14:38:25 +0800 |
|---|---|---|
| committer | EnderByEndera <[email protected]> | 2021-01-04 14:38:25 +0800 |
| commit | 8bdad142ee15e746c47de6819265d8b2fcb6644a (patch) | |
| tree | 613c00acf33ca33dc59589fa0e78badd24b0daa7 /static | |
| parent | 1de0d07766adac2cd0b12f68287672ec157911fb (diff) | |
revised the comments
Diffstat (limited to 'static')
| -rw-r--r-- | static/rules/commrules.json | 2 | ||||
| -rw-r--r-- | static/rules/pathrules.json | 2 | ||||
| -rw-r--r-- | static/rules/rules.json | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/static/rules/commrules.json b/static/rules/commrules.json index 519cba1..959b475 100644 --- a/static/rules/commrules.json +++ b/static/rules/commrules.json @@ -1 +1 @@ -[{"command":"wget","coefficient":0.8},{"command":"apt","coefficient":1}]
\ No newline at end of file +[{"command":"sudo","coefficient":0.1},{"command":"wget","coefficient":0.8},{"command":"apt","coefficient":0.2}]
\ No newline at end of file diff --git a/static/rules/pathrules.json b/static/rules/pathrules.json index ca1c2c3..4f8c9f0 100644 --- a/static/rules/pathrules.json +++ b/static/rules/pathrules.json @@ -1 +1 @@ -[{"Path":"/root","Coefficient":0.7}]
\ No newline at end of file +[{"Path":"/root/go/src/commdetection","Coefficient":0.5}]
\ No newline at end of file diff --git a/static/rules/rules.json b/static/rules/rules.json index 3a3c234..3339112 100644 --- a/static/rules/rules.json +++ b/static/rules/rules.json @@ -1 +1 @@ -[{"name":"RuleA","rulefunc":"EvaluateCommandRule"}]
\ No newline at end of file +[{"name":"pathrule","rulefunc":"EvaluatePathRule"}]
\ No newline at end of file |
