MCPcopy Create free account
hub / github.com/ScriptKid-Beta/Unexpected_information / Password

Method Password

src/main/java/burp/Re.java:55–69  ·  view source on GitHub ↗
(String str)

Source from the content-addressed store, hash-verified

53 }
54 //特殊字段匹配
55 public static String Password(String str){
56 ArrayList<String> pwd = new ArrayList<>();
57 String is_pwd = "(?:\"pwd\"|\"password\":|pwd=|password=|config/api" +
58 "|method: 'get'|method: 'post'|method: \"get\"|method: \"post\"" +
59 "|service\\.httppost|service\\.httpget|\\$\\.ajax|http\\.get\\(\"|http\\.post\\(\"" +
60 "rememberMe=delete|[A|a]ccess[K|k]ey|[A|a]ccess[T|t]oken|api_secret|app_secret|(ey[A-Za-z0-9_\\/+-]{34,}\\.[A-Za-z0-9._\\/+-]*))";
61 Matcher matcher = Pattern.compile(is_pwd).matcher(str);
62 while (matcher.find()){
63 pwd.add(matcher.group());
64 }
65 // 去重
66 List<String> pwd_rd = Re.removeDuplicate(pwd);
67 return StringUtils.strip(pwd_rd.toString(),"[]");
68
69 }
70 // ip地址匹配
71 public static String IP(String str){
72 ArrayList<String> ip = new ArrayList<>();

Callers 2

isEnabledMethod · 0.95
setMessageMethod · 0.95

Calls 1

removeDuplicateMethod · 0.95

Tested by

no test coverage detected