Previously I used os.system to call testssl. Using subprocess hides the output and allow us to do nice things like check the exit code and still use the output if we want.
I also made the code more readable and added some comments so that anyone reading this script hopefully won't need to check the testssl docs if they're con(cerned|fused) about the flags
Previously I used
os.system
to call testssl. Usingsubprocess
hides the output and allow us to do nice things like check the exit code and still use the output if we want.I also made the code more readable and added some comments so that anyone reading this script hopefully won't need to check the testssl docs if they're con(cerned|fused) about the flags