「python」標準モジュール「subprocess」はすごいですね。 「python」プログラムの中で「シェルコマンド」を実行して、結果も受け取ることができるんです。 subprocess --- サブプロセス管理 — Python 3.13.7 ドキュメント ...
description: Using subprocess with shell=True and untrusted input may enable command injection. remediation: Avoid shell=True, pass argument arrays, and validate ...
I often create tools using Python, and since I recently had the opportunity to perform shell/bat operations, I would like to summarize that here.
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する