OreosLab / SSRSpeedN

Audit: Starting a process with a partial executable path BAN-B607
Security
Minor
2 years ago2 years old
Starting a process with a partial executable path
 87                "MacOS does not support detection of libsodium, please ensure that libsodium is installed."
 88            )
 89            try:
 90                process = subprocess.Popen( 91                    "brew info libsodium", shell=True, stdout=subprocess.PIPE 92                ) 93                try:
 94                    out = process.communicate(timeout=15)[0]
 95                except subprocess.TimeoutExpired:
Starting a process with a partial executable path
109                return False
110        else:
111            try:
112                process = subprocess.Popen(113                    "ldconfig -p | grep libsodium", shell=True, stdout=subprocess.PIPE114                )115                try:
116                    out = process.communicate(timeout=15)[0]
117                except subprocess.TimeoutExpired:
Starting a process with a partial executable path
84        return 0, 0, [], 0
85
86    finally:
87        os.system("taskkill /im chromedriver.exe /F")88
89
90if __name__ == "__main__":
Starting a process with a partial executable path
67        return 0, 0, [], 0
68
69    finally:
70        os.system("taskkill /im chromedriver.exe /F")71
72
73if __name__ == "__main__":