Safe usage of Runtime.getRuntime.exec(String[])
I was reviewing code of an application that uses the following piece of Java code and wanted to know if the the use of exec() was susceptible to command injection.
public class FindFileInDir {
public static void main(String[] args){
… Continue reading Safe usage of Runtime.getRuntime.exec(String[])