![]() |
|
[Js] Batch code obfuscator - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Coding (https://sinister.li/Forum-Coding) +--- Forum: Coding (https://sinister.li/Forum-Coding--71) +--- Thread: [Js] Batch code obfuscator (/Thread-Js-Batch-code-obfuscator) Pages:
1
2
|
[Js] Batch code obfuscator - LaTortue - 02-04-2016 RE: [Js] Batch code obfuscator - Skullmeat - 02-04-2016 What on earth would you do with this? Batch is a language used to automate windows tasks. It's a simple file stored in plaintext, and from what I know of it, doing this would completely break your script anyway. RE: [Js] Batch code obfuscator - DarkMuse - 02-04-2016 Honestly, I don't see why you would want to obfuscate batch at all. I do give you props for doing this however. RE: [Js] Batch code obfuscator - Inori - 02-04-2016 If anything, you'd want to obfuscate js with batch, but thanks? RE: [Js] Batch code obfuscator - Rou - 02-04-2016 (02-04-2016, 04:10 AM)Chitoge Wrote: If anything, you'd want to obfuscate js with batch, but thanks? If you can write JS, then obfuscating JS with JS is much easier than obfuscating JS with batch. Batch files aren't exactly very flexible. But yeah. I'm guessing this is useful to someone somewhere. Just not me. The code looks okay, but you could reduce the lettertab array to 3 lines of code with a loop, but that's about all I noticed when skimming the code. The obfuscation algorithm is quite weak, so it's trivial to deobfuscate, but sometimes that's all you need. RE: [Js] Batch code obfuscator - LaTortue - 02-04-2016 Keep calm, this is my first project in javascript, i have upload this on " http://obf.meloncitron.site90.com/ ", i wrote this for fun ![]() Sry for my bad english. RE: [Js] Batch code obfuscator - Bish0pQ - 02-04-2016 It has no use to me, but it is good that you wrote it. The more you code, the more you will learn and you might as well share what you coded so good share. RE: [Js] Batch code obfuscator - zorrophreak - 02-04-2016 Saw this initially, and thought he meant a JS obfuscation tool for JS that could take a multifile (batch) of js code then obfuscate it. Its a good share, but seeing as I have given up with BATCH, no use. RE: [Js] Batch code obfuscator - Loki123 - 02-04-2016 (02-04-2016, 03:27 AM)Skullmeat Wrote: What on earth would you do with this? Batch is a language used to automate windows tasks. It's a simple file stored in plaintext, and from what I know of it, doing this would completely break your script anyway. It won't break the script at all.. It just will use some logic to make it harder to read but runs as expected. For example; Code: SET hello="@ Echo off"
%hello%would result in %hello% translating into "@ Echo off" when script is executed. Same goes for more complex methods like changing each character in as below. Code: set z=i
set h=n
set j=f
set x=e
set d=c
set q=t &echo %z%%h%%j%%x%%d%%q%Basically, I change the alphabet for the script. z becomes i, h becomes n and so on when the script is run. Basic example of obfuscation but works. Obviously it can be made more complex than this but the example shows the logic behind it. But in general, this is useless. RE: [Js] Batch code obfuscator - Skullmeat - 02-04-2016 Well, so it works, but yeah, pretty useless. |