sonic-buildimage/files/image_config/corefile_uploader
Mai Bui 61a085e55e
Replace os.system and remove subprocess with shell=True (#12177)
Signed-off-by: maipbui <maibui@microsoft.com>
#### Why I did it
`subprocess` is used with `shell=True`, which is very dangerous for shell injection.
`os` - not secure against maliciously constructed input and dangerous if used to evaluate dynamic content
#### How I did it
remove `shell=True`, use `shell=False`
Replace `os` by `subprocess`
2022-11-04 10:48:51 -04:00
..
core_analyzer.rc.json
core_uploader.py Replace os.system and remove subprocess with shell=True (#12177) 2022-11-04 10:48:51 -04:00
core_uploader.service corefile uploader: Updates per review comments offline (#3915) 2019-12-30 13:01:03 -08:00