summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/get-remote-certificate.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-97612: Fix shell injection in get-remote-certificate.py (GH-97613)Miss Islington (bot)2022-09-281-18/+7
| | | | | | | | | | | | | | Fix a shell code injection vulnerability in the get-remote-certificate.py example script. The script no longer uses a shell to run "openssl" commands. Issue reported and initial fix by Caleb Shortt. Remove the Windows code path to send "quit" on stdin to the "openssl s_client" command: use DEVNULL on all platforms instead. Co-authored-by: Caleb Shortt <caleb@rgauge.com> (cherry picked from commit 83a0f44ffd8b398673ae56c310cf5768d359c341) Co-authored-by: Victor Stinner <vstinner@python.org>
* bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927)Serhiy Storchaka2019-03-301-9/+6
|
* Fix missing or wrong shebangs and missing executable bits for scripts (#10318)Éric Araujo2011-07-261-0/+0
|
* Fix NameErrors.Georg Brandl2010-12-301-3/+4
|
* Clean up tools: remove "world" and "framer", move single SSL script to scripts/.Georg Brandl2010-12-301-0/+83