Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

add script link to cPanel interface

Discussion in 'General Discussion' started by GlobeDomain, Jun 24, 2004.

  1. GlobeDomain

    GlobeDomain Member

    Jun 5, 2004
    Likes Received:
    Trophy Points:

    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.

  2. akashgoel

    akashgoel Registered

    Jun 26, 2004
    Likes Received:
    Trophy Points:
    I'm no veteran, but I believe their names and passwords are stored in mysql, database: mysql table: users. What type of hashing is in those passwords I wanted to know? Is there a way I can do the same using PHP?


Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice