extractors doesn't support "condition" attribute explicitly
parent
0eb9092fe2
commit
e30362f0ab
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue