extractors doesn't support "condition" attribute explicitly
parent
0eb9092fe2
commit
e30362f0ab
|
@ -18,7 +18,6 @@ file:
|
|||
extractors:
|
||||
- type: regex
|
||||
name: code-injection
|
||||
condition: or
|
||||
regex:
|
||||
- 'exec'
|
||||
- 'eval'
|
||||
|
@ -27,7 +26,6 @@ file:
|
|||
|
||||
- type: regex
|
||||
name: command-injection
|
||||
condition: or
|
||||
regex:
|
||||
- 'subprocess.call\(.*shell=True.*\)'
|
||||
- 'os.system'
|
||||
|
@ -36,7 +34,6 @@ file:
|
|||
|
||||
- type: regex
|
||||
name: untrusted-source
|
||||
condition: or
|
||||
regex:
|
||||
- 'pickle.loads'
|
||||
- 'cPickle.loads'
|
||||
|
|
Loading…
Reference in New Issue