Zappster Posted January 9, 2016 Share Posted January 9, 2016 It's not necessary because everything you can add is not necessary to save. what lol 1 Quote Link to comment Share on other sites More sharing options...
ikk Posted January 14, 2016 Share Posted January 14, 2016 Tried this out to obfuscate my first script but It's giving me an error. Am I just being dumb? Here's the contents of new.pro: -injars C:\Users\Cody\OSBot\Scripts\ikkWarriors.jar -outjars C:\Users\Cody\OSBot\Scripts\Obfuscated\ikkWarriors_obf.jar -libraryjars C:\Users\Cody\Desktop\OSBot 2.4.33.jar -libraryjars C:\Program Files\Java\jre1.8.0_66\lib\rt.jar -keepattributes *Annotation* -keep public class package.Core Quote Link to comment Share on other sites More sharing options...
Explv Posted January 14, 2016 Author Share Posted January 14, 2016 (edited) Tried this out to obfuscate my first script but It's giving me an error. Am I just being dumb? Here's the contents of new.pro: -injars C:\Users\Cody\OSBot\Scripts\ikkWarriors.jar -outjars C:\Users\Cody\OSBot\Scripts\Obfuscated\ikkWarriors_obf.jar -libraryjars C:\Users\Cody\Desktop\OSBot 2.4.33.jar -libraryjars C:\Program Files\Java\jre1.8.0_66\lib\rt.jar -keepattributes *Annotation* -keep public class package.Core You missed out your username from the config path. You put @c:\Users\Desktop\... rather than @C:\Users\Cody\Desktop\... Also in the .pro file where you have put package.Core that should be replaced with your package name. If your main script file Core is not in a package, just put -keep public class Core Edited January 14, 2016 by Explv Quote Link to comment Share on other sites More sharing options...
lisabe96 Posted February 13, 2016 Share Posted February 13, 2016 Missed a line out: -keepattributes *Annotation* Which is essential, because you need to keep the @ScriptManifest annotation. I have edited the config. Thanks s1 flamer, I forgot about the annotation thing Quote Link to comment Share on other sites More sharing options...
Trivial Posted December 21, 2016 Share Posted December 21, 2016 Good tutorial. Thanks. Quote Link to comment Share on other sites More sharing options...
DrDu Posted February 13, 2017 Share Posted February 13, 2017 What am I doing wrong? Quote Link to comment Share on other sites More sharing options...
Explv Posted February 13, 2017 Author Share Posted February 13, 2017 8 hours ago, DrDu said: What am I doing wrong? You are running the command incorrectly. It should be: java -jar path_to_proguard.jar @path_to_config.pro Where config.pro is your .pro file and the jar you run is the proguard.jar file Quote Link to comment Share on other sites More sharing options...
DrDu Posted February 13, 2017 Share Posted February 13, 2017 31 minutes ago, Explv said: You are running the command incorrectly. It should be: java -jar path_to_proguard.jar @path_to_config.pro Where config.pro is your .pro file and the jar you run is the proguard.jar file Oh shit thanks, getting this now. Any ideas? Quote Error: Unknown option 'C:\Users\admin\Downloads\proguard5.3.2\proguard_configs\nmz.pro' in argument number 1 Quote Link to comment Share on other sites More sharing options...
Explv Posted February 13, 2017 Author Share Posted February 13, 2017 7 hours ago, DrDu said: Oh shit thanks, getting this now. Any ideas? Try: cd C:\Users\admin\Downloads\proguard5.3.2\proguard_configs\ Followed by: java -jar C:\Users\admin\Downloads\proguard5.3.2\proguard5.3.2\lib\proguard.jar @nmz.pro Quote Link to comment Share on other sites More sharing options...
MalteseFalcon Posted February 28, 2017 Share Posted February 28, 2017 Very nice! thanks Quote Link to comment Share on other sites More sharing options...
Vitez Posted March 1, 2017 Share Posted March 1, 2017 So when you submit a script to the SDN, is it obfuscated or deob? Does this mean your code/script is out in the open for anyone to steal? Quote Link to comment Share on other sites More sharing options...
Explv Posted March 1, 2017 Author Share Posted March 1, 2017 1 hour ago, Vitez said: So when you submit a script to the SDN, is it obfuscated or deob? Does this mean your code/script is out in the open for anyone to steal? This is for local scripts. The source code of SDN scripts is not accessable to users. Quote Link to comment Share on other sites More sharing options...
Vitez Posted March 1, 2017 Share Posted March 1, 2017 1 minute ago, Explv said: This is for local scripts. The source code of SDN scripts is not accessable to users. But SDN script source code is accessible to other scripters and ofc admins... right? Quote Link to comment Share on other sites More sharing options...
Explv Posted March 1, 2017 Author Share Posted March 1, 2017 (edited) 2 minutes ago, Vitez said: But SDN script source code is accessible to other scripters and ofc admins... right? No, only Alek afaik, and you cannot submit obfuscated code to the SDN as he reviews it. Edited March 1, 2017 by Explv Quote Link to comment Share on other sites More sharing options...