mercredi Posted January 24, 2017 Share Posted January 24, 2017 Hi everyone, I like to use Wifiphiser to get WPA/WPA2, there is a good template https://wifiphisher.org/ps/wifi_connect/ to catch the wifi password. Somebody have to try to clone this template for the TETRA/NANO? Thankx Link to comment Share on other sites More sharing options...
Kn0wledge Posted January 27, 2017 Share Posted January 27, 2017 Actually I have been trying hard to get wifiphisher to work with the Nano... i tried to get the templates to work with the evil portal module but no luck... super frustrating ... The ideal scenario is getting the devs of wifiphisher to write a module for pinapple. what is great about wifiphisher is that it will make life easier and auto select templates based on router makes apart from having the option to select other pages.... Hopefully this becomes a project Link to comment Share on other sites More sharing options...
Kn0wledge Posted January 27, 2017 Share Posted January 27, 2017 Well that was stupid, just noticed wifiphisher is in HTML while capitve portal is PHP so.. getting it to work there is not an option.. so let's stick to getting a module out of the devs. Link to comment Share on other sites More sharing options...
Kn0wledge Posted January 27, 2017 Share Posted January 27, 2017 sorry can't find the edit post button. I placed my request here if anyone wants to second that : https://github.com/sophron/wifiphisher/issues/424 Link to comment Share on other sites More sharing options...
Teabot 5000 Posted January 28, 2017 Share Posted January 28, 2017 On 27/1/2017 at 11:13 AM, Kn0wledge said: Well that was stupid, just noticed wifiphisher is in HTML while capitve portal is PHP so.. getting it to work there is not an option.. so let's stick to getting a module out of the devs. You mean the templates are html and php? php can be used to just print html, and as far as I know the evilportal module outputs that php wrapped in html like a normal php web page. One being html and the other using php isn't an issue. Take a look here for a good resource on web development. f you really want the exact same template, you can use the resources to port it yourself, or rebuild it. What wifiphisher does can be done on the pineapple using PineAP, evilportal, and deauths. As far as I remember, there isn't anything special that wifiphisher does that can't be done on the pineapple already. Link to comment Share on other sites More sharing options...
Kn0wledge Posted January 28, 2017 Share Posted January 28, 2017 7 hours ago, Teabot 5000 said: You mean the templates are html and php? php can be used to just print html, and as far as I know the evilportal module outputs that php wrapped in html like a normal php web page. One being html and the other using php isn't an issue. Take a look here for a good resource on web development. f you really want the exact same template, you can use the resources to port it yourself, or rebuild it. What wifiphisher does can be done on the pineapple using PineAP, evilportal, and deauths. As far as I remember, there isn't anything special that wifiphisher does that can't be done on the pineapple already. Thanks, yeah im trying to edit them for my own personal experiments. having lots of trouble replacing the forms of a cloned website ... and i still can't figure out which part of the code is the one that dictates what comes after submit (ie authorized or not). I don't know any html so that is the main reason i struggle so much. I followed this great tutorial " " it helps.. but when the cloned sites are bit more complicated .. it gets much more complex.. if anyone has some time on their hands lemme know :D Link to comment Share on other sites More sharing options...
Kn0wledge Posted February 3, 2017 Share Posted February 3, 2017 @Teabot 5000 when you have some time could i ask for your support on trying together to make one of the wifiphisher templates to work? been trying for days but there is always something wrong. PM me if you have time of course. Thanks Link to comment Share on other sites More sharing options...
Teabot 5000 Posted February 3, 2017 Share Posted February 3, 2017 28 minutes ago, Kn0wledge said: @Teabot 5000 when you have some time could i ask for your support on trying together to make one of the wifiphisher templates to work? been trying for days but there is always something wrong. PM me if you have time of course. Thanks I have an interest in getting something similar to the WiFi connect phishing page (this one) working with evilportal, so I'll take a look at it tonight or tomorrow at some point. It should just be a case of moving stuff around to get it working. Do you have a github page for what you managed to do so far? Link to comment Share on other sites More sharing options...
Kn0wledge Posted February 4, 2017 Share Posted February 4, 2017 hey @Teabot 5000 sorry been disconnected for a while after getting so frustrated at not being able to get them working. No github atm as I havent been able to get any of them working... cause its kinda way over my head.. includes some php coding for evil portal, some java as well.. and general html for the page... damn... taking me forever to find basic things. we can hangout one day when you have the time and try to figure it out . were you able to get any working ? Link to comment Share on other sites More sharing options...
Teabot 5000 Posted February 5, 2017 Share Posted February 5, 2017 Ok, @Kn0wledge and @mercredi here's a quick port of the wifiphisher "wifi connect" module: https://github.com/teabot5000/Evilportal-wifi-connect Instructions are in the readme. I ended up changing some of the javascript to use jQuery (which is provided by evilportal). I merged the index.php file (created by evilportal when you make a new module) with the index.html page in the wifiphisher template. Other than that it was just a case of pointing the form in the template to <?=$destination?>/captiveportal/index.php so evilportal could catch it. I just added some lines to MyPortal.php to save the submitted password to a log file which can be defined in config.php. I just tested it in the preview and with an Android phone, so it will hopefully be working ok with everything else. Link to comment Share on other sites More sharing options...
Kn0wledge Posted February 6, 2017 Share Posted February 6, 2017 On 2/5/2017 at 1:07 PM, Teabot 5000 said: Ok, @Kn0wledge and @mercredi here's a quick port of the wifiphisher "wifi connect" module: https://github.com/teabot5000/Evilportal-wifi-connect Instructions are in the readme. I ended up changing some of the javascript to use jQuery (which is provided by evilportal). I merged the index.php file (created by evilportal when you make a new module) with the index.html page in the wifiphisher template. Other than that it was just a case of pointing the form in the template to <?=$destination?>/captiveportal/index.php so evilportal could catch it. I just added some lines to MyPortal.php to save the submitted password to a log file which can be defined in config.php. I just tested it in the preview and with an Android phone, so it will hopefully be working ok with everything else. wow that sounds awesome man. Just followed the steps of wget in the right directory on the pineapple however when i click "Activate" , nothing happens. from history i know it is usually because of a missing .ep file. but checked and it is still there. any ideas? also, do you mind sharing how exactly you edited the javascript? if i can learn this step i could start work on trying to adapt other of its templates like the firmware upgrades. really appreciate the help man EDIT: I created a new portal and copied everything into it (Replacing the index.php and myportal.php) worked fine (could be an issue with the .ep or i noticed that you are missing the jquery-2.2.1.min.js file in your version so it could be it as well) . When I tried it out on my devices (iOS and win7) the text comes in great, however the dinosaur logo is broken for some reason. and no prompts for re-login in or anything. Link to comment Share on other sites More sharing options...
Teabot 5000 Posted February 6, 2017 Share Posted February 6, 2017 It's probably not activating because the .ep file is the wrong name, will fix that now. jQuery is included but it's in the "static" folder which doesn't show up in the evilportal GUI. I just changed some of the javascript in the behavious.js file (also in the static directory). I changed the "vanilla" javascript to use jQuery because I thought it seemed to be causing some problems for me. I'd recommend looking at the link to W3schools I gave earlier in the thread. It covers everything from HTML, to Javascript, to PHP. It's worth taking a look at. Link to comment Share on other sites More sharing options...
mercredi Posted February 7, 2017 Author Share Posted February 7, 2017 Hi, I'll try your code tomorrow. Wlan0 is used for fakeAP, so we need to jamm AP with wlan2 (USB) Or i'm wrong? Airgeddon's template offer an other good option to ask WPA - https://github.com/v1s1t0r1sh3r3/airgeddon. Also handshake it's used to check if WPA is ok... Link to comment Share on other sites More sharing options...
Kn0wledge Posted February 10, 2017 Share Posted February 10, 2017 Hey @Teabot 5000 thx a mill, still had to create my own .ep and keep the original jquery but then works great. As soon as i have time will start porting some others. Cheers Link to comment Share on other sites More sharing options...
Kn0wledge Posted February 19, 2017 Share Posted February 19, 2017 @Teabot 5000 juicy new version of wifi-connect that gives a java pop out for android and iphone.... are you up for an update ? ;P Quote https://github.com/wifiphisher/wifiphisher/issues/460#issuecomment-280865004 seems interesting Link to comment Share on other sites More sharing options...
Kn0wledge Posted February 21, 2017 Share Posted February 21, 2017 @Teabot 5000 im almost done porting the new page to the nano. I just need your help with the final step, I am not sure which code I need to edit to invoke the pop up. So now when i connect via my iphone, i get the page perfectly re-sized, but I dont get the pop out.. so probably i didn't edit the java .. which file is responsible for the pop-out? Appreciate your help, also how can I add it to your github when done ? Link to comment Share on other sites More sharing options...
CyberViking Posted July 21, 2017 Share Posted July 21, 2017 Is there any update on this module, Would love to get it running on Mk5 Link to comment Share on other sites More sharing options...
dikdronk Posted August 2, 2017 Share Posted August 2, 2017 I'd like to see more on this also, thanks for the hard work @Kn0wledge & @Teabot 5000 Link to comment Share on other sites More sharing options...
codeforge Posted January 8, 2018 Share Posted January 8, 2018 Hi, is there a way to get client connected ESSID from html or php? Link to comment Share on other sites More sharing options...
vb7 Posted October 14, 2020 Share Posted October 14, 2020 Hi, Targeted portal isn't working as expected. I have the following rule configured, where if SSID being connected to is "Starbucks Free WiFi", it should open the portal. For any other sid's captured / beaconed by PineAP I do not want this behaviour. However, no matter what I do, the portal pops up on every SSID including management / non-broadcasted ones, etc. Running version 1.0.1 - Tested on 1.0.0 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.