Create a gist now

Instantly share code, notes, and snippets.

Embed
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

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

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

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

Thanks

@edgardo001

This comment has been minimized.

Show comment
Hide comment

Thanks

@gathanasopoulos

This comment has been minimized.

Show comment
Hide comment

thanks !!

@andryawmti

This comment has been minimized.

Show comment
Hide comment
@andryawmti

andryawmti May 2, 2018

bloody hell, it is working perfectly!. Thank you.

bloody hell, it is working perfectly!. Thank you.

@aribrilliantsyah

This comment has been minimized.

Show comment
Hide comment
@aribrilliantsyah

aribrilliantsyah May 7, 2018

Working !!! :v thank you .

Working !!! :v thank you .

@dhayzon

This comment has been minimized.

Show comment
Hide comment
@dhayzon

dhayzon May 8, 2018

with windows run as administrator your prefered editor, after, open your file \StarUML\www\license\node LicenseManagerDomain.js
edit and save.

dhayzon commented May 8, 2018

with windows run as administrator your prefered editor, after, open your file \StarUML\www\license\node LicenseManagerDomain.js
edit and save.

@zer0Logic

This comment has been minimized.

Show comment
Hide comment
@zer0Logic

zer0Logic May 19, 2018

it's working!!! thank you so much!!!

it's working!!! thank you so much!!!

@RedhaCheriet

This comment has been minimized.

Show comment
Hide comment
@RedhaCheriet

RedhaCheriet May 21, 2018

perfect thnks a lot
2018-05-21 at 11-28-37

perfect thnks a lot
2018-05-21 at 11-28-37

@janatii

This comment has been minimized.

Show comment
Hide comment
@janatii

janatii May 24, 2018

platform : windows 10
version : 2.B.1
working perfectly!!
thank's a lot

janatii commented May 24, 2018

platform : windows 10
version : 2.B.1
working perfectly!!
thank's a lot

@jorgeancal

This comment has been minimized.

Show comment
Hide comment
@jorgeancal

jorgeancal May 26, 2018

mmm...I'm going to tell you something which I've told other people. why did you copy and paste? and the post isn't there anymore, now It's here https://jorgeancal.com/installations/crack-staruml/

mmm...I'm going to tell you something which I've told other people. why did you copy and paste? and the post isn't there anymore, now It's here https://jorgeancal.com/installations/crack-staruml/

@amankriet

This comment has been minimized.

Show comment
Hide comment
@amankriet

amankriet May 30, 2018

Well! PS: I guess you need to disconnect your internet connection first!
Thanks a lot for the help! 👍

Well! PS: I guess you need to disconnect your internet connection first!
Thanks a lot for the help! 👍

@apissotte

This comment has been minimized.

Show comment
Hide comment
@apissotte

apissotte Jun 3, 2018

It doesn't work with StarURM version 3.0

It doesn't work with StarURM version 3.0

@nhanle92

This comment has been minimized.

Show comment
Hide comment
@nhanle92

nhanle92 Jun 4, 2018

Because in the version v3.0, this method do not work, I will share the license of the previous version 2.0 just in case anyone need to license the app but do not know how to modify the file above.

IT ONLY WORKS IN VERSION 2

Name: Twitter Inc.
License: drE83kXcl6W6r81KHk9UOxZwPURnaHGOvhSMyXglRur/SlJUgHUmfwEzceh9tiNOuEv5YjDyPiqPw3YJztMRSXY68cJLpaHuj6q0akQyUlfNmCtJ2Am/aYjrfXxp1s6+uAklRkO+VZ+uVpuVLPdabr21oC+pPuQBlC+8jaVRGg0=

nhanle92 commented Jun 4, 2018

Because in the version v3.0, this method do not work, I will share the license of the previous version 2.0 just in case anyone need to license the app but do not know how to modify the file above.

IT ONLY WORKS IN VERSION 2

Name: Twitter Inc.
License: drE83kXcl6W6r81KHk9UOxZwPURnaHGOvhSMyXglRur/SlJUgHUmfwEzceh9tiNOuEv5YjDyPiqPw3YJztMRSXY68cJLpaHuj6q0akQyUlfNmCtJ2Am/aYjrfXxp1s6+uAklRkO+VZ+uVpuVLPdabr21oC+pPuQBlC+8jaVRGg0=
@layalii

This comment has been minimized.

Show comment
Hide comment
@layalii

layalii Jun 10, 2018

When I download the StarUML i get just the .exe file and not the whole directory so i can't find LicenseManagerDomain.js what should i do ?? any suggestion please !!

layalii commented Jun 10, 2018

When I download the StarUML i get just the .exe file and not the whole directory so i can't find LicenseManagerDomain.js what should i do ?? any suggestion please !!

@liy-cn

This comment has been minimized.

Show comment
Hide comment
@tatecapone

This comment has been minimized.

Show comment
Hide comment
@tatecapone

tatecapone Jun 14, 2018

It is not understood very well, but it is easy and it WORKS !, any problem consult me, here ...

It is not understood very well, but it is easy and it WORKS !, any problem consult me, here ...

@AEK-BKF

This comment has been minimized.

Show comment
Hide comment
@AEK-BKF

AEK-BKF Jun 28, 2018

@liy-cn @ojdgaf :
It doesn't work for me ! please could you show us your steps ?

AEK-BKF commented Jun 28, 2018

@liy-cn @ojdgaf :
It doesn't work for me ! please could you show us your steps ?

@Porske

This comment has been minimized.

Show comment
Hide comment
@Porske

Porske Jul 19, 2018

V.3 for Linux? I cant't find the app.asar file...

Porske commented Jul 19, 2018

V.3 for Linux? I cant't find the app.asar file...

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