MCPcopy Create free account
hub / github.com/c0ny1/captcha-killer / main

Method main

src/main/java/utils/LableParser.java:123–135  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

121 }
122
123 public static void main(String[] args) {
124// String str = "a<@URLENCODE><@BASE64>1</@BASE64></@URLENCODE>b<@BASE64>sd<@IMG_RAW></@IMG_RAW>sds\n\rsdsdd</@BASE64>";
125// str = "<@URLENCODE><@1URLENCODE>+11111</@1URLENCODE></@URLENCODE>";
126// LableParser lableParser = new LableParser("123".getBytes());
127// String res = lableParser.parseAllLable(str);
128// System.out.println(res);
129
130 String reqTpl = "a[base64]eHh4[base64]b";
131 String base64encode = reqTpl.substring(reqTpl.indexOf("[base64]")+8,reqTpl.lastIndexOf("[base64]"));
132 String base64decode = new String(base64Decode(base64encode));
133 String str = reqTpl.replace(String.format("[base64]%s[base64]",base64encode),base64decode);
134 System.out.println(str);
135 }
136}

Callers

nothing calls this directly

Calls 1

base64DecodeMethod · 0.80

Tested by

no test coverage detected