Hi,
I'm planning to add a link into the cPanel interface (I know it will get overwritten by cPanel updates).
The link is a perl script that will do some processing.
1) One way is to put the script in my account (say, the url is http://xyz/script.cgi) and add the link to this where I want it under /usr/local/cpanel/base/frontend/x/
But, anyone can then execute http://xyz/script.cgi without giving the password.
Does anyone know where the cPanel usernames and encrypted passwords are stored so I can grab them for my .htaccess password file?
Or if there is some script where I enter the username and it returns the encrypted password, that'll do too.
2) Another way is to keep the script under /usr/local/cpanel/base/frontend/x/ and add a link to that.
However, it seems to be always displaying the code instead of executing the cgi script.
Thanks in advance.
Ankur



LinkBack URL
About LinkBacks
Reply With Quote




