You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
609 B
20 lines
609 B
import java.io.File;
|
|
import java.util.Arrays;
|
|
|
|
public class Main {
|
|
|
|
public static void main(String[] args) {
|
|
if(args.length < 2) {
|
|
System.out.println("[!] error, please provide a search keyword and imports separated by commas");
|
|
System.exit(-1);
|
|
}
|
|
|
|
// make folders for drivers and results
|
|
new File("drivers").mkdir();
|
|
new File("results").mkdir();
|
|
|
|
System.out.printf("[+] searching with keyword %s, Imports: %s\n", args[0], Arrays.toString(args[1].split(",")));
|
|
new UpdateScanner(args[0], args[1].split(",")).start();
|
|
}
|
|
}
|