Java版 acw_sc__v2
public String get_hexxor(String s1){
String _0x5a5d3b = "";
String _0x4e08d8 = "3000176000856006061501533003690027800375";
for (int i = 0; i < s1.length(); i++) {
if(i %2!=0){
continue;
}
Integer _0x401af1 = Integer.parseInt(s1.substring(i, i+2),16);
Integer _0x105f59 = Integer.parseInt(_0x4e08d8.substring(i,i+2), 16);
Integer _0x189e2c_10 = _0x401af1 ^ _0x105f59;
String _0x189e2c = Integer.toHexString(_0x189e2c_10);
if (_0x189e2c.length() == 1){
_0x189e2c = '0' + _0x189e2c;
}
_0x5a5d3b += _0x189e2c;
}
return _0x5a5d3b;
}
public String get_unsbox(String arg1){
Integer[] _0x4b082b = {0xf, 0x23, 0x1d, 0x18, 0x21, 0x10, 0x1, 0x26, 0xa, 0x9, 0x13, 0x1f, 0x28, 0x1b, 0x16, 0x17, 0x19, 0xd,
0x6, 0xb, 0x27, 0x12, 0x14, 0x8, 0xe, 0x15, 0x20, 0x1a, 0x2, 0x1e, 0x7, 0x4, 0x11, 0x5, 0x3, 0x1c,
0x22, 0x25, 0xc, 0x24};
List<String> _0x4da0dc= new ArrayList<>();
for(Integer i:_0x4b082b){
_0x4da0dc.add(arg1.substring(i-1,i));
}
String _0x12605e = String.join("",_0x4da0dc);
return _0x12605e;
}
使用
arg1 = 返回页面提取的arg1
String v2 = get_hexxor(get_unsbox(arg1));