(String projectName)
| 508 | return projectList; |
| 509 | } |
| 510 | public HashSet<String> getRootDomainSet(String projectName){ |
| 511 | String sql = "select rootDomainName from RootDomain where ProjectName=?"; |
| 512 | HashSet<String> rootDomainList = new HashSet<>(); |
| 513 | ResultSet set; |
| 514 | try { |
| 515 | PreparedStatement preSQl = conn.prepareStatement(sql); |
| 516 | preSQl.setString(1, projectName); |
| 517 | set = preSQl.executeQuery(); |
| 518 | while(set.next()){ |
| 519 | rootDomainList.add(set.getString("rootDomainName")); |
| 520 | } |
| 521 | } catch (SQLException e) { |
| 522 | BurpExtender.getStderr().println("无法获取到根域名:"+e); |
| 523 | } |
| 524 | return rootDomainList; |
| 525 | } |
| 526 | |
| 527 | public HashMap<String, HashMap<String, String>> getSubDomainMap(String projectName){ |
| 528 | HashMap<String, HashMap<String, String>> subDomainMap = new HashMap<>(); |
no test coverage detected