relative / synchrony

javascript-obfuscator cleaner & deobfuscator
https://deobfuscate.relative.im/
GNU General Public License v3.0
824 stars 105 forks source link

removes semicolons during some deobfuscations #62

Open 22yeetz22 opened 1 year ago

22yeetz22 commented 1 year ago

eg: function A(G,e){var S=s();return A=function(i,C){i=i-(0x1d00xb+-0x1946+-0x1d-0x35);var x=S[i];return x;},A(G,e);}function s(){var z=['3090945VdlNvN','10VfAuzA','702592GBNqpt','7ZJGufy','8545976iLudzL','10032726lgLYat','log','58JJdjeo','1935177ZFeKYJ','12PQxTTD','10457aXWeas','7219089nzsDZE'];s=function(){return z;};return s();}(function(G,e){var M=A,i=G();while(!![]){try{var C=-parseInt(M(0xae))/(-0x150x10d+0x2013+-0xd0xc5)(-parseInt(M(0xab))/(0x1b60+-0x240x4b+-0x10d2))+-parseInt(M(0xac))/(0x26c4+0x129e0x1+-0x395f)(-parseInt(M(0xad))/(0x70x167+-0x22c0xd+0x10x126f))+parseInt(M(0xb0))/(0x1c0xb+0x10x22a3+-0x23d2)+-parseInt(M(0xb5))/(-0x190xb2+-0x203f+0x31a7)+parseInt(M(0xb3))/(0x1516+0x761-0x5+0x7eb0x2)(-parseInt(M(0xb4))/(-0x16cd+-0x5b+0x1730))+parseInt(M(0xaf))/(0x8930x1+0x3fb0x4+-0x1876)(parseInt(M(0xb1))/(0xfd-0x10+0x10xbb9+0x70x97))+parseInt(M(0xb2))/(-0x141d+-0x2048+-0x8-0x68e);if(C===e)break;else i['push'](i['shift']());}catch(x){i['push'](i['shift']());}}}(s,-0x811dd+-0xe7307+-0x6*-0x6404c));function S(){var o=A,e={};e['MgNBe']='Hello\x20World!';var i=e;consoleo(0xb6);}S();

converts to: function S() { console.log('Hello World!') } S()

when it is: // Paste your JavaScript code here function hi() { console.log("Hello World!"); } hi();

ghost commented 1 year ago

Why did my comments that say "uwu is bad" get marked as spam? and why did the uwu organization block me?