Jump to content

gibsta8570

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

354 profile views

gibsta8570's Achievements

Newbie

Newbie (1/14)

  1. Many thanks for the update/answers to questions newbi3.. You are doing great work and I look forward to the next release!
  2. I'm still scratching my head over trying to get the username and password written to the .txt file. Cheers Seb, it's good to have confirmation that it can work and I'm not wasting my time... I will make it work!
  3. Hi.. This is my first post so go easy please..! I've never had to ask a question on a forum before because I've always found that another of the 7 billion peeps on the planet has already asked it and normally that question has been answered, helpfully, by a number of people. From there I've always been able to work out what it is I need to do in order to get what it is I'm doing working. Not this time.. I've only had my Pineapple Nano just over a week but I've spent at least 2 to 3 hours a night trying to get my Evil Portal page working. So I'm swallowing my pride and asking for help. I'm also preparing for the ripping apart of my html / php / js code. I don't know php or javascript. What I've written is cobbled together from reading what other people have posted (and been helped to correct) and from videos. I will be doing the codecademy PHP and JavaScript courses over the next few weeks. I don't think there is much wrong with my code. It's obviously not right or it would be working perfectly but it almost is.. I think my one issue is the location of the various files. I have the following files saved in /root/portals/WifinityPortal MyPortal.php - Produced by the module, not touched it. WifinityPortal.ep - Produced by the module, not touched. capture.php - Produced using sublime (with much help from jermzz's post). Code below. index.php - Produced using sublime (with help taken from everywhere) then scp'd to the Nano to overwrite the original. Code below. jquery-2.2.1.min.js topleftlogo.png - Image file which is displayed fine. robbed.txt - This file is located in /www permanently. Permissions are set to -rwxrw-rw- All of the files become available in the /www directory when I activate the Portal using the Evil Portal module control page. I've tried moving the robbed.txt and capture.php files around to eliminate the PineAP being funny about allowing access to them. As you'll be able to see in my code, I've tried different ways of submitting the credentials to the capture.php page. I've tried cutting out index.php and just having an html doc there, or pasting the contents of my index.html into the PineAP Configuration page's Landing Page box. I've tried everything I can think of, many many times.. I'm a little confused as to where jermzz and kingoddball has their splash.html document. When I used an index.html instead of index.php users where not authenticated. Currently (with the files located as listed above), when a user connects (iOS) or tries to browse (any other device), the portal page is displayed. Entering email address and password causes the user's IP address to appear in the Evil Portal Authorised Clients list however the user is displayed the portal page a second time. Trying to load the original webpage that invoked the portal page doesn't work but loading a different page works. From what I've read, this is a known bug and is being working on.. The positive is that the page/module authorisation works, mostly. However, I still can't get the capture.php to write to the robbed.txt file. If anyone can advise on their working solution of file names and locations.. And if anyone is able to scan down my code and spot any glaring errors.. I would be very very grateful. In return you get an almost working (carbon copy looking) version of Wifinity Inc.'s login page. Wifinity provide wifi based internet access in the accommodation block where I live; and also a rapidly increasing number of campuses, hotels, conference centres etc.. Although using the page for the purposes of stealing actual login credentials and thus allowing yourself free internet access would indeed be highly immoral! And there's some thing called the the law? Printed on vellum it is don't you know! index.php capture.php Apologies for being such a newb and rambling so much.. Any advice on how to get the credentials writing to the robbed.txt will be very thankfully received. Getting it working 100% will gladly wait until Evil Portal is updated.
×
×
  • Create New...