extractors doesn't support "condition" attribute explicitly

patch-1
sandeep 2021-10-25 17:08:57 +05:30
parent 0eb9092fe2
commit e30362f0ab
1 changed files with 0 additions and 3 deletions

View File

@ -18,7 +18,6 @@ file:
extractors: extractors:
- type: regex - type: regex
name: code-injection name: code-injection
condition: or
regex: regex:
- 'exec' - 'exec'
- 'eval' - 'eval'
@ -27,7 +26,6 @@ file:
- type: regex - type: regex
name: command-injection name: command-injection
condition: or
regex: regex:
- 'subprocess.call\(.*shell=True.*\)' - 'subprocess.call\(.*shell=True.*\)'
- 'os.system' - 'os.system'
@ -36,7 +34,6 @@ file:
- type: regex - type: regex
name: untrusted-source name: untrusted-source
condition: or
regex: regex:
- 'pickle.loads' - 'pickle.loads'
- 'cPickle.loads' - 'cPickle.loads'