Skip to content

Commit

Permalink
Update NucleiParser.java
Browse files Browse the repository at this point in the history
  • Loading branch information
bit4woo committed Jun 1, 2024
1 parent 0a7a54d commit fda1038
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/PoCParser/NucleiParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,17 +85,6 @@ private static YamlInfo fromYaml1(String input) throws Exception {
return yamlInfo;
}

@Deprecated
private static YamlInfo fromYaml(String inputFile) throws Exception {
FileReader bbb = new FileReader(inputFile);
Yaml yaml = new Yaml(new Constructor(YamlBeanFromMap.class));
YamlBeanFromMap data = yaml.load(bbb);
String id = data.getId();
Map<String, Object> info = data.getInfo();
YamlInfo yamlInfo = new YamlInfo(info);
return yamlInfo;

}

/**
* 使用了jackson
Expand Down

0 comments on commit fda1038

Please sign in to comment.