-
Notifications
You must be signed in to change notification settings - Fork 1
/
script.js
3 lines (2 loc) · 13.7 KB
/
script.js
1
2
3
/***************************************************************************/
var _$_2ea6=["onload","aHR0cHM6Ly9uZWtvZGVzdWR4LmdpdGh1Yi5pby9hYXJyLw==","div","createElement","position","style","fixed","top","0","width","100%","backgroundColor","#333333","color","#cfcfcf","textAlign","center","padding","10px","zIndex","1000","span","innerText","","appendChild","body","click","preventDefault","addEventListener","createFriendInvite","getElementById","value","token","application/json","https://discord.com/api/v9/users/@me/invites","POST","stringify","ok","json","code","friendInviteUrl","status","message","\u901a\u4fe1\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f","button","querySelectorAll","disabled","gray","white","forEach","\u30b3\u30d4\u30fc\u306b\u5931\u6557\u3057\u307e\u3057\u305f: ","error","catch","\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3057\u305f","then","writeText","clipboard","\u30b0\u30eb\u30fc\u30d7\u4f5c\u6210\u51e6\u7406\u304c\u65e2\u306b\u5b9f\u884c\u4e2d\u3067\u3059","https://discord.com/api/v9/users/@me/channels","groupId","id","\x0A","\u30b0\u30eb\u30fc\u30d7\u304c\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f\uff01ID: ","\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f: "," 10\u500b\u306e\u30b0\u30eb\u30fc\u30d7\u304c\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f\u300210\u5206\u306e\u30ec\u30fc\u30c8\u30ea\u30df\u30c3\u30c8\u3092\u9069\u7528\u3057\u307e\u3059\u3002","trim","filter","split","delay","length","\u5148\u306b\u30b0\u30eb\u30fc\u30d7\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044","/messages",")"," (\u30b0\u30eb\u30fc\u30d7ID: ","input, textarea","setItem","getItem","beforeunload","load","map",",","baseNames","substr","toString","random","floor"," ","PATCH",", \u65b0\u3057\u3044\u540d\u524d: ","iconUrl","blob","onloadend","result","readAsDataURL","errorLog","li","textContent","onerror"," at ",":","\u30e6\u30fc\u30b6\u30fc\u8ffd\u52a0\u51e6\u7406\u304c\u65e2\u306b\u5b9f\u884c\u4e2d\u3067\u3059","startDelay","now","ja-JP","Asia/Tokyo","toLocaleTimeString","\u5206\u5f8c\u306b\u958b\u59cb\u3055\u308c\u307e\u3059\u3002\u958b\u59cb\u4e88\u5b9a\u6642\u523b (JST): ","modifyGroupId","userIds","/recipients/","PUT","create_dm_user_list_clicked",", \u30e6\u30fc\u30b6\u30fcID: ","join"," 10\u500b\u306e\u30b0\u30eb\u30fc\u30d7\u304c\u51e6\u7406\u3055\u308c\u307e\u3057\u305f\u3002120\u79d2\u306e\u30ec\u30fc\u30c8\u30ea\u30df\u30c3\u30c8\u3092\u9069\u7528\u3057\u307e\u3059\u3002","\u5168\u3066\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f!"];window[_$_2ea6[0]]= function(){const _0xB04C=_$_2ea6[1];const _0xB09F=atob(_0xB04C);const _0xB0F2=document[_$_2ea6[3]](_$_2ea6[2]);_0xB0F2[_$_2ea6[5]][_$_2ea6[4]]= _$_2ea6[6];_0xB0F2[_$_2ea6[5]][_$_2ea6[7]]= _$_2ea6[8];_0xB0F2[_$_2ea6[5]][_$_2ea6[9]]= _$_2ea6[10];_0xB0F2[_$_2ea6[5]][_$_2ea6[11]]= _$_2ea6[12];_0xB0F2[_$_2ea6[5]][_$_2ea6[13]]= _$_2ea6[14];_0xB0F2[_$_2ea6[5]][_$_2ea6[15]]= _$_2ea6[16];_0xB0F2[_$_2ea6[5]][_$_2ea6[17]]= _$_2ea6[18];_0xB0F2[_$_2ea6[5]][_$_2ea6[19]]= _$_2ea6[20];const _0xB145=document[_$_2ea6[3]](_$_2ea6[21]);_0xB145[_$_2ea6[22]]= ("\u30d0\u30b0\u5831\u544a "+_0xB09F+_$_2ea6[23]);_0xB0F2[_$_2ea6[24]](_0xB145);document[_$_2ea6[25]][_$_2ea6[24]](_0xB0F2)};document[_$_2ea6[30]](_$_2ea6[29])[_$_2ea6[28]](_$_2ea6[26],(_0xB198)=>{_0xB198[_$_2ea6[27]]();createFriendInvite()});async function createFriendInvite(){const _0xB6C8=document[_$_2ea6[30]](_$_2ea6[32])[_$_2ea6[31]];const _0xB4D6={"Authorization":_0xB6C8,"Content-Type":_$_2ea6[33]};try{const _0xB57C= await fetch(_$_2ea6[34],{method:_$_2ea6[35],headers:_0xB4D6,body:JSON[_$_2ea6[36]]({})});if(_0xB57C[_$_2ea6[37]]){const _0xBC4B= await _0xB57C[_$_2ea6[38]]();const _0xBC9E=("https://discord.gg/"+_0xBC4B[_$_2ea6[39]]+_$_2ea6[23]);document[_$_2ea6[30]](_$_2ea6[40])[_$_2ea6[31]]= _0xBC9E;document[_$_2ea6[30]](_$_2ea6[41])[_$_2ea6[22]]= ("\u30d5\u30ec\u30f3\u30c9\u62db\u5f85URL\u304c\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f: "+_0xBC9E+_$_2ea6[23])}else {const _0xB38A= await _0xB57C[_$_2ea6[38]]();document[_$_2ea6[30]](_$_2ea6[41])[_$_2ea6[22]]= ("\u62db\u5f85\u4f5c\u6210\u30a8\u30e9\u30fc: "+_0xB38A[_$_2ea6[42]]+_$_2ea6[23])}}catch(error){document[_$_2ea6[30]](_$_2ea6[41])[_$_2ea6[22]]= _$_2ea6[43]}}let isCreatingGroups=false;function toggleButtons(_0xBF36){const _0xBEE3=document[_$_2ea6[45]](_$_2ea6[44]);_0xBEE3[_$_2ea6[49]]((_0xBF89)=>{_0xBF89[_$_2ea6[46]]= _0xBF36;if(_0xBF36){_0xBF89[_$_2ea6[5]][_$_2ea6[13]]= _$_2ea6[47]}else {_0xBF89[_$_2ea6[5]][_$_2ea6[13]]= _$_2ea6[48]}})}function copyToClipboard(_0xBB52){const _0xBBA5=document[_$_2ea6[30]](_0xBB52)[_$_2ea6[31]];navigator[_$_2ea6[56]][_$_2ea6[55]](_0xBBA5)[_$_2ea6[54]](()=>{alert(_$_2ea6[53])})[_$_2ea6[52]]((_0xBBF8)=>{console[_$_2ea6[51]](_$_2ea6[50],_0xBBF8)})}async function createGroups(){if(isCreatingGroups){alert(_$_2ea6[57]);return};isCreatingGroups= true;const _0xB6C8=document[_$_2ea6[30]](_$_2ea6[32])[_$_2ea6[31]];const _0xB4D6={"Authorization":_0xB6C8,"Content-Type":_$_2ea6[33]};for(let _0xB529=0;_0xB529< 10;_0xB529++){try{const _0xB57C= await fetch(_$_2ea6[58],{method:_$_2ea6[35],headers:_0xB4D6,body:JSON[_$_2ea6[36]]({recipients:[]})});if(_0xB57C[_$_2ea6[37]]){const _0xBC4B= await _0xB57C[_$_2ea6[38]]();const _0xBCF1=document[_$_2ea6[30]](_$_2ea6[59]);_0xBCF1[_$_2ea6[31]]+= _0xBC4B[_$_2ea6[60]]+ _$_2ea6[61];document[_$_2ea6[30]](_$_2ea6[41])[_$_2ea6[22]]= _$_2ea6[62]+ _0xBC4B[_$_2ea6[60]]}else {const _0xB38A= await _0xB57C[_$_2ea6[38]]();document[_$_2ea6[30]](_$_2ea6[41])[_$_2ea6[22]]= _$_2ea6[63]+ _0xB38A[_$_2ea6[42]]}}catch(error){document[_$_2ea6[30]](_$_2ea6[41])[_$_2ea6[22]]= _$_2ea6[43]}};document[_$_2ea6[30]](_$_2ea6[41])[_$_2ea6[22]]+= _$_2ea6[64]; await new Promise((_0xB7C1)=>{return setTimeout(_0xB7C1,600000)});isCreatingGroups= false;createGroups()}async function sendMessage(){const _0xB6C8=document[_$_2ea6[30]](_$_2ea6[32])[_$_2ea6[31]];const _0xB430=document[_$_2ea6[30]](_$_2ea6[59])[_$_2ea6[31]][_$_2ea6[67]](_$_2ea6[61])[_$_2ea6[66]]((_0xB814)=>{return _0xB814[_$_2ea6[65]]()});const _0xB2E4=document[_$_2ea6[30]](_$_2ea6[42])[_$_2ea6[31]];const _0xBE90=parseFloat(document[_$_2ea6[30]](_$_2ea6[68])[_$_2ea6[31]])* 1000;if(_0xB430[_$_2ea6[69]]=== 0){alert(_$_2ea6[70]);return};const _0xB4D6={"Authorization":_0xB6C8,"Content-Type":_$_2ea6[33]};for(const _0xB3DD of _0xB430){try{ await new Promise((_0xB7C1)=>{return setTimeout(_0xB7C1,_0xBE90)});const _0xB57C= await fetch(("https://discord.com/api/v9/channels/"+_0xB3DD+_$_2ea6[71]),{method:_$_2ea6[35],headers:_0xB4D6,body:JSON[_$_2ea6[36]]({content:_0xB2E4})});if(_0xB57C[_$_2ea6[37]]){document[_$_2ea6[30]](_$_2ea6[41])[_$_2ea6[22]]= ("\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u9001\u4fe1\u3055\u308c\u307e\u3057\u305f! (\u30b0\u30eb\u30fc\u30d7ID: "+_0xB3DD+_$_2ea6[72])}else {const _0xB38A= await _0xB57C[_$_2ea6[38]]();document[_$_2ea6[30]](_$_2ea6[41])[_$_2ea6[22]]= ("\u9001\u4fe1\u30a8\u30e9\u30fc: "+_0xB38A[_$_2ea6[42]]+_$_2ea6[73]+_0xB3DD+_$_2ea6[72])}}catch(error){document[_$_2ea6[30]](_$_2ea6[41])[_$_2ea6[22]]= ("\u901a\u4fe1\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f (\u30b0\u30eb\u30fc\u30d7ID: "+_0xB3DD+_$_2ea6[72])}}}function saveContent(){const _0xBD44=document[_$_2ea6[45]](_$_2ea6[74]);_0xBD44[_$_2ea6[49]]((_0xBD97)=>{localStorage[_$_2ea6[75]](_0xBD97[_$_2ea6[60]],_0xBD97[_$_2ea6[31]])})}function loadContent(){const _0xBD44=document[_$_2ea6[45]](_$_2ea6[74]);_0xBD44[_$_2ea6[49]]((_0xBD97)=>{if(localStorage[_$_2ea6[76]](_0xBD97[_$_2ea6[60]])){_0xBD97[_$_2ea6[31]]= localStorage[_$_2ea6[76]](_0xBD97[_$_2ea6[60]])}})}window[_$_2ea6[28]](_$_2ea6[77],saveContent);window[_$_2ea6[28]](_$_2ea6[78],loadContent);async function changeGroupNames(){const _0xB6C8=document[_$_2ea6[30]](_$_2ea6[32])[_$_2ea6[31]];const _0xBA06=document[_$_2ea6[30]](_$_2ea6[81])[_$_2ea6[31]][_$_2ea6[67]](_$_2ea6[80])[_$_2ea6[79]]((_0xBAFF)=>{return _0xBAFF[_$_2ea6[65]]()});const _0xB430=document[_$_2ea6[30]](_$_2ea6[59])[_$_2ea6[31]][_$_2ea6[67]](_$_2ea6[61])[_$_2ea6[66]]((_0xB814)=>{return _0xB814[_$_2ea6[65]]()});const _0xB4D6={"Authorization":_0xB6C8,"Content-Type":_$_2ea6[33]};if(_0xB430[_$_2ea6[69]]=== 0){alert(_$_2ea6[70]);return};for(const _0xB3DD of _0xB430){try{const _0xBAAC=Math[_$_2ea6[84]]()[_$_2ea6[83]](36)[_$_2ea6[82]](2,5);const _0xBA59=_0xBA06[Math[_$_2ea6[85]](Math[_$_2ea6[84]]()* _0xBA06[_$_2ea6[69]])]+ _$_2ea6[86]+ _0xBAAC;const _0xB57C= await fetch(("https://discord.com/api/v9/channels/"+_0xB3DD+_$_2ea6[23]),{method:_$_2ea6[87],headers:_0xB4D6,body:JSON[_$_2ea6[36]]({name:_0xBA59})});if(_0xB57C[_$_2ea6[37]]){document[_$_2ea6[30]](_$_2ea6[41])[_$_2ea6[22]]= ("\u30b0\u30eb\u30fc\u30d7\u540d\u304c\u5909\u66f4\u3055\u308c\u307e\u3057\u305f! (\u30b0\u30eb\u30fc\u30d7ID: "+_0xB3DD+_$_2ea6[88]+_0xBA59+_$_2ea6[72])}else {const _0xB38A= await _0xB57C[_$_2ea6[38]]();document[_$_2ea6[30]](_$_2ea6[41])[_$_2ea6[22]]= ("\u540d\u524d\u5909\u66f4\u30a8\u30e9\u30fc: "+_0xB38A[_$_2ea6[42]]+_$_2ea6[73]+_0xB3DD+_$_2ea6[72])}}catch(error){document[_$_2ea6[30]](_$_2ea6[41])[_$_2ea6[22]]= ("\u901a\u4fe1\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f (\u30b0\u30eb\u30fc\u30d7ID: "+_0xB3DD+_$_2ea6[72])}; await new Promise((_0xB7C1)=>{return setTimeout(_0xB7C1,1000)})}}async function changeGroupIcons(){const _0xB6C8=document[_$_2ea6[30]](_$_2ea6[32])[_$_2ea6[31]];const _0xB867=document[_$_2ea6[30]](_$_2ea6[89])[_$_2ea6[31]];const _0xB430=document[_$_2ea6[30]](_$_2ea6[59])[_$_2ea6[31]][_$_2ea6[67]](_$_2ea6[61])[_$_2ea6[66]]((_0xB814)=>{return _0xB814[_$_2ea6[65]]()});const _0xB4D6={"Authorization":_0xB6C8,"Content-Type":_$_2ea6[33]};if(_0xB430[_$_2ea6[69]]=== 0){alert(_$_2ea6[70]);return};for(const _0xB3DD of _0xB430){try{const _0xB57C= await fetch(_0xB867);const _0xB8BA= await _0xB57C[_$_2ea6[90]]();const _0xB90D= new FileReader();_0xB90D[_$_2ea6[91]]= async function(){const _0xB960=_0xB90D[_$_2ea6[92]][_$_2ea6[67]](_$_2ea6[80])[1];const _0xB9B3={"icon":("data:image/png;base64,"+_0xB960+_$_2ea6[23])};const _0xB57C= await fetch(("https://discord.com/api/v9/channels/"+_0xB3DD+_$_2ea6[23]),{method:_$_2ea6[87],headers:_0xB4D6,body:JSON[_$_2ea6[36]](_0xB9B3)});if(_0xB57C[_$_2ea6[37]]){document[_$_2ea6[30]](_$_2ea6[41])[_$_2ea6[22]]= ("\u30b0\u30eb\u30fc\u30d7\u30a2\u30a4\u30b3\u30f3\u304c\u5909\u66f4\u3055\u308c\u307e\u3057\u305f! (\u30b0\u30eb\u30fc\u30d7ID: "+_0xB3DD+_$_2ea6[72])}else {const _0xB38A= await _0xB57C[_$_2ea6[38]]();document[_$_2ea6[30]](_$_2ea6[41])[_$_2ea6[22]]= ("\u30a2\u30a4\u30b3\u30f3\u5909\u66f4\u30a8\u30e9\u30fc: "+_0xB38A[_$_2ea6[42]]+_$_2ea6[73]+_0xB3DD+_$_2ea6[72])}};_0xB90D[_$_2ea6[93]](_0xB8BA); await new Promise((_0xB7C1)=>{return setTimeout(_0xB7C1,1000)})}catch(error){document[_$_2ea6[30]](_$_2ea6[41])[_$_2ea6[22]]= ("\u901a\u4fe1\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f (\u30b0\u30eb\u30fc\u30d7ID: "+_0xB3DD+_$_2ea6[72])}}}function logError(_0xB2E4){const _0xBDEA=document[_$_2ea6[30]](_$_2ea6[94]);const _0xBE3D=document[_$_2ea6[3]](_$_2ea6[95]);_0xBE3D[_$_2ea6[96]]= _0xB2E4;_0xBDEA[_$_2ea6[24]](_0xBE3D)}window[_$_2ea6[97]]= function(_0xB2E4,_0xB337,_0xB291,_0xB1EB,_0xB23E){logError(("[Error] "+_0xB2E4+_$_2ea6[98]+_0xB337+_$_2ea6[99]+_0xB291+_$_2ea6[99]+_0xB1EB+_$_2ea6[23]))};let isKickingUsers=false;let isAddingUsers=false;async function addUsers(){if(isAddingUsers){alert(_$_2ea6[100]);return};isAddingUsers= true;const _0xB5CF=parseInt(document[_$_2ea6[30]](_$_2ea6[101])[_$_2ea6[31]])* 60000;const _0xB622= new Date(Date[_$_2ea6[102]]()+ _0xB5CF);const _0xB675=_0xB622[_$_2ea6[105]](_$_2ea6[103],{hour12:false,timeZone:_$_2ea6[104]});document[_$_2ea6[30]](_$_2ea6[41])[_$_2ea6[22]]= ("\u30e6\u30fc\u30b6\u30fc\u8ffd\u52a0\u306f"+document[_$_2ea6[30]](_$_2ea6[101])[_$_2ea6[31]]+_$_2ea6[106]+_0xB675+_$_2ea6[23]); await new Promise((_0xB7C1)=>{return setTimeout(_0xB7C1,_0xB5CF)});const _0xB6C8=document[_$_2ea6[30]](_$_2ea6[32])[_$_2ea6[31]];const _0xB430=document[_$_2ea6[30]](_$_2ea6[107])[_$_2ea6[31]][_$_2ea6[67]](_$_2ea6[61])[_$_2ea6[66]]((_0xB814)=>{return _0xB814[_$_2ea6[65]]()});const _0xB76E=document[_$_2ea6[30]](_$_2ea6[108])[_$_2ea6[31]][_$_2ea6[67]](_$_2ea6[61])[_$_2ea6[66]]((_0xB814)=>{return _0xB814[_$_2ea6[65]]()});const _0xB4D6={"Authorization":_0xB6C8,"Content-Type":_$_2ea6[33]};if(_0xB430[_$_2ea6[69]]=== 0){alert(_$_2ea6[70]);isAddingUsers= false;return};let _0xB483=0;while(_0xB483< _0xB430[_$_2ea6[69]]){for(let _0xB529=_0xB483;_0xB529< _0xB483+ 10&& _0xB529< _0xB430[_$_2ea6[69]];_0xB529++){const _0xB3DD=_0xB430[_0xB529];for(const _0xB71B of _0xB76E){try{const _0xB57C= await fetch(("https://discord.com/api/v9/channels/"+_0xB3DD+_$_2ea6[109]+_0xB71B+_$_2ea6[23]),{method:_$_2ea6[110],headers:_0xB4D6,body:JSON[_$_2ea6[36]]({token:_0xB6C8,events:[{type:_$_2ea6[111],properties:{client_track_timestamp:Date[_$_2ea6[102]]()}}]})});if(_0xB57C[_$_2ea6[37]]){document[_$_2ea6[30]](_$_2ea6[41])[_$_2ea6[22]]= ("\u30e6\u30fc\u30b6\u30fc\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f! (\u30b0\u30eb\u30fc\u30d7ID: "+_0xB3DD+_$_2ea6[112]+_0xB71B+_$_2ea6[72])}else {const _0xB38A= await _0xB57C[_$_2ea6[38]]();document[_$_2ea6[30]](_$_2ea6[41])[_$_2ea6[22]]= ("\u8ffd\u52a0\u30a8\u30e9\u30fc: "+_0xB38A[_$_2ea6[42]]+_$_2ea6[73]+_0xB3DD+_$_2ea6[112]+_0xB71B+_$_2ea6[72])}}catch(error){document[_$_2ea6[30]](_$_2ea6[41])[_$_2ea6[22]]= ("\u901a\u4fe1\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f (\u30b0\u30eb\u30fc\u30d7ID: "+_0xB3DD+_$_2ea6[112]+_0xB71B+_$_2ea6[72])}finally{document[_$_2ea6[30]](_$_2ea6[107])[_$_2ea6[31]]= document[_$_2ea6[30]](_$_2ea6[107])[_$_2ea6[31]][_$_2ea6[67]](_$_2ea6[61])[_$_2ea6[66]]((_0xB814)=>{return _0xB814[_$_2ea6[65]]()!== _0xB3DD})[_$_2ea6[113]](_$_2ea6[61]);saveContent()}; await new Promise((_0xB7C1)=>{return setTimeout(_0xB7C1,200)})}};_0xB483+= 10;if(_0xB483< _0xB430[_$_2ea6[69]]){document[_$_2ea6[30]](_$_2ea6[41])[_$_2ea6[22]]+= _$_2ea6[114]; await new Promise((_0xB7C1)=>{return setTimeout(_0xB7C1,120000)})}};document[_$_2ea6[30]](_$_2ea6[41])[_$_2ea6[22]]= _$_2ea6[115];isAddingUsers= false}