This commit is contained in:
AnonymousUser
2021-10-22 21:58:45 +08:00
parent b16cbf5b60
commit 59cd0a88b9
15 changed files with 355 additions and 377 deletions

View File

@@ -3,7 +3,7 @@ package burp.action;
import jregex.Matcher;
import jregex.Pattern;
import jregex.REFlags;
import burp.yaml.LoadConfigFile;
import burp.yaml.LoadConfig;
/*
* @author EvilChen
@@ -11,7 +11,7 @@ import burp.yaml.LoadConfigFile;
public class MatchHTTP {
// 匹配后缀
LoadConfigFile lc = new LoadConfigFile();
LoadConfig lc = new LoadConfig();
public boolean matchSuffix(String str) {
Pattern pattern = new Pattern(String.format("[\\w]+[\\.](%s)", lc.getExcludeSuffix()), REFlags.IGNORE_CASE);
Matcher matcher = pattern.matcher(str);