afreena
New member
USE ANY WHMCS PLUGIN/THEME
If you are using WHMCS so you know how license works, This is easy way to use any WHMCS item without touching the source code.
Note: you may need to have VPS ( for your WHMCS) as most companies does not allow adding a domain that is not using companies nameservers.
Note: You need the secret and that is kinda difficult for some users.
Get a VPS and install whmcs on it ( you can move your existing WHMCS.
Now untouched modules & addons.
Example: modulesgarden.com
Suppose you got an addon from ModulesGarden for that.
1. Upload modules in valid folder and wait...
2. Create a new website on your server if you are using any Panel i.e WHM, FastPanel, Plesk
Note: you need to use domain that you want to use modules from i.e
Note: Visit the site where from you want modules login or goto client are where WHMCS is installed and copy the URL 100% exact url.
For modulesgarden url is:
So Domain will be (with WWW) and WHMCS is installed in client-area)
3. Install mkcert and run mkcert install
4. Install SSL for modulesgarden : mkcert ( for more check mkcert github)
5. Edit /etc/vhosts and add domain as below
127.0.0.1
6. In file manager of modulesgarden ( newly created website delete all files and add new file i.e index.php and inside file just enter anything i.e: Working...
7. Check new site is working: curl -v
SUCCES: it should give you SSL error ignore that but it should load from 127.0.0.1
8. FIX SSL: In step 4 you created 2 files xxx.key.pem & xxx.pem
In your panel: copy paste license and install ssl
Example Certificate: cat
Example Private Key: cat
Example Authority ( content of rootCA.pem file of mkcert)
9. On some panels you need to restart apache2 and also update-ca ( update trusted CA list)
10. Now if you installed SSL and Created domain correctly you should get working... if you run
curl -i ( You will see what you put in index.php file)
11. WHMCS: each provide have different whmcs path for MG it is client-area get that name and create a new folded in newly created domain i.e client-area
BONUS: you can link your WHMCS to FAKE whmcs i.e YOUR WHMCS is at /home/user/whmcs & FAKE WHMCS needs at /home/modulesgarden/public_html
Link: ln -s /home/user/whmcs /home/modulesgarden/public_html/client-area
12. Important: In you own WHMCS login to admin panel and enable License Manager and logout
and now copy your own WHMCS in client-area ( do not do anything)
13. Now if you run curl : you should see default whmcs page in terminal
IMPORTANT & DIFFICULT
14. Now get the secret of module/theme you want to install ( secret is a MD5 key used to with license key as below examples.
ModulesGarden cPanel Extended Secret is : 659c08a59bbb484f3b40591
ModulesGarden PaymentgatewayCharges secret is: a664vade6E75obdee6379ffda514xd53809f
15. In you WHMCS create a new Group i.e: LICENSE and then create a new product as MD_cPanelExtened ) Use any names and make these both hidden.
when you create new product use License Manager addon and choose key length to 12 or above 11
Change settings accordingly or you can check all boxes
IMPORTANT : SECRET key field add the module secret key i.e: 659c08a59bbb484f3b40591
IMPORTANT : Key prefix should not contain number or space & should end with a _ (underscore) valid is : Fake_cPanelExtened_
NOTE: You now dont have to do anything with modulesgarden domain of files ( in case you change your database for your own WHMCS put new values in FAKE whmcs configuration.php file)
TIP: If you are on VPS & you have directories lined you dont need to do anything. See step 11.
16. If you have configured fake domain+fake whmcs+fake SSL + valid secret of addon/theme/module.
Create a new user on your whmcs and order the new item i.e: MD_cPanelExtened and iactivate it from WHMCS you will get the key
17. Now add your license key in moules license.php ( License_RENAME.php )
Check official module documentation for installation..
Hope you enjoyed
This free tutorial/hack was shared by Afreena on below forums.
1. KodeBlen
If you are using WHMCS so you know how license works, This is easy way to use any WHMCS item without touching the source code.
Note: you may need to have VPS ( for your WHMCS) as most companies does not allow adding a domain that is not using companies nameservers.
Note: You need the secret and that is kinda difficult for some users.
Get a VPS and install whmcs on it ( you can move your existing WHMCS.
Now untouched modules & addons.
Example: modulesgarden.com
Suppose you got an addon from ModulesGarden for that.
1. Upload modules in valid folder and wait...
2. Create a new website on your server if you are using any Panel i.e WHM, FastPanel, Plesk
Note: you need to use domain that you want to use modules from i.e
Note: Visit the site where from you want modules login or goto client are where WHMCS is installed and copy the URL 100% exact url.
For modulesgarden url is:
So Domain will be (with WWW) and WHMCS is installed in client-area)
3. Install mkcert and run mkcert install
4. Install SSL for modulesgarden : mkcert ( for more check mkcert github)
5. Edit /etc/vhosts and add domain as below
127.0.0.1
6. In file manager of modulesgarden ( newly created website delete all files and add new file i.e index.php and inside file just enter anything i.e: Working...
7. Check new site is working: curl -v
SUCCES: it should give you SSL error ignore that but it should load from 127.0.0.1
8. FIX SSL: In step 4 you created 2 files xxx.key.pem & xxx.pem
In your panel: copy paste license and install ssl
Example Certificate: cat
Example Private Key: cat
Example Authority ( content of rootCA.pem file of mkcert)
9. On some panels you need to restart apache2 and also update-ca ( update trusted CA list)
10. Now if you installed SSL and Created domain correctly you should get working... if you run
curl -i ( You will see what you put in index.php file)
11. WHMCS: each provide have different whmcs path for MG it is client-area get that name and create a new folded in newly created domain i.e client-area
BONUS: you can link your WHMCS to FAKE whmcs i.e YOUR WHMCS is at /home/user/whmcs & FAKE WHMCS needs at /home/modulesgarden/public_html
Link: ln -s /home/user/whmcs /home/modulesgarden/public_html/client-area
12. Important: In you own WHMCS login to admin panel and enable License Manager and logout
and now copy your own WHMCS in client-area ( do not do anything)
13. Now if you run curl : you should see default whmcs page in terminal
IMPORTANT & DIFFICULT
14. Now get the secret of module/theme you want to install ( secret is a MD5 key used to with license key as below examples.
ModulesGarden cPanel Extended Secret is : 659c08a59bbb484f3b40591
ModulesGarden PaymentgatewayCharges secret is: a664vade6E75obdee6379ffda514xd53809f
15. In you WHMCS create a new Group i.e: LICENSE and then create a new product as MD_cPanelExtened ) Use any names and make these both hidden.
when you create new product use License Manager addon and choose key length to 12 or above 11
Change settings accordingly or you can check all boxes
IMPORTANT : SECRET key field add the module secret key i.e: 659c08a59bbb484f3b40591
IMPORTANT : Key prefix should not contain number or space & should end with a _ (underscore) valid is : Fake_cPanelExtened_
NOTE: You now dont have to do anything with modulesgarden domain of files ( in case you change your database for your own WHMCS put new values in FAKE whmcs configuration.php file)
TIP: If you are on VPS & you have directories lined you dont need to do anything. See step 11.
16. If you have configured fake domain+fake whmcs+fake SSL + valid secret of addon/theme/module.
Create a new user on your whmcs and order the new item i.e: MD_cPanelExtened and iactivate it from WHMCS you will get the key
17. Now add your license key in moules license.php ( License_RENAME.php )
Check official module documentation for installation..
Hope you enjoyed
This free tutorial/hack was shared by Afreena on below forums.
1. KodeBlen
Last edited by a moderator: