comparison src/luan/host/Backup.java @ 1330:f41919741100

fix security
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 11 Feb 2019 01:38:55 -0700
parents 307e76ccd0d6
children 25746915a241
comparison
equal deleted inserted replaced
1329:5a39b006acd1 1330:f41919741100
125 } 125 }
126 } 126 }
127 127
128 public static void main(String[] args) throws Exception { 128 public static void main(String[] args) throws Exception {
129 Log4j.initForConsole(); 129 Log4j.initForConsole();
130 WebHandler.allowJavaFileName = args[2]; 130 WebHandler.securityPassword = args[2];
131 backup( new File(args[0]), new File(args[1]) ); 131 backup( new File(args[0]), new File(args[1]) );
132 System.exit(0); 132 System.exit(0);
133 } 133 }
134 } 134 }