MCPcopy Index your code
hub / github.com/10cks/fofaEX / checkMakeFile

Method checkMakeFile

src/main/java/plugins/FofaPlugin.java:220–236  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

218 }
219
220 public static boolean checkMakeFile() throws IOException {
221
222 // 从配置文件中读取设置
223 Properties properties = new Properties();
224 properties.load(new FileInputStream("./plugins/fofahack/FofaHackSetting.txt"));
225
226 String finalname = properties.getProperty("finalname").trim();
227 finalname = finalname.replace("\"", "");
228 // 在这里检查 final 文件是否存在
229 System.out.println(finalname);
230 File file = new File(finalname);
231 if (file.exists()) {
232 loadFileIntoTable(file);
233 return true;
234 }
235 return false;
236 }
237
238 public static void loadFileIntoTable(File file) {
239

Callers 1

executeCommandMethod · 0.95

Calls 1

loadFileIntoTableMethod · 0.95

Tested by

no test coverage detected