-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshenqing.js
66 lines (62 loc) · 8.17 KB
/
shenqing.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
eval(function(p, a, c, k, e, d) { e = function(c) { return (c < a ? "" : e(parseInt(c / a))) + ((c = c % a) > 35 ? String.fromCharCode(c + 29) : c.toString(36)) }; if (!''.replace(/^/, String)) { while (c--) d[e(c)] = k[c] || e(c);
k = [function(e) { return d[e] }];
e = function() { return '\\w+' };
c = 1; }; while (c--)
if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p; }('e 1d=0;e 1g="";e p=8;f 1l(s){g L(A(D(s),s.o*p))}f 29(s){g Q(A(D(s),s.o*p))}f 2a(s){g K(A(D(s),s.o*p))}f 2b(u,v){g L(I(u,v))}f 25(u,v){g Q(I(u,v))}f 26(u,v){g K(I(u,v))}f A(x,G){x[G>>5]|=2d<<((G)%E);x[(((G+24)>>>9)<<4)+14]=G;e a=1R;e b=-1S;e c=-1P;e d=1M;z(e i=0;i<x.o;i+=16){e Z=a;e Y=b;e W=c;e X=d;a=l(a,b,c,d,x[i+0],7,-1N);d=l(d,a,b,c,x[i+1],12,-1O);c=l(c,d,a,b,x[i+2],17,1W);b=l(b,c,d,a,x[i+3],22,-1T);a=l(a,b,c,d,x[i+4],7,-1U);d=l(d,a,b,c,x[i+5],12,1V);c=l(c,d,a,b,x[i+6],17,-1Z);b=l(b,c,d,a,x[i+7],22,-1Y);a=l(a,b,c,d,x[i+8],7,1X);d=l(d,a,b,c,x[i+9],12,-1Q);c=l(c,d,a,b,x[i+10],17,-2e);b=l(b,c,d,a,x[i+11],22,-2c);a=l(a,b,c,d,x[i+12],7,2f);d=l(d,a,b,c,x[i+13],12,-2i);c=l(c,d,a,b,x[i+14],17,-2h);b=l(b,c,d,a,x[i+15],22,2g);a=h(a,b,c,d,x[i+1],5,-27);d=h(d,a,b,c,x[i+6],9,-28);c=h(c,d,a,b,x[i+11],14,1s);b=h(b,c,d,a,x[i+0],20,-1r);a=h(a,b,c,d,x[i+5],5,-1q);d=h(d,a,b,c,x[i+10],9,1v);c=h(c,d,a,b,x[i+15],14,-1u);b=h(b,c,d,a,x[i+4],20,-1t);a=h(a,b,c,d,x[i+9],5,1p);d=h(d,a,b,c,x[i+14],9,-1k);c=h(c,d,a,b,x[i+3],14,-1j);b=h(b,c,d,a,x[i+8],20,1o);a=h(a,b,c,d,x[i+13],5,-1m);d=h(d,a,b,c,x[i+2],9,-1n);c=h(c,d,a,b,x[i+7],14,1G);b=h(b,c,d,a,x[i+12],20,-1H);a=k(a,b,c,d,x[i+5],4,-1E);d=k(d,a,b,c,x[i+8],11,-1F);c=k(c,d,a,b,x[i+11],16,1K);b=k(b,c,d,a,x[i+14],23,-1L);a=k(a,b,c,d,x[i+1],4,-1I);d=k(d,a,b,c,x[i+4],11,1J);c=k(c,d,a,b,x[i+7],16,-1y);b=k(b,c,d,a,x[i+10],23,-1z);a=k(a,b,c,d,x[i+13],4,1w);d=k(d,a,b,c,x[i+0],11,-1x);c=k(c,d,a,b,x[i+3],16,-1C);b=k(b,c,d,a,x[i+6],23,1D);a=k(a,b,c,d,x[i+9],4,-1A);d=k(d,a,b,c,x[i+12],11,-1B);c=k(c,d,a,b,x[i+15],16,2F);b=k(b,c,d,a,x[i+2],23,-2E);a=m(a,b,c,d,x[i+0],6,-2H);d=m(d,a,b,c,x[i+7],10,2G);c=m(c,d,a,b,x[i+14],15,-2B);b=m(b,c,d,a,x[i+5],21,-2A);a=m(a,b,c,d,x[i+12],6,2D);d=m(d,a,b,c,x[i+3],10,-2C);c=m(c,d,a,b,x[i+10],15,-2I);b=m(b,c,d,a,x[i+1],21,-2J);a=m(a,b,c,d,x[i+8],6,2L);d=m(d,a,b,c,x[i+15],10,-2K);c=m(c,d,a,b,x[i+6],15,-2o);b=m(b,c,d,a,x[i+13],21,2n);a=m(a,b,c,d,x[i+4],6,-2q);d=m(d,a,b,c,x[i+11],10,-2p);c=m(c,d,a,b,x[i+2],15,2k);b=m(b,c,d,a,x[i+9],21,-2j);a=w(a,Z);b=w(b,Y);c=w(c,W);d=w(d,X)}g J(a,b,c,d)}f F(q,a,b,x,s,t){g w(18(w(w(a,q),w(x,t)),s),b)}f l(a,b,c,d,x,s,t){g F((b&c)|((~b)&d),a,b,x,s,t)}f h(a,b,c,d,x,s,t){g F((b&d)|(c&(~d)),a,b,x,s,t)}f k(a,b,c,d,x,s,t){g F(b^c^d,a,b,x,s,t)}f m(a,b,c,d,x,s,t){g F(c^(b|(~d)),a,b,x,s,t)}f I(u,v){e C=D(u);1i(C.o>16)C=A(C,u.o*p);e U=J(16),T=J(16);z(e i=0;i<16;i++){U[i]=C[i]^2l;T[i]=C[i]^2r}e 1a=A(U.19(D(v)),1b+v.o*p);g A(T.19(1a),1b+2x)}f w(x,y){e N=(x&M)+(y&M);e 1c=(x>>16)+(y>>16)+(N>>16);g(1c<<16)|(N&M)}f 18(P,O){g(P<<O)|(P>>>(E-O))}f D(n){e B=J();e H=(1<<p)-1;z(e i=0;i<n.o*p;i+=p)B[i>>5]|=(n.2w(i/p)&H)<<(i%E);g B}f K(B){e n="";e H=(1<<p)-1;z(e i=0;i<B.o*E;i+=p)n+=2z.2y((B[i>>5]>>>(i%E))&H);g n}f L(r){e V=1d?"2t":"2s";e n="";z(e i=0;i<r.o*4;i++){n+=V.R((r[i>>2]>>((i%4)*8+4))&1f)+V.R((r[i>>2]>>((i%4)*8))&1f)}g n}f Q(r){e 1e="2v+/";e n="";z(e i=0;i<r.o*4;i+=3){e 1h=(((r[i>>2]>>8*(i%4))&S)<<16)|(((r[i+1>>2]>>8*((i+1)%4))&S)<<8)|((r[i+2>>2]>>8*((i+2)%4))&S);z(e j=0;j<4;j++){1i(i*8+j*6>r.o*E)n+=1g;2u n+=1e.R((1h>>6*(3-j))&2m)}}g n}', 62, 172, '||||||||||||||var|function|return|md5_gg|||md5_hh|md5_ff|md5_ii|str|length|chrsz||binarray|||key|data|safe_add|||for|core_md5|bin|bkey|str2binl|32|md5_cmn|len|mask|core_hmac_md5|Array|binl2str|binl2hex|0xFFFF|lsw|cnt|num|binl2b64|charAt|0xFF|opad|ipad|hex_tab|oldc|oldd|oldb|olda|||||||||bit_rol|concat|hash|512|msw|hexcase|tab|0xF|b64pad|triplet|if|187363961|1019803690|hex_md5|1444681467|51403784|1163531501|568446438|701558691|373897302|643717713|405537848|660478335|38016083|681279174|358537222|155497632|1094730640|640364487|421815835|722521979|76029189|378558|2022574463|1735328473|1926607734|1530992060|1272893353|1839030562|35309556|271733878|680876936|389564586|1732584194|1958414417|1732584193|271733879|1044525330|176418897|1200080426|606105819|1770035416|45705983|1473231341|||||64|b64_hmac_md5|str_hmac_md5|165796510|1069501632|b64_md5|str_md5|hex_hmac_md5|1990404162|0x80|42063|1804603682|1236535329|1502002290|40341101|343485551|718787259|0x36363636|0x3F|1309151649|1560198380|1120210379|145523070|0x5C5C5C5C|0123456789abcdef|0123456789ABCDEF|else|ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789|charCodeAt|128|fromCharCode|String|57434055|1416354905|1894986606|1700485571|995338651|530742520|1126891415|198630844|1051523|2054922799|30611744|1873313359'.split('|'), 0, {}))
$(document).ready(function() {
var currentUrl = window.location.href;
if (currentUrl.toLowerCase().indexOf("manmanbuy.com") == -1) {
return;
}
var zhanghao = "huabei677";
var fromtype = "";
if (currentUrl.toLowerCase().indexOf("s.manmanbuy.com") > -1) {
fromtype = "search-web";
zhanghao = "huadong677";
} else if (currentUrl.toLowerCase().indexOf("tool.manmanbuy.com") > -1) {
fromtype = "tool-web";
if (currentUrl.toLowerCase().indexOf("/m/history.aspx") > -1) {
fromtype = "tool-wl";
}
} else if (currentUrl.toLowerCase().indexOf("m.manmanbuy.com") > -1) {
fromtype = "m";
} else if (currentUrl.toLowerCase().indexOf("www.manmanbuy.com") > -1 || currentUrl.toLowerCase().indexOf("http://manmanbuy.com") > -1 || currentUrl.toLowerCase().indexOf("manmanbuy.com") == 0) {
fromtype = "www-product";
zhanghao = "huadong677";
}
if (fromtype == "") {
return;
}
$(".shenqingGY").each(function() {
$(this).click(function() {
var itemid = $(this).attr("biz-itemid");
if (itemid == undefined) {
var href = $(this).attr("href");
if (href.toLowerCase().indexOf(".taobao.") > -1 || href.toLowerCase().indexOf(".tmall.") > -1) {
itemid = href.toLowerCase().match(/id=(\d{8,15})/)[1];
}
}
if (itemid == undefined || itemid == null || itemid == "") return;
insertShenQingGY(fromtype, itemid, zhanghao);
});
});
});
eval(function(p, a, c, k, e, d) { e = function(c) { return (c < a ? "" : e(parseInt(c / a))) + ((c = c % a) > 35 ? String.fromCharCode(c + 29) : c.toString(36)) }; if (!''.replace(/^/, String)) { while (c--) d[e(c)] = k[c] || e(c);
k = [function(e) { return d[e] }];
e = function() { return '\\w+' };
c = 1; }; while (c--)
if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p; }('A d={W:["0","12","X","1a","19","1b","15","14"],V:[\'0\',\'1\',\'2\',\'3\',\'4\',\'5\',\'6\',\'7\',\'8\',\'9\',\'a\',\'b\',\'c\',\'d\',\'e\',\'f\',\'g\',\'h\',\'i\',\'j\',\'k\',\'l\',\'m\',\'n\',\'o\',\'p\',\'q\',\'r\',\'s\',\'t\',\'u\',\'v\',\'w\',\'x\',\'y\',\'z\'],Q:B(a){A b,c=[];H(b=0,l=a.D;b<l;b++)c[c.D]=a.11(b);C c.17().J("")},18:B(a,b,e){A P=d.M(a);A L=d.R(a);a=L+P;A f,g=[];H(f=0,l=a.D;f<l;f++)g[g.D]=d.N(a.1c(f),b);C d.S(e?d.Q(g.J("")):g.J(""),4)},N:B(a,c){A e=""+d.O(a+Y,c).13(16),f=c-e.D;C f>0?d.W[f-1]+e:e},O:B(a,b){A c=1<<4*b;C 0>a?a%c+c:a%c},M:B(a){C a.I(/[^0-9]+/K,"")},R:B(a){C a.1e().I(/1d/g,"1h").I(/[^a-1g-Z]+/K,"")},S:B(a,b){C d.F(b)+1f(a)+d.F(E.U(E.T()*10))},F:B(a){A G="";H(A i=0;i<a;i++){G+=d.V[E.U(E.T()*1i)]}C G}}', 62, 81, '||||||||||||||||||||||||||||||||||||var|function|return|length|Math|rd|res|for|replace|join|ig|a2|shuzi|to|round|a1|strReverse|zimu|rnd|random|ceil|chars|zero|000|88|||charAt|00|toString|00000000|0000000||reverse|encrypt|00000|0000|000000|charCodeAt|https|toLowerCase|hex_md5|zA|http|35'.split('|'), 0, {}))
function insertShenQingGY(fromtype, itemid, zhanghao) {
$.ajax({
url: "http://seller.manmanbuy.com/baicai.ashx?methodName=insertShenQing&jsoncallback=?",
type: 'post',
dataType: 'jsonp',
data: {
itemid: itemid,
fromtype: fromtype,
zhanghao: zhanghao
},
success: function(json) {},
error: function(err) {}
});
}