cl34r
New Member
Posts: 3
|
Post by cl34r on Oct 4, 2015 18:35:04 GMT
Hello guys, I have a RPi with Raspbian image and I install FruityWifi with master: ------------------------------------ ARM version (Raspberry Pi) script: install-FruityWifi.sh Note: you need to download the master.zip file. You need a Raspbian, Pwnpi or Kali Linux version to use this script. Download the zip file from github.com/xtr4nge/FruityWifi/archive/master.zipUnzip the file and run install-FruityWifi.sh (This script will install all the dependencies and setups) Done. Go to http://localhost:8000 (for http) Go to https://localhost:8443 (for https) user: admin pass: admin ---------------------------------- but i can't get logon, i try use admin/admin, and I get no response, but if I try login with other credentials i get "who are you...", so i open the chrome debugger and i see this errors: So i tried to add jQuery but isn't work still : any ideas? regards,
|
|
|
Post by xtr4nge on Oct 4, 2015 21:41:06 GMT
Hi cl34r The problem it is not Bootstrap. Check that php5-fpm is running. (restart nginx and php5-fpm) Check FAQ point 1 and 2 (short_open_tag and sudo permissions) fruitywifi.boards.net/thread/52/faqLet me know regards,
|
|
cl34r
New Member
Posts: 3
|
Post by cl34r on Oct 4, 2015 22:46:18 GMT
Thanks, But I note that login but immediately redirect to logout, so I make a change on login_check.php (isn't the best but it works) : Comment the check session php
|
|
|
Post by xtr4nge on Oct 9, 2015 12:07:01 GMT
Hi cl34r,
Check the file
/usr/share/fruitywifi/www/users.php
try reseting to (user:admin, pass:admin)
21232f297a57a5a743894a0e4a801fc3
also you can debug
/usr/share/fruitywifi/www/login.php
regards,
|
|
fedg
New Member
Posts: 5
|
Post by fedg on Oct 10, 2015 1:27:21 GMT
I am having the same issue (kali 1.1.1 & rpi2). Admin pass on file .../users.php (21232f297a57a5a743894a0e4a801fc3) it´s fine but still..problem is there. Any ideas?
Thanks in advance
|
|
|
Post by xtr4nge on Oct 10, 2015 17:43:34 GMT
Hi fedg Please try all the recommendations that I suggested to cl34r. Also debug login.php
regards,
|
|
cl34r
New Member
Posts: 3
|
Post by cl34r on Oct 15, 2015 1:28:33 GMT
or simply comment the lines in login_check.php, isn't correct, but it works
|
|
|
Post by xtr4nge on Oct 15, 2015 19:13:18 GMT
Hi guys, if you can do some debug, it will help me to understand why it is not working with your setup.
please try something like this in login.php:
session_start(); session_regenerate_id(true);
include "users.php"; include "config/config.php";
$user = $_POST["user"]; $pass = $_POST["pass"];
switch($_SERVER['REQUEST_METHOD']) { case 'GET': $token = $_GET["token"]; break; case 'POST': $token = $_POST["token"]; break; default: $token = ""; }
echo "USER: $user"; echo "<br>"; echo "PASS: $pass"; echo "<br>"; echo "DEBUG: " . $users[$user] . " = " . md5($pass) ;
exit; /* if ($users[$user] == md5($pass) or $token == $api_token) { // .... */
|
|
|
Post by mastahofdesastah on Oct 16, 2015 18:18:37 GMT
Hi Guys I had the same problem and i hope you can solve it the same way. After i put in php between ?? and tried every solution posted here, i found in the error log on thing: Error - Device full Its kind of embarassing... After i deleted all logs, login works like a charm
|
|