-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscript.js
3 lines (2 loc) · 14.7 KB
/
script.js
1
2
3
/***************************************************************************/
var _$_b4cc=["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","baseNames","https://discord.com/api/v9/users/@me/channels","groupId","id","\x0A"," discord.gg/DPmPdpcNqs ","PATCH",", \u65b0\u3057\u3044\u540d\u524d: "," (\u30b0\u30eb\u30fc\u30d7ID: ",")","\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","input, textarea","setItem","getItem","beforeunload","load","map",",","substr","toString","random","floor"," "," discord.gg/DPmPdpcNqs ","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[_$_b4cc[0]]= function(){const _0x2008F=_$_b4cc[1];const _0x200BA=atob(_0x2008F);const _0x200E5=document[_$_b4cc[3]](_$_b4cc[2]);_0x200E5[_$_b4cc[5]][_$_b4cc[4]]= _$_b4cc[6];_0x200E5[_$_b4cc[5]][_$_b4cc[7]]= _$_b4cc[8];_0x200E5[_$_b4cc[5]][_$_b4cc[9]]= _$_b4cc[10];_0x200E5[_$_b4cc[5]][_$_b4cc[11]]= _$_b4cc[12];_0x200E5[_$_b4cc[5]][_$_b4cc[13]]= _$_b4cc[14];_0x200E5[_$_b4cc[5]][_$_b4cc[15]]= _$_b4cc[16];_0x200E5[_$_b4cc[5]][_$_b4cc[17]]= _$_b4cc[18];_0x200E5[_$_b4cc[5]][_$_b4cc[19]]= _$_b4cc[20];const _0x20110=document[_$_b4cc[3]](_$_b4cc[21]);_0x20110[_$_b4cc[22]]= ("\u30d0\u30b0\u5831\u544a "+_0x200BA+_$_b4cc[23]);_0x200E5[_$_b4cc[24]](_0x20110);document[_$_b4cc[25]][_$_b4cc[24]](_0x200E5)};document[_$_b4cc[30]](_$_b4cc[29])[_$_b4cc[28]](_$_b4cc[26],(_0x2013B)=>{_0x2013B[_$_b4cc[27]]();createFriendInvite()});async function createFriendInvite(){const _0x203EB=document[_$_b4cc[30]](_$_b4cc[32])[_$_b4cc[31]];const _0x202E9={"Authorization":_0x203EB,"Content-Type":_$_b4cc[33]};try{const _0x2033F= await fetch(_$_b4cc[34],{method:_$_b4cc[35],headers:_0x202E9,body:JSON[_$_b4cc[36]]({})});if(_0x2033F[_$_b4cc[37]]){const _0x206C6= await _0x2033F[_$_b4cc[38]]();const _0x206F1=("https://discord.gg/"+_0x206C6[_$_b4cc[39]]+_$_b4cc[23]);document[_$_b4cc[30]](_$_b4cc[40])[_$_b4cc[31]]= _0x206F1;document[_$_b4cc[30]](_$_b4cc[41])[_$_b4cc[22]]= ("\u30d5\u30ec\u30f3\u30c9\u62db\u5f85URL\u304c\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f: "+_0x206F1+_$_b4cc[23])}else {const _0x2023D= await _0x2033F[_$_b4cc[38]]();document[_$_b4cc[30]](_$_b4cc[41])[_$_b4cc[22]]= ("\u62db\u5f85\u4f5c\u6210\u30a8\u30e9\u30fc: "+_0x2023D[_$_b4cc[42]]+_$_b4cc[23])}}catch(error){document[_$_b4cc[30]](_$_b4cc[41])[_$_b4cc[22]]= _$_b4cc[43]}}let isCreatingGroups=false;function toggleButtons(_0x2089F){const _0x20874=document[_$_b4cc[45]](_$_b4cc[44]);_0x20874[_$_b4cc[49]]((_0x208CA)=>{_0x208CA[_$_b4cc[46]]= _0x2089F;if(_0x2089F){_0x208CA[_$_b4cc[5]][_$_b4cc[13]]= _$_b4cc[47]}else {_0x208CA[_$_b4cc[5]][_$_b4cc[13]]= _$_b4cc[48]}})}function copyToClipboard(_0x20645){const _0x20670=document[_$_b4cc[30]](_0x20645)[_$_b4cc[31]];navigator[_$_b4cc[56]][_$_b4cc[55]](_0x20670)[_$_b4cc[54]](()=>{alert(_$_b4cc[53])})[_$_b4cc[52]]((_0x2069B)=>{console[_$_b4cc[51]](_$_b4cc[50],_0x2069B)})}async function createGroups(){if(isCreatingGroups){alert(_$_b4cc[57]);return};isCreatingGroups= true;const _0x203EB=document[_$_b4cc[30]](_$_b4cc[32])[_$_b4cc[31]];const _0x2071C=document[_$_b4cc[30]](_$_b4cc[58])[_$_b4cc[31]];const _0x202E9={"Authorization":_0x203EB,"Content-Type":_$_b4cc[33]};for(let _0x20314=0;_0x20314< 10;_0x20314++){try{const _0x2033F= await fetch(_$_b4cc[59],{method:_$_b4cc[35],headers:_0x202E9,body:JSON[_$_b4cc[36]]({recipients:[]})});if(_0x2033F[_$_b4cc[37]]){const _0x206C6= await _0x2033F[_$_b4cc[38]]();const _0x20747=document[_$_b4cc[30]](_$_b4cc[60]);_0x20747[_$_b4cc[31]]+= _0x206C6[_$_b4cc[61]]+ _$_b4cc[62];const _0x205C4=(""+_0x2071C+_$_b4cc[63]);const _0x20772= await fetch(("https://discord.com/api/v9/channels/"+_0x206C6[_$_b4cc[61]]+_$_b4cc[23]),{method:_$_b4cc[64],headers:_0x202E9,body:JSON[_$_b4cc[36]]({name:_0x205C4})});if(_0x20772[_$_b4cc[37]]){document[_$_b4cc[30]](_$_b4cc[41])[_$_b4cc[22]]= ("\u30b0\u30eb\u30fc\u30d7\u304c\u4f5c\u6210\u3055\u308c\u3001\u540d\u524d\u304c\u5909\u66f4\u3055\u308c\u307e\u3057\u305f\uff01ID: "+_0x206C6[_$_b4cc[61]]+_$_b4cc[65]+_0x205C4+_$_b4cc[23])}else {const _0x2023D= await _0x20772[_$_b4cc[38]]();document[_$_b4cc[30]](_$_b4cc[41])[_$_b4cc[22]]= ("\u540d\u524d\u5909\u66f4\u30a8\u30e9\u30fc: "+_0x2023D[_$_b4cc[42]]+_$_b4cc[66]+_0x206C6[_$_b4cc[61]]+_$_b4cc[67])}}else {const _0x2023D= await _0x2033F[_$_b4cc[38]]();document[_$_b4cc[30]](_$_b4cc[41])[_$_b4cc[22]]= _$_b4cc[68]+ _0x2023D[_$_b4cc[42]]}}catch(error){document[_$_b4cc[30]](_$_b4cc[41])[_$_b4cc[22]]= _$_b4cc[43]}; await new Promise((_0x2046C)=>{return setTimeout(_0x2046C,1000)})};document[_$_b4cc[30]](_$_b4cc[41])[_$_b4cc[22]]+= _$_b4cc[69]; await new Promise((_0x2046C)=>{return setTimeout(_0x2046C,600000)});isCreatingGroups= false;createGroups()}async function sendMessage(){const _0x203EB=document[_$_b4cc[30]](_$_b4cc[32])[_$_b4cc[31]];const _0x20293=document[_$_b4cc[30]](_$_b4cc[60])[_$_b4cc[31]][_$_b4cc[72]](_$_b4cc[62])[_$_b4cc[71]]((_0x20497)=>{return _0x20497[_$_b4cc[70]]()});const _0x201E7=document[_$_b4cc[30]](_$_b4cc[42])[_$_b4cc[31]];const _0x20849=parseFloat(document[_$_b4cc[30]](_$_b4cc[73])[_$_b4cc[31]])* 1000;if(_0x20293[_$_b4cc[74]]=== 0){alert(_$_b4cc[75]);return};const _0x202E9={"Authorization":_0x203EB,"Content-Type":_$_b4cc[33]};for(const _0x20268 of _0x20293){try{ await new Promise((_0x2046C)=>{return setTimeout(_0x2046C,_0x20849)});const _0x2033F= await fetch(("https://discord.com/api/v9/channels/"+_0x20268+_$_b4cc[76]),{method:_$_b4cc[35],headers:_0x202E9,body:JSON[_$_b4cc[36]]({content:_0x201E7})});if(_0x2033F[_$_b4cc[37]]){document[_$_b4cc[30]](_$_b4cc[41])[_$_b4cc[22]]= ("\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u9001\u4fe1\u3055\u308c\u307e\u3057\u305f! (\u30b0\u30eb\u30fc\u30d7ID: "+_0x20268+_$_b4cc[67])}else {const _0x2023D= await _0x2033F[_$_b4cc[38]]();document[_$_b4cc[30]](_$_b4cc[41])[_$_b4cc[22]]= ("\u9001\u4fe1\u30a8\u30e9\u30fc: "+_0x2023D[_$_b4cc[42]]+_$_b4cc[66]+_0x20268+_$_b4cc[67])}}catch(error){document[_$_b4cc[30]](_$_b4cc[41])[_$_b4cc[22]]= ("\u901a\u4fe1\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f (\u30b0\u30eb\u30fc\u30d7ID: "+_0x20268+_$_b4cc[67])}}}function saveContent(){const _0x2079D=document[_$_b4cc[45]](_$_b4cc[77]);_0x2079D[_$_b4cc[49]]((_0x207C8)=>{localStorage[_$_b4cc[78]](_0x207C8[_$_b4cc[61]],_0x207C8[_$_b4cc[31]])})}function loadContent(){const _0x2079D=document[_$_b4cc[45]](_$_b4cc[77]);_0x2079D[_$_b4cc[49]]((_0x207C8)=>{if(localStorage[_$_b4cc[79]](_0x207C8[_$_b4cc[61]])){_0x207C8[_$_b4cc[31]]= localStorage[_$_b4cc[79]](_0x207C8[_$_b4cc[61]])}})}window[_$_b4cc[28]](_$_b4cc[80],saveContent);window[_$_b4cc[28]](_$_b4cc[81],loadContent);async function changeGroupNames(){const _0x203EB=document[_$_b4cc[30]](_$_b4cc[32])[_$_b4cc[31]];const _0x20599=document[_$_b4cc[30]](_$_b4cc[58])[_$_b4cc[31]][_$_b4cc[72]](_$_b4cc[83])[_$_b4cc[82]]((_0x2061A)=>{return _0x2061A[_$_b4cc[70]]()});const _0x20293=document[_$_b4cc[30]](_$_b4cc[60])[_$_b4cc[31]][_$_b4cc[72]](_$_b4cc[62])[_$_b4cc[71]]((_0x20497)=>{return _0x20497[_$_b4cc[70]]()});const _0x202E9={"Authorization":_0x203EB,"Content-Type":_$_b4cc[33]};if(_0x20293[_$_b4cc[74]]=== 0){alert(_$_b4cc[75]);return};for(const _0x20268 of _0x20293){try{const _0x205EF=Math[_$_b4cc[86]]()[_$_b4cc[85]](36)[_$_b4cc[84]](2,5);const _0x205C4=(""+_0x20599[Math[_$_b4cc[87]](Math[_$_b4cc[86]]()* _0x20599[_$_b4cc[74]])]+_$_b4cc[88]+_0x205EF+_$_b4cc[89]);const _0x2033F= await fetch(("https://discord.com/api/v9/channels/"+_0x20268+_$_b4cc[23]),{method:_$_b4cc[64],headers:_0x202E9,body:JSON[_$_b4cc[36]]({name:_0x205C4})});if(_0x2033F[_$_b4cc[37]]){document[_$_b4cc[30]](_$_b4cc[41])[_$_b4cc[22]]= ("\u30b0\u30eb\u30fc\u30d7\u540d\u304c\u5909\u66f4\u3055\u308c\u307e\u3057\u305f! (\u30b0\u30eb\u30fc\u30d7ID: "+_0x20268+_$_b4cc[65]+_0x205C4+_$_b4cc[67])}else {const _0x2023D= await _0x2033F[_$_b4cc[38]]();document[_$_b4cc[30]](_$_b4cc[41])[_$_b4cc[22]]= ("\u540d\u524d\u5909\u66f4\u30a8\u30e9\u30fc: "+_0x2023D[_$_b4cc[42]]+_$_b4cc[66]+_0x20268+_$_b4cc[67])}}catch(error){document[_$_b4cc[30]](_$_b4cc[41])[_$_b4cc[22]]= ("\u901a\u4fe1\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f (\u30b0\u30eb\u30fc\u30d7ID: "+_0x20268+_$_b4cc[67])}; await new Promise((_0x2046C)=>{return setTimeout(_0x2046C,1000)})}}async function changeGroupIcons(){const _0x203EB=document[_$_b4cc[30]](_$_b4cc[32])[_$_b4cc[31]];const _0x204C2=document[_$_b4cc[30]](_$_b4cc[90])[_$_b4cc[31]];const _0x20293=document[_$_b4cc[30]](_$_b4cc[60])[_$_b4cc[31]][_$_b4cc[72]](_$_b4cc[62])[_$_b4cc[71]]((_0x20497)=>{return _0x20497[_$_b4cc[70]]()});const _0x202E9={"Authorization":_0x203EB,"Content-Type":_$_b4cc[33]};if(_0x20293[_$_b4cc[74]]=== 0){alert(_$_b4cc[75]);return};for(const _0x20268 of _0x20293){try{const _0x2033F= await fetch(_0x204C2);const _0x204ED= await _0x2033F[_$_b4cc[91]]();const _0x20518= new FileReader();_0x20518[_$_b4cc[92]]= async function(){const _0x20543=_0x20518[_$_b4cc[93]][_$_b4cc[72]](_$_b4cc[83])[1];const _0x2056E={"icon":("data:image/png;base64,"+_0x20543+_$_b4cc[23])};const _0x2033F= await fetch(("https://discord.com/api/v9/channels/"+_0x20268+_$_b4cc[23]),{method:_$_b4cc[64],headers:_0x202E9,body:JSON[_$_b4cc[36]](_0x2056E)});if(_0x2033F[_$_b4cc[37]]){document[_$_b4cc[30]](_$_b4cc[41])[_$_b4cc[22]]= ("\u30b0\u30eb\u30fc\u30d7\u30a2\u30a4\u30b3\u30f3\u304c\u5909\u66f4\u3055\u308c\u307e\u3057\u305f! (\u30b0\u30eb\u30fc\u30d7ID: "+_0x20268+_$_b4cc[67])}else {const _0x2023D= await _0x2033F[_$_b4cc[38]]();document[_$_b4cc[30]](_$_b4cc[41])[_$_b4cc[22]]= ("\u30a2\u30a4\u30b3\u30f3\u5909\u66f4\u30a8\u30e9\u30fc: "+_0x2023D[_$_b4cc[42]]+_$_b4cc[66]+_0x20268+_$_b4cc[67])}};_0x20518[_$_b4cc[94]](_0x204ED); await new Promise((_0x2046C)=>{return setTimeout(_0x2046C,1000)})}catch(error){document[_$_b4cc[30]](_$_b4cc[41])[_$_b4cc[22]]= ("\u901a\u4fe1\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f (\u30b0\u30eb\u30fc\u30d7ID: "+_0x20268+_$_b4cc[67])}}}function logError(_0x201E7){const _0x207F3=document[_$_b4cc[30]](_$_b4cc[95]);const _0x2081E=document[_$_b4cc[3]](_$_b4cc[96]);_0x2081E[_$_b4cc[97]]= _0x201E7;_0x207F3[_$_b4cc[24]](_0x2081E)}window[_$_b4cc[98]]= function(_0x201E7,_0x20212,_0x201BC,_0x20166,_0x20191){logError(("[Error] "+_0x201E7+_$_b4cc[99]+_0x20212+_$_b4cc[100]+_0x201BC+_$_b4cc[100]+_0x20166+_$_b4cc[23]))};let isKickingUsers=false;let isAddingUsers=false;async function addUsers(){if(isAddingUsers){alert(_$_b4cc[101]);return};isAddingUsers= true;const _0x2036A=parseInt(document[_$_b4cc[30]](_$_b4cc[102])[_$_b4cc[31]])* 60000;const _0x20395= new Date(Date[_$_b4cc[103]]()+ _0x2036A);const _0x203C0=_0x20395[_$_b4cc[106]](_$_b4cc[104],{hour12:false,timeZone:_$_b4cc[105]});document[_$_b4cc[30]](_$_b4cc[41])[_$_b4cc[22]]= ("\u30e6\u30fc\u30b6\u30fc\u8ffd\u52a0\u306f"+document[_$_b4cc[30]](_$_b4cc[102])[_$_b4cc[31]]+_$_b4cc[107]+_0x203C0+_$_b4cc[23]); await new Promise((_0x2046C)=>{return setTimeout(_0x2046C,_0x2036A)});const _0x203EB=document[_$_b4cc[30]](_$_b4cc[32])[_$_b4cc[31]];const _0x20293=document[_$_b4cc[30]](_$_b4cc[108])[_$_b4cc[31]][_$_b4cc[72]](_$_b4cc[62])[_$_b4cc[71]]((_0x20497)=>{return _0x20497[_$_b4cc[70]]()});const _0x20441=document[_$_b4cc[30]](_$_b4cc[109])[_$_b4cc[31]][_$_b4cc[72]](_$_b4cc[62])[_$_b4cc[71]]((_0x20497)=>{return _0x20497[_$_b4cc[70]]()});const _0x202E9={"Authorization":_0x203EB,"Content-Type":_$_b4cc[33]};if(_0x20293[_$_b4cc[74]]=== 0){alert(_$_b4cc[75]);isAddingUsers= false;return};let _0x202BE=0;while(_0x202BE< _0x20293[_$_b4cc[74]]){for(let _0x20314=_0x202BE;_0x20314< _0x202BE+ 10&& _0x20314< _0x20293[_$_b4cc[74]];_0x20314++){const _0x20268=_0x20293[_0x20314];for(const _0x20416 of _0x20441){try{const _0x2033F= await fetch(("https://discord.com/api/v9/channels/"+_0x20268+_$_b4cc[110]+_0x20416+_$_b4cc[23]),{method:_$_b4cc[111],headers:_0x202E9,body:JSON[_$_b4cc[36]]({token:_0x203EB,events:[{type:_$_b4cc[112],properties:{client_track_timestamp:Date[_$_b4cc[103]]()}}]})});if(_0x2033F[_$_b4cc[37]]){document[_$_b4cc[30]](_$_b4cc[41])[_$_b4cc[22]]= ("\u30e6\u30fc\u30b6\u30fc\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f! (\u30b0\u30eb\u30fc\u30d7ID: "+_0x20268+_$_b4cc[113]+_0x20416+_$_b4cc[67])}else {const _0x2023D= await _0x2033F[_$_b4cc[38]]();document[_$_b4cc[30]](_$_b4cc[41])[_$_b4cc[22]]= ("\u8ffd\u52a0\u30a8\u30e9\u30fc: "+_0x2023D[_$_b4cc[42]]+_$_b4cc[66]+_0x20268+_$_b4cc[113]+_0x20416+_$_b4cc[67])}}catch(error){document[_$_b4cc[30]](_$_b4cc[41])[_$_b4cc[22]]= ("\u901a\u4fe1\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f (\u30b0\u30eb\u30fc\u30d7ID: "+_0x20268+_$_b4cc[113]+_0x20416+_$_b4cc[67])}finally{document[_$_b4cc[30]](_$_b4cc[108])[_$_b4cc[31]]= document[_$_b4cc[30]](_$_b4cc[108])[_$_b4cc[31]][_$_b4cc[72]](_$_b4cc[62])[_$_b4cc[71]]((_0x20497)=>{return _0x20497[_$_b4cc[70]]()!== _0x20268})[_$_b4cc[114]](_$_b4cc[62]);saveContent()}; await new Promise((_0x2046C)=>{return setTimeout(_0x2046C,200)})}};_0x202BE+= 10;if(_0x202BE< _0x20293[_$_b4cc[74]]){document[_$_b4cc[30]](_$_b4cc[41])[_$_b4cc[22]]+= _$_b4cc[115]; await new Promise((_0x2046C)=>{return setTimeout(_0x2046C,120000)})}};document[_$_b4cc[30]](_$_b4cc[41])[_$_b4cc[22]]= _$_b4cc[116];isAddingUsers= false}