Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f872dadf46 | ||
|
|
15bbb9f1a0 | ||
|
|
89f3f6cf09 | ||
|
|
cf9f434ff8 |
@@ -33,7 +33,7 @@ public class BurpExtender implements IBurpExtender, IHttpListener, IMessageEdito
|
||||
this.callbacks = callbacks;
|
||||
BurpExtender.helpers = callbacks.getHelpers();
|
||||
|
||||
String version = "2.0.2";
|
||||
String version = "2.0.4";
|
||||
callbacks.setExtensionName(String.format("HaE (%s) - Highlighter and Extractor", version));
|
||||
// 定义输出
|
||||
stdout = new PrintWriter(callbacks.getStdout(), true);
|
||||
|
||||
@@ -38,7 +38,7 @@ public class ExtractContent {
|
||||
String scope = objects[4].toString();
|
||||
String engine = objects[5].toString();
|
||||
// 判断规则是否开启与作用域
|
||||
if (loaded && (scopeString.contains(scope) || scope.equals("any"))) {
|
||||
if (loaded && (scope.contains(scopeString) || scope.equals("any"))) {
|
||||
switch (scope) {
|
||||
case "any":
|
||||
case "request":
|
||||
|
||||
@@ -18,8 +18,8 @@ import java.util.Map;
|
||||
public class LoadRule {
|
||||
private static String filePath = "Config.yml";
|
||||
public LoadRule(String configfile){
|
||||
init();
|
||||
filePath = configfile;
|
||||
init();
|
||||
}
|
||||
|
||||
// 初始化配置
|
||||
|
||||
Reference in New Issue
Block a user