Jump to content

honolulu6969

Active Members
  • Posts

    10
  • Joined

  • Last visited

Recent Profile Visitors

561 profile views

honolulu6969's Achievements

Newbie

Newbie (1/14)

  1. Bump Also waiting for the realese of sslstrip2 on mkv :) That would be a awsome feature
  2. 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 ?
  3. 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(); ?>
  4. 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(); ?>
  5. i did try but with no luck :( if somebody could translate this to sqlite3 i would really really apreciate.
  6. 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(); ?>
  7. tnx for all your advises .... last thing what is better for the mk5 instead of dhcp3-server
  8. root@Pineapple:~# opkg update && opkg install sqlite3 Downloading http://cloud.wifipineapple.com/mk5/packages/Packages.gz. Updated list of available packages in /var/opkg-lists/pineapple_packages. Unknown package 'sqlite3'. Collected errors: * opkg_install_cmd: Cannot install package sqlite3. :(
  9. thanks for your reply do you have any guide for installing sqllite on the mk5 all i found on google about installing sqllite on openwrt was in russian thanks again .
  10. 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...