Detecting script in Postscript - if you run a vulnerable version of Ghostscript

https://codeanlabs.com/wp-content/uploads/2024/06/CVE-2024-29510_testkit.ps

ghostscript -q -dNODISPLAY -dBATCH CVE-2024-29510_testkit.ps

For more details about the vulnerability https://codeanlabs.com/blog/research/cve-2024-29510-ghostscript-format-string-exploitation/

Reference to the patch: https://ghostscript.readthedocs.io/en/gs10.03.1/News.html?utm_source=ghostscript&utm_medium=website&utm_content=inline-link#Version10.03.1