Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Get full version of StarUML

StarUML

Download: StarUML.io

Crack

Source: jorgeancal

After installing StartUML successfully, modify LicenseManagerDomain.js as follow:

/**
 * File name: LicenseManagerDomain.js
 * Mac OS: /Applications/StarUML.app/Contents/www/license/node/
 * Linux: /opt/staruml/www/license/node/
 */

(function () {
    "use strict";
 
    var NodeRSA = require('node-rsa');
 
    function validate(PK, name, product, licenseKey) {
        return{
           name: "sontd",
           product: "StarUML",
           licenseType: "vip",
           quantity: "unlimited",
           licenseKey: "no, thanks!"
        };
    }
 
    function init(domainManager) {
        if (!domainManager.hasDomain("LicenseManager")) {
            domainManager.registerDomain("LicenseManager", {major: 0, minor: 1});
        }
        domainManager.registerCommand(
            "LicenseManager", // domain name
            "validate",       // command name
            validate,         // command handler function
            false,            // this command is synchronous in Node ("false" means synchronous")
            "Validate License",
            [
                {
                    name: "PK",
                    type: "string",
                    description: "PK"
                },
                {
                    name: "name",
                    type: "string",
                    description: "name of license owner"
                },
                {
                    name: "product",
                    type: "string",
                    description: "product name"
                },
                {
                    name: "licenseKey",
                    type: "string",
                    description: "license key"
                }
            ],
            [
                {
                    name: "result", // return values
                    type: "object",
                    description: "result"
                }
            ]
        );
    }
 
    exports.init = init;
 
}());

Now, open it and go to Help > Enter License and you have to write the name and the licence key which you have written on LicenseManagerDomain.js. In this example would be the next:

name: "sontd"
License Key: "no, thanks!"

Enjoy it!

@sahanpasindu

This comment has been minimized.

Show comment Hide comment
@sahanpasindu

sahanpasindu Nov 14, 2017

cannot save it, show me access deny or something

cannot save it, show me access deny or something

@Sylvaindce

This comment has been minimized.

Show comment Hide comment
@Sylvaindce

Sylvaindce Nov 14, 2017

You don't have superuser rights @sahanpasindu, try with sudo.

BTW, thanks for the trick!

Sylvaindce commented Nov 14, 2017

You don't have superuser rights @sahanpasindu, try with sudo.

BTW, thanks for the trick!

@trandaison

This comment has been minimized.

Show comment Hide comment
@trandaison

trandaison Nov 21, 2017

@sahanpasindu Did you try with sudo?

sudo vi /opt/staruml/www/license/node/LicenseManagerDomain.js
Owner

trandaison commented Nov 21, 2017

@sahanpasindu Did you try with sudo?

sudo vi /opt/staruml/www/license/node/LicenseManagerDomain.js
@ocars

This comment has been minimized.

Show comment Hide comment
@ocars

ocars Nov 25, 2017

Perfect!!!

ocars commented Nov 25, 2017

Perfect!!!

@havefun77612

This comment has been minimized.

Show comment Hide comment
@havefun77612

havefun77612 Dec 1, 2017

for those how use windows we can't do sudo -i

any advice?

for those how use windows we can't do sudo -i

any advice?

@sheshubittu

This comment has been minimized.

Show comment Hide comment
@sheshubittu

sheshubittu Dec 4, 2017

how to modify staruml .can u please explain full process.which tol to be used.

how to modify staruml .can u please explain full process.which tol to be used.

@Artemas-Muzanenhamo

This comment has been minimized.

Show comment Hide comment
@Artemas-Muzanenhamo

Artemas-Muzanenhamo Dec 13, 2017

For windows users you should run your terminal as Administrator.

For windows users you should run your terminal as Administrator.

@Artemas-Muzanenhamo

This comment has been minimized.

Show comment Hide comment
@Artemas-Muzanenhamo

Artemas-Muzanenhamo Dec 13, 2017

After downloading and adding StarUML to your Applications folder you can do the following:

  1. sudo cp /Applications/StarUML.app/Contents/www/license/node/LicenseManagerDomain.js LicenseManagerDomain.js.backup
  2. sudo vim /Applications/StarUML.app/Contents/www/license/node/LicenseManagerDomain.js.
  3. If prompted to enter password then enter password and then type dG to delete everything.
  4. Hit esc and then copy the whole function() above on this page and paste it by typing p in your terminal.
  5. Type i to amend changes in the terminal and change the name in the function() validate to match yours if you want.
  6. Type esc and then type wq and hit Enter.
  7. Open StarUML and go to Help > Enter License.
  8. Enter the name and the License Key in the LicenseManagerDomain.js.

That should be it 😏

After downloading and adding StarUML to your Applications folder you can do the following:

  1. sudo cp /Applications/StarUML.app/Contents/www/license/node/LicenseManagerDomain.js LicenseManagerDomain.js.backup
  2. sudo vim /Applications/StarUML.app/Contents/www/license/node/LicenseManagerDomain.js.
  3. If prompted to enter password then enter password and then type dG to delete everything.
  4. Hit esc and then copy the whole function() above on this page and paste it by typing p in your terminal.
  5. Type i to amend changes in the terminal and change the name in the function() validate to match yours if you want.
  6. Type esc and then type wq and hit Enter.
  7. Open StarUML and go to Help > Enter License.
  8. Enter the name and the License Key in the LicenseManagerDomain.js.

That should be it 😏

@freedoms456

This comment has been minimized.

Show comment Hide comment
@freedoms456

freedoms456 Dec 14, 2017

For Windows user that cant directly save because "access denied", you can aslo try this:
1.Make new file on notepad,copy that source then save as LicenseManagerDomain.js in another location (ex desktop)
2.Then just copy LicenseManagerDomain.js in desktop and replace another one in app files
Sry for bad English

For Windows user that cant directly save because "access denied", you can aslo try this:
1.Make new file on notepad,copy that source then save as LicenseManagerDomain.js in another location (ex desktop)
2.Then just copy LicenseManagerDomain.js in desktop and replace another one in app files
Sry for bad English

@MarkDeLoko

This comment has been minimized.

Show comment Hide comment
@MarkDeLoko

MarkDeLoko Dec 25, 2017

hello, how generate c++ code from class diagram?
thank you)

hello, how generate c++ code from class diagram?
thank you)

@Devouzer

This comment has been minimized.

Show comment Hide comment
@Devouzer

Devouzer Feb 1, 2018

;) thanks :3

Devouzer commented Feb 1, 2018

;) thanks :3

@pvl97

This comment has been minimized.

Show comment Hide comment
@pvl97

pvl97 Feb 2, 2018

Thanks you very much 💯

pvl97 commented Feb 2, 2018

Thanks you very much 💯

@shine07

This comment has been minimized.

Show comment Hide comment
@shine07

shine07 Feb 20, 2018

thanks :)

shine07 commented Feb 20, 2018

thanks :)

@jutosan

This comment has been minimized.

Show comment Hide comment
@jutosan

jutosan Feb 20, 2018

works well on windows, thanks

jutosan commented Feb 20, 2018

works well on windows, thanks

@resatugurulu

This comment has been minimized.

Show comment Hide comment
@resatugurulu

resatugurulu Feb 22, 2018

image
@Artemas-Muzanenhamo doesn't work on mac os

image
@Artemas-Muzanenhamo doesn't work on mac os

@vanmart

This comment has been minimized.

Show comment Hide comment
@vanmart

vanmart Feb 23, 2018

Thanks a lot!

vanmart commented Feb 23, 2018

Thanks a lot!

@hdwong

This comment has been minimized.

Show comment Hide comment
@hdwong

hdwong Feb 24, 2018

Cool! Thanks.

hdwong commented Feb 24, 2018

Cool! Thanks.

@maulinniam

This comment has been minimized.

Show comment Hide comment
@maulinniam

maulinniam Feb 28, 2018

Wooow... thanks a lot!

Wooow... thanks a lot!

@jdenbe

This comment has been minimized.

Show comment Hide comment
@jdenbe

jdenbe Mar 2, 2018

For those with a Windows PC
Copy the file to the Desktop, modify it, paste it back in the folder OR use Visual Studio Code, when saving it will warn you that it can't save without administrative rights, click on it and it should be good to go!

jdenbe commented Mar 2, 2018

For those with a Windows PC
Copy the file to the Desktop, modify it, paste it back in the folder OR use Visual Studio Code, when saving it will warn you that it can't save without administrative rights, click on it and it should be good to go!

@stefanfredik

This comment has been minimized.

Show comment Hide comment
@stefanfredik

stefanfredik Mar 7, 2018

thank you very much. your code is worked!

thank you very much. your code is worked!

@noobping

This comment has been minimized.

Show comment Hide comment
@noobping

noobping Mar 7, 2018

Splendid!

noobping commented Mar 7, 2018

Splendid!

@jazb18

This comment has been minimized.

Show comment Hide comment
@jazb18

jazb18 Mar 11, 2018

Thank you a lot.

jazb18 commented Mar 11, 2018

Thank you a lot.

@dago1989

This comment has been minimized.

Show comment Hide comment
@dago1989

dago1989 Mar 13, 2018

tks!! im using windows ;)

tks!! im using windows ;)

@EzequielSilvaa

This comment has been minimized.

Show comment Hide comment
@EzequielSilvaa

EzequielSilvaa Mar 20, 2018

Thanks!! works perfectly!

Thanks!! works perfectly!

@avielas

This comment has been minimized.

Show comment Hide comment
@avielas

avielas Mar 20, 2018

very good concat ! ! thanks!

avielas commented Mar 20, 2018

very good concat ! ! thanks!

@ahmadhashim

This comment has been minimized.

Show comment Hide comment
@ahmadhashim

ahmadhashim Mar 21, 2018

Thanks working perfectly.

Thanks working perfectly.

@ed-edau

This comment has been minimized.

Show comment Hide comment
@ed-edau

ed-edau Mar 22, 2018

Awesome, thank you!

ed-edau commented Mar 22, 2018

Awesome, thank you!

@baboijr

This comment has been minimized.

Show comment Hide comment
@baboijr

baboijr Mar 24, 2018

Works smoothly on MacOS X High Sierra! Thank you so much!

baboijr commented Mar 24, 2018

Works smoothly on MacOS X High Sierra! Thank you so much!

@Serrulien

This comment has been minimized.

Show comment Hide comment
@Serrulien

Serrulien Mar 27, 2018

Thanks.
Don't forget to buy a licence when you can.

Thanks.
Don't forget to buy a licence when you can.

@nguyenvanquang98

This comment has been minimized.

Show comment Hide comment
@nguyenvanquang98

nguyenvanquang98 Mar 28, 2018

thanks you.

thanks you.

@KimYaKi

This comment has been minimized.

Show comment Hide comment
@KimYaKi

KimYaKi Apr 10, 2018

thank you.
good *100!

KimYaKi commented Apr 10, 2018

thank you.
good *100!

@casyazmon

This comment has been minimized.

Show comment Hide comment
@casyazmon

casyazmon Apr 12, 2018

Thanks...
Very Cool hack!!

Thanks...
Very Cool hack!!

@NicolaPez

This comment has been minimized.

Show comment Hide comment
@NicolaPez

NicolaPez Apr 13, 2018

thanks

thanks

@goldenbijoy

This comment has been minimized.

Show comment Hide comment
@goldenbijoy

goldenbijoy Apr 14, 2018

Nice one.. good job

Nice one.. good job

@alallk

This comment has been minimized.

Show comment Hide comment
@alallk

alallk Apr 15, 2018

Thanks...

alallk commented Apr 15, 2018

Thanks...

@GUEYEDSMF

This comment has been minimized.

Show comment Hide comment
@GUEYEDSMF

GUEYEDSMF Apr 16, 2018

Thanks

Thanks

@edgardo001

This comment has been minimized.

Show comment Hide comment
@edgardo001

edgardo001 Apr 17, 2018

Thanks

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment