soulja boy Posted April 11, 2018 Posted April 11, 2018 hey there first I have no idea where to post this so let say I have someone's script in jar but I don't trust him or i want to check his code so I can learn about scripting. how can I do this? i read something about eclipse but didnt manage it
Chris Posted April 11, 2018 Posted April 11, 2018 1 minute ago, soulja boy said: hey there first I have no idea where to post this so let say I have someone's script in jar but I don't trust him or i want to check his code so I can learn about scripting. how can I do this? i read something about eclipse but didnt manage it http://www.javadecompilers.com/
blogans Posted April 11, 2018 Posted April 11, 2018 Pretty sure you'll need to decompile it first. There's a few online decompilers that work well.
John Cena Posted April 11, 2018 Posted April 11, 2018 If It turns out the entire thing looks encrypted then probably something dodgy going on.
Apaec Posted April 11, 2018 Posted April 11, 2018 You can decompile the jar, which doesn't perfectly re-create the code as compiling isn't a fully reversible process. However, some scripters like to protect their work by obfuscating the code (mixing up the layout, scrambling variable names, re-organising whitespace, all without changing the logic of the code), so watch out for this. If you run into obfuscated code, it's up to you to make a decision about whether you trust it, but if it's someone new or little known, i'd most likely avoid running that script. That being said, you can still elicit some information from obfuscated code. -Apa 1
Hel Posted April 11, 2018 Posted April 11, 2018 (edited) 39 minutes ago, John Cena said: If It turns out the entire thing looks encrypted then probably something dodgy going on. Obfuscating code isn't exactly dodgy... On topic tho, I used to use Luyten, gotta download it but it's great. Edited April 11, 2018 by Slut
John Cena Posted April 11, 2018 Posted April 11, 2018 Just now, Slut said: Obfuscating code isn't exactly dodgy... On topic tho, I used to use Luyten, gotta download it but it's great. He said he don't trust them so if It is encrypted then yes. If they're trusted enough then I guess It's acceptable to encrypt the code?