Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jun 2004
    Posts
    12

    Default add script link to cPanel interface

    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

  2. #2
    Registered User
    Join Date
    Jun 2004
    Posts
    4

    Default

    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?

    Akash

Similar Threads & Tags
Similar threads

  1. Add link to Interact Menu of cPanel.net to Documentation Suggestions site
    By inetbizo in forum Feature Requests for cPanel/WHM
    Replies: 1
    Last Post: 12-01-2010, 09:03 AM
  2. how to add a cPanel add on script installation
    By fearmydesign in forum cPanel Developers
    Replies: 2
    Last Post: 11-15-2010, 12:06 PM
  3. how to add a cPanel add on script installation
    By fearmydesign in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-15-2010, 12:06 PM
  4. Does Cpanel have as a application... keyword link script?
    By BlackxRam in forum New User Questions
    Replies: 3
    Last Post: 10-26-2004, 02:57 AM
  5. Add a custom link to your Cpanel menu
    By glassjoe in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-14-2004, 04:16 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube