Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Obfuscating your local scripts

Featured Replies

It's not necessary because everything you can add is not necessary to save.

 

 

what lol

Tried this out to obfuscate my first script but It's giving me an error. Am I just being dumb?

 

VDZGtk6.png

 

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
  • Author

 

Tried this out to obfuscate my first script but It's giving me an error. Am I just being dumb?

 

VDZGtk6.png

 

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 by Explv

  • 5 weeks later...

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

  • 10 months later...
  • 1 month later...
  • Author
8 hours ago, DrDu said:

What am I doing wrong?

994cfa4b78ed4fbe8c4b1a24434a722a.png

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

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

 

  • Author
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

 

  • 3 weeks later...

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?

  • Author
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.

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?

  • Author
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 by Explv

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.