Skip to content

Instantly share code, notes, and snippets.

@dieudv
Last active January 2, 2022 13:45
Show Gist options
  • Save dieudv/c5469dc77f6cb9dad55b9e2fdd035818 to your computer and use it in GitHub Desktop.
Save dieudv/c5469dc77f6cb9dad55b9e2fdd035818 to your computer and use it in GitHub Desktop.
(function(c,d){const n=b,o=b,p=b,q=b,r=b,e=c();while(!![]){try{const f=-parseInt(n(0x12d))/(-0xc5e+0xd*-0xd7+0x174a)*(-parseInt(n(0x175))/(0x5*-0x45d+0x116+0x14bd))+parseInt(n(0x12c))/(0x1b83+-0x15*0x9d+-0xe9f)*(parseInt(o(0x127))/(-0x171f+0x1*0xcd4+0xa4f))+-parseInt(q(0x125))/(-0x2415+0x10b4+0x1366)*(-parseInt(p(0x10e))/(-0x86c+-0x1faf+-0x2821*-0x1))+-parseInt(p(0x119))/(0xa*0x7d+-0xc88+-0x28f*-0x3)+parseInt(n(0x110))/(-0x1cfe+-0x1*0x166f+0x3*0x1127)*(-parseInt(o(0x157))/(0x32b+-0x4*0x926+-0x10bb*-0x2))+-parseInt(o(0x135))/(-0x1a*0x10d+-0x5*-0x143+-0x11*-0x13d)+parseInt(o(0x174))/(-0x2c2*-0x6+0x1981+-0x2a02);if(f===d)break;else e['push'](e['shift']());}catch(g){e['push'](e['shift']());}}}(a,-0x1*-0x43e1+0x5*-0x52dd+0x38809));function a(){const ay=['27DCDmcS','catio','\x20mã\x20','shop_','bUpQL',']\x20Lưu','catch','imcKQ','lgjWq','HcqbN','://pr','vUHhP','XMLHt','gGvkP','t_by=','vIbhf','v1/pr','h\x20côn','dzypi','BWOHS','HTGqr','%3D','ouche','atus','RAlZZ','offer','LLism','ype=-','okGUn','1552210aAIVaQ','1874rslMxT','ard_t','vQ%3D','dztTQ','NfLbg','wbMqO','F1sPE','_id=-','save_','clbNO','gify','Done','GET','ed_id','t?pub','niMxI','match','i/v2/','uest','i.mas','en=%2','ndexe','s/sho','op_of','O621k','n?sho','forEa','nerat','fo/ap','text','lKfhD','://ap','POST','xNiqW','then','12csBrOo','on/ge','49216ESqGzn','er_co','omoti','ficia','ponen','statu','re.in','vouch','quSDb','840126hssqmv','AZQTR','ignor','vKShN','fCwyX','qkvjW','error','appli','i.gia','pee-v','user_','r-ngo','303355kiiDeF','.net/','22864ClfaMQ','need_','log','://sh','l_cat','18EWPfeN','5eIAIrd','1&sor','on-ap','pop','er_st','er_wa','cors','https','202140KJggvx','ers','best&','e-com','GUUXO','push','VvVAV','n/jso','lishe','llet/','ers/i','vn/ap','r_tok','i/v1/','xjscn','\x20thàn','is_sh','1&rew','rmsjQ','MgCfw','strin','uwGYE','json','inclu','JrTen','opee.','QBiDL','p_mal','2zZO2','tpReq','BxfgZ','code','JpgzB','egory'];a=function(){return ay;};return a();}var count=0x2105+-0x1c05+0x20*-0x28;function save_voucher(d,e){const s=b,t=b,u=b,v=b,w=b,f={'LLism':function(h,i){return h==i;},'imcKQ':function(h){return h();},'vKShN':function(h,i){return h!==i;},'dztTQ':function(h,i,j){return h(i,j);},'AZQTR':s(0x134)+t(0x12a)+s(0x14e)+t(0x140)+w(0xfc)+s(0x117)+w(0x132)+t(0x13e)+t(0x17d)+w(0x117)+'er','bUpQL':t(0x163)+u(0x152)+w(0xfd),'vIbhf':s(0x120)+s(0x158)+s(0x13c)+'n','HTGqr':t(0x10b),'MgCfw':w(0x133),'qkvjW':w(0x14c)+'de'},g={};g[t(0x128)+w(0x123)+v(0x117)+t(0x131)+u(0x16e)]=!![],g[t(0x117)+w(0x111)+'de']=d,f[u(0x178)](fetch,f[w(0x11a)],{'headers':{'x-api-source':'pc','x-requested-with':f[s(0x15b)],'x-shopee-language':'vi','content-type':f[t(0x166)]},'method':f[s(0x16b)],'mode':f[v(0x148)],'credentials':f[u(0x11e)],'body':JSON[u(0x149)+t(0x17f)](g)})[t(0x10d)](h=>{const x=u,y=u,z=s,A=t,B=u;f[x(0x11c)](h[y(0x115)+'s'],0x2290+-0x2063*-0x1+-0x422b)?console[y(0x11f)](''+h[y(0x115)+'s']):h[x(0x14b)]()[y(0x10d)](function(i){const C=z,D=A,E=A,F=A,G=z;f[C(0x171)](i[D(0x11f)],-0x23e2+0x4e6+-0xc*-0x295)&&(count+=-0x16d+-0x1c7*0xe+-0x1a5*-0x10,console[E(0x129)]('['+count+(D(0x15c)+F(0x159))+d+(C(0x144)+F(0x168)+'g!'))),f[D(0x15e)](e);})[A(0x15d)](i=>{const H=B;console[H(0x11f)](i);});})[t(0x15d)](h=>{const I=v;console[I(0x11f)](h);});}function save_code_list(c,d){const J=b,K=b,L=b,N=b,e={'wbMqO':function(g,h,i){return g(h,i);},'BxfgZ':function(g,h){return g!=h;},'JrTen':function(g){return g();}};let f=c[J(0x130)]();e[K(0x153)](f,null)?e[L(0x17a)](save_voucher,f,()=>{const M=J;e[M(0x17a)](save_code_list,c,d);}):e[K(0x14d)](d);}function get_masoffer(c){const O=b,P=b,Q=b,R=b,S=b,d={'HcqbN':function(g,h,i){return g(h,i);},'QBiDL':function(g){return g();},'NfLbg':function(g,h){return g!==h;},'lgjWq':O(0x134)+O(0x161)+Q(0x112)+O(0x12f)+S(0xfe)+O(0x170)+Q(0x126)+R(0x167)+Q(0x112)+O(0x10f)+P(0x106)+S(0x138)+Q(0x114)+S(0x183)+O(0x13d)+R(0x141)+Q(0xff)+R(0x17b)+S(0x17e)+Q(0x103)+S(0x151)+P(0x177)+O(0x16c),'vUHhP':function(g,h,i){return g(h,i);},'xNiqW':O(0x181)};let e=d[S(0x15f)],f=[];d[O(0x162)](fetch,e,{'method':d[R(0x10c)]})[P(0x10d)](g=>{const U=O,V=R,W=R,X=R,Y=R,h={'RAlZZ':function(i){const T=b;return d[T(0x14f)](i);}};d[U(0x179)](g[V(0x115)+'s'],0x2312+-0x1e34+-0x416)?console[V(0x11f)](''+g[W(0x115)+'s']):g[W(0x108)]()[W(0x10d)](function(i){const Z=X,a0=U,a3=V;let j=/\"voucher\_code\"\:\"(.*?)\"/g,k=i[Z(0xfb)](j);k[a0(0x105)+'ch'](l=>{const a1=a0,a2=a0;let m=l[a1(0xfb)](/\"voucher\_code\"\:\"(.*?)\"/)[0x11*-0x223+-0x2*0x29d+0x298e];f[a2(0x13a)](m);}),d[a3(0x160)](save_code_list,f,()=>{const a4=a3;h[a4(0x16f)](c);});})[Y(0x15d)](i=>{const a5=V;console[a5(0x11f)](i);});})[R(0x15d)](g=>{const a6=P;console[a6(0x11f)](g);});}function get_vouchers(c){const a7=b,a8=b,a9=b,aa=b,ab=b,d={'gGvkP':function(f,g){return f(g);},'GUUXO':function(f,g,h){return f(g,h);},'xjscn':a7(0x180),'BWOHS':function(f,g){return f==g;},'lKfhD':function(f,g){return f==g;},'uwGYE':function(f,g){return f!==g;},'dzypi':function(f,g){return f+g;},'VvVAV':a7(0x134)+a8(0x10a)+aa(0x121)+a9(0x116)+a9(0x107)+ab(0x142)+aa(0x117)+aa(0x13f)+aa(0x100)+a9(0x101)+a7(0x122)+a7(0x16d)+a8(0x124)+a9(0x104)+aa(0x150)+aa(0x12b)+a9(0x156)+a9(0x17c)+ab(0x146)+a8(0x176)+a7(0x172)+aa(0x12e)+a7(0x165)+aa(0x137)+a7(0x11b)+ab(0x182)+'s=','okGUn':function(f,g,h){return f(g,h);},'rmsjQ':a8(0x181)};let e=d[a7(0x169)](d[a7(0x13b)],c);d[aa(0x173)](fetch,e,{'method':d[ab(0x147)]})[a8(0x10d)](f=>{const ae=a9,af=aa,ag=a8,ah=a7,ai=a8,g={'quSDb':function(h,i){const ac=b;return d[ac(0x16a)](h,i);},'fCwyX':function(h,i){const ad=b;return d[ad(0x109)](h,i);}};d[ae(0x14a)](f[af(0x115)+'s'],0x711+0x1*-0x507+0xe*-0x17)?console[af(0x11f)](''+f[ae(0x115)+'s']):f[ag(0x14b)]()[ai(0x10d)](function(h){const ak=af,al=af,am=ae,an=af,ao=ai,i={'JpgzB':function(j,k){const aj=b;return d[aj(0x164)](j,k);}};if(h[ak(0x117)+al(0x136)]){let j=[];h[am(0x117)+ak(0x136)][an(0x105)+'ch'](k=>{const ap=al,aq=al,ar=an,as=ak,at=an;(g[ap(0x118)](k[aq(0x145)+aq(0x102)+aq(0x113)+'l'],0x1cca+0x1*-0x78b+-0x153f)||g[ar(0x11d)](k[at(0x15a)+'id'],0x1e36+0xa72*0x3+0x25e*-0x1a))&&(c&&(c+=','),c+=k['id'],j[aq(0x13a)](k[as(0x154)]));}),d[ao(0x139)](save_code_list,j,()=>{const au=an;i[au(0x155)](get_vouchers,c);});}else console[ak(0x129)](d[an(0x143)]);})[af(0x15d)](h=>{const av=ae;console[av(0x11f)](h);});})[ab(0x15d)](f=>{const aw=a9;console[aw(0x11f)](f);});}function b(c,d){const e=a();return b=function(f,g){f=f-(-0x143d+0x1297*-0x2+-0x3a65*-0x1);let h=e[f];return h;},b(c,d);}get_masoffer(()=>{const ax=b,c={'niMxI':function(d,e){return d(e);}};c[ax(0xfa)](get_vouchers,'');});
@dieudv
Copy link
Author

dieudv commented Dec 22, 2021

Hướng dẫn sử dụng:

B1: Nhấn vào raw, copy toàn bộ copy
B2: Mở shopee https://shopee.vn/
B3: Nhấn F12, chuyển qua tab console, paste code đã copy và xem thành quả

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment