Please help Mysql file

There are 4 replies in this Thread which was already clicked 624 times. The last Post () by musogeek.

  • i have a problem in this file (Script) Password Admin invariably, what is the correct settings for this script to give permission to change password Adamin This is the script that you want to modify





    php
    function verify_Username_and_Pass($un, $pwd) {
    $query = "SELECT *FROM members
    WHERE username = ? AND password = ?
    LIMIT 1";


    if ($stmt = $this->conn->prepare($query)) {
    $stmt->bind_param('ss', $un, $pwd);
    $stmt->execute();
    unset($query);


    if ($stmt->fetch()) {
    $stmt->close();
    return true;

  • you need to login the mysql CLI, and modify the record in the members table for user admin.


    Also, you can pull the current password from the database, if it isn't stored encrypted...
    I don't know the database name, so i can't give exact instructions.


    Are you able to login the mysql CLI ?


    login to your box, and try


    mysql <enter>


    --


    if it complains about a password, try a


    mysql -p <enter>


    - and try to login with your known mysql password...


    Once logged in.. you can do a


    show databases;


    - to pull up the database list..

  • Hmm.. Okay, it's encrypted. So manual reset by mySQL is useless..


    The script you posted has nothing to do with resetting the password.


    I leave the final answer to CSP experts ;-)

Other Not Listed Softcam Support Forum

Configs, discussion, downloads and guides for Other Not Listed Softcams - CSP, DreamOS, GBox, NEWCamd, MultiCS, OSCam Smod, OSCam Ymod, SUpcam & Wicardd.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!