()
| 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 |
no test coverage detected