stefanpejcic / Primary-Domain-Changer-cPanel-Plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Primary Domain Changer cPanel Plugin

Screenshot

Uses WHMAPI to change the domain for the user, but because cpanel users dont have access to it, script runs c wrapper that executes the bash script as root.

Please properly test it and add additional security checks before using in production.

chmod +x script.sh
chmod u+s wrapper

About


Languages

Language:PHP 58.0%Language:CSS 22.1%Language:Shell 10.6%Language:C 9.3%