Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Buy OSRS Gold

Sell OSRS Gold
Laniax

Dynamic Signatures - Everything you'll need!

Recommended Posts

Hey guys,

 

Here is the code i wrote to create dynamic signatures for your scripts.

 

What does it do?

- Posts the username, runtime and up to 4 other variables from your script to your webserver.

- Encrypts the data using the Rijndael-128 algorithm to prevent data tampering.

- Generates a png image with your own background/font/text placement, preserving transparency.

- Caches the png image to disk to prevent the php code from executing again.

- Cache is renewed as soon as new data is posted for that user.

- Uses regular file endings. (ie: yourdomain.com/users/laniax.png instead of yourdomain.com/signature.php?username=laniax)

- New: supports a 'All Users' image by default. (yourdomain.com/users/All Users.png)

- New: shorten values. Like '1000' into '1K' and '1000K' into '1M'.

 

Requirements:

- A (Apache) webhost which supports PHP, Mysql.

- The apache module mod_rewrite should be enabled.

(these requirements are usually default on 99% of all shared webhosts)

 

Superfast instructions on how to install:

- Upload php files to webhost

- Chmod the /users/ folder to 777.

- Copy paste and call the java function in your script. (on script end is best practise)

- Change the URL in the java snippet to your domain.

- Generate 16byte keys for the private key and IV and put them in both the db.php and the java snippet. (keep these secret!)

- Set up a database using the query in the source, fill in the database auth info in db.php

- Upload a background image and change the output() function in function.php to write the data on the background.

 

 

 

Code available on github: https://github.com/Tribot-07-Scripts/LANDynamicSignatures

 

 

Enjoy!

Edited by laniax
  • Like 5

Share this post


Link to post
Share on other sites

Updated:

 

- Added a 'All Users' image, works for all pre-existing installs just replace function.php. You can see it by going to yourdomain.com/users/All Users.png

- Values will not be shortened, so 1000 becomes 1K and 1000K becomes 1M.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Our picks

    • Over the past few months, I’ve been working diligently on a new project - TRiBot X. Everything has been written from the ground up, with all of the best practices of software engineering. Every aspect of TRiBot has been re-imagined to support three main goals: flexibility, useability, and reliability.
        • Like
      • 30 replies
    • Come give us feedback on the next version of TRiBot!
        • Thanks
        • Like
      • 74 replies
    • TRiBot is looking to improve a lot of its customer relationship management, customer on boarding process, customer experience, design elements, community engagement and pretty much everything else you can imagine when it comes to marketing.

      Our goal: To ensure that the marketing done TRULY reflects the experience and does not shine an inaccurate light on what TRiBot is lacking in.

      So I ask, what do you love about TRiBot and what do you hate about TRiBot? What does O S Bot, Rune M8, PowR Bot and Dre amBot do better? (yes I purposely didn't spell it right 😂).

      Love, 

      RileyZ
        • Like
      • 23 replies
    • Over the last three weeks, I've been working on upgrading our server infrastructure. It's finally ready and is now live!

      Why?

      Increased reliability - less server errors


      Increased availability - less downtime


      Increased security - keeping us and you secure


      Increased capacity - ability to serve you better


      Increased speed - less waiting for things to load


      Faster development - server and service updates will come faster


      What are the changes?

      Move from a single AWS EC2 instance to AWS ECS (Elastic Container Service)


      Distributed computing


      Load balancing


      Git management of server files and filesystem


      Redis caching


      How?

      AWS ECS (with 10 EC2 instances)


      AWS ElastiCache (Redis)


      AWS Load Balancing


      AWS EFS (Elastic file system)


      Please bare with us as I continue to tune the server for maximum performance. Slow loading speeds may occur temporarily. I thank everyone for their patience.

      Please post on this thread if you experience any issues other than slow loading times.
        • Like
      • 51 replies
    • This release will:

      Fix prayers and world hopper API (Thanks @JoeDezzy1 and @erickho123)


      Improve banking API (Thanks @Encoded)


      Adds methods for returning and using Java Lists, rather than arrays


      Slightly randomizes some hardcoded behaviour


      Removes sleeps from waitConditions; the efficiency saving potential is negligible in these use-cases, therefore cleaner code is preferable


      Other back-end improvements





      Note: If you are using LG, please restart both the RS client and TRiBot.
        • Sad
        • Haha
        • Thanks
        • Like
      • 90 replies
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...