Jump to content

sud0nick

Dedicated Members
  • Posts

    1,056
  • Joined

  • Last visited

  • Days Won

    66

Posts posted by sud0nick

  1. Please search the forums before posting. Your concerns with the timezone issue have been addressed time and again. I can't speak for your Karma issue but you can probably find the answer in the forums as well. As for your WPA2 password not being saved make sure you are clicking the correct save button. There are two, one for the open AP and one for the secure AP, each button saves its respective configuration.

  2. I was able to get pip instaled, but it was a pain, and i even got pip + a virtual env installed onto my sdcard, but after reflashing the firmware, the virtual env on the sd card broke...

    as for installing pip, I first used ez-setup.py to install setuptools , then i used get-pip.py with prefix=/sd/python.... or it might have been dest=/sd/python. I had to do this on a fresh pineapple to avoid running out of space, and also I believe i had to manually create a couple directories inside of /sd/python/.../site-packages, which the pip install told me the paths were not there or had improper permissions, so i just manually created them and then it worked. Also, I had a partition on the sd for swap space, not sure if that helped or not, but figured i would mention it.

    After this, I was able to use virtualenv.py /sd/python/env to create a virtual env with pip at /sd/python/env.

    this did work great, but after a firmware flash i had essentially a virtualenv which i could use with absolute paths, but could not activate and use.

    I havent gotten back around to setting it up again, because of the fear of losing my working autossh ... (my relay is a windows machine, and i have to use a separate ssh server and client, so its always a pain getting my keys right, using bitvise ssh server, and openssh from cygwin as a client (couldnt get the cygwin provided ssh server to work))

    Let me know if you have any success with this method please.

    Darren, Seb, I would really love to see a opkg python-pip for the pineapple that makes it easy to get pip installed onto the sd card, or even a way to easily move python onto the sd card entirely

    I tried using symlinks but it was pretty much a total disaster, not sure why, most likely because im a complete n00b....

    I'm glad you were able to get it working but this is still too messy to work for installing dependencies for an infusion. I will have to pass on it for now. Are you able to install packages from pip like PhantomJS? Or are they just too large for the Pineapple?

  3. That's what I've been trying to do, not so much for pip, but python dependencies. It is rather difficult and opkg doesn't have some of the tools I need. Most of them aren't supported on the Pineapple anyway as they are developed for larger OSes. If you can get pip installed I would like to know how you did it so I can try to install ghost or phantomJS. Even with the sd card some python libraries are just too large and probably won't do so well, performance wise, on the Pineapple.

  4. I just submitted v2.1 to the Pineapple Bar! There are a lot of updates with it and here is the modified change log!

    [->] Removed Check Portal button. Refreshes can now be performed by clicking the refresh button in the top right corner of the small tile.
    [->] Made the auto-authenticator more robust.  It now searches for more content and accounts for redirects, relative URLs, and meta refreshes.  *still in beta though*
    [->] Made the portal cloner more robust.  It now searches for files based on relative URLs, accounts for redirects and meta refreshes, and now accepts multiple options for how a portal is cloned.
    [->] Update the UI to include portal cloning options.
    [->] Updated the configuration script.
    [->] Modified the default InjectJS and InjectHTML files.
    [->] Added an InjectCSS file.
    [->] Added the ability to restore InjectJS, InjectCSS, InjectHTML, and auth.php files.
    [->] Fixed a bug where the small tile displayed 'Captive Portal Detected' when the Pineapple is offline.  The new message displays 'Pineapple must be online to use PortalAuth'.
    [->] Fixed a bug in the Portal Cloner that would add multiple login forms to the document.
    

    A BIG thanks to Cheeto for helping me test the infusion and telling me where things could improve. A majority of the improvements are from the time you spent finding captive portals and testing the features multiple times. I'm incredibly grateful.

    I still have plans for another feature for the cloner to fall back on in case a page's HTML is just so far out there that it can't be cloned properly. I want to be able to take a screenshot of the page and just overlay the current inject files on top of the image, however, currently all the methods to achieve this are not supported on the Pineapple. I will keep searching, though.

    I will also be working on a video or a guide sometime in the near future to show all of the features and how to use them properly. I will display some of the methods to get a portal cloned as you may have to play with the settings depending on how the portal was built. Please stay tuned for that and as always let me know if there are any problems with this release.

  5. If you are doing this over the internet you need to forward the port on your router. I'm not sure which port this is on yours because I don't know the difference between Port and Listen Port in your example. I assume port refers to remote port and listen port refers to a local port? If so then you are connecting to the wrong port when you send your initial connection request. To sum up:

    Find the port that SSH is using on your Pineapple (most likely 22)

    Forward port 22 on your internet facing router to your Pineapple's IP address

    Make sure your settings on the client follow this setup.

    I'm not sure if there is any extra work with the keys as I am not a pro in that area but hopefully someone else can either verify or correct what I have stated.

  6. Here is a quick update. The testing phase is still going strong. Unfortunately I have come across a couple of pages that PortalAuth will most likely never work with such as flash based portals. Cheeto came across one that uses a meta refresh to send the user to their login.php script. I am working now to make the script account for meta refreshes so the portal can be copied. A lot has been accomplished in the last week but there is still much ground to cover.

    If anyone has any ideas of what else should be covered by the script please post them here so I can implement them.

  7. I don't know the exact reason, possibly a cache on the client side, but it should go away after a couple of seconds. My computers will generally continue to show the AP until I tell them to search again, then they disappear from the list.

  8. Nope, now is working fine and before too. I say this for help a make a best infusion, i like so much your infusion so that is my report... Sorry for give any proof of that but now is working fine after a factory reset :D

    Edit: and i don't change anything in my html and php code, i thought was that.

    Regards.

    The issue was most likely not the fault of Evil Portal or PortalAuth. If your portal wasn't displaying properly that is either a code issue or possibly a network issue on your Pineapple. Once the portal is copied PortalAuth doesn't interact with it anymore. The two infusions don't rely on each other to operate as PortalAuth simply creates a copy of a portal to the standard that EP requires then places it in the appropriate directory.

  9. I thought Portal Auth can be tested with my own captive portal running via evilportal. After run portalauth my captive portal doesn't work properly. I will make a factory reset onto my pineapple and summit here...

    Whoa! There is no need to factory reset. PortalAuth will allow you to clone a captive portal on an access point before authenticating with it. The cloned portal will be stored in your Evil Portal library to be used as your own. You can also attempt auto authentication with PortalAuth but the version currently released is unreliable. The next version will be better.

  10. I need some more details. Where is your captive portal? Is it on the Pineapple? If so, you shouldn't see it there. The point of the portal tab is to show you a captive portal on the AP that your client radio is connected to so you can authenticate if the auto authentication feature fails.

    EDIT: I'm thinking that maybe you thought the Portal tab was supposed to show you your own portal as it would appear to a victim?

  11. It's the same way you would log in using ethernet. Have you not looked at the info card you received with your Pineapple?

    You have a few options to connect wirelessly. You can connect to the normal AP or the secure AP. Both of which should be running from the moment your Pineapple boots up.

    Navigate to http://172.16.42.1:1471 in your browser and log in.

    If you set up the client radio on your home network you can access it through your regular network.

  12. Problem is that the java applet phones home and reports certain bits of information about the attacker like their real IP address (run locally, so VPN or proxy offers zero protection. If it reports a traceroute it might even divulge the real IP when run from within a VM) and in case of a wifi adapter the names of the various APs in your vicinity.

    This may be a little out of scope here but could you explain this statement? How would someone's actual IP address be revealed by this Java applet even if they are using a VPN service? (The other stuff about pinpointing a physical location based on nearby APs I understand as I have done it before).

  13. Best is to re-flash your Wifi Pineapple

    No. The best thing to do is make sure you are using the proper power supply. Also make sure you aren't doing too much at once on the Pineapple. Any system under too much load will get wonky.

    Power recommendations from the Answers to common questions thread:

    The WiFi Pineapple MKV will take anything between 5V and 12V. Please note however that it is happiest (if under load, external devices etc) if it has 9-12 Watts of power. This means the following three power configurations are advisable: 9V 1A (9 Watts), 5V 2A (10 Watts), 12V 1A (12 Watts).

  14. The internal memory is low by default, and wouldn't recommend installing much to it. It is recommended to use an sd card instead of the internal.

    If something you are doing is needing a structure on the internal memory, you can always look into symlinking the folders.

    and that is with the

    ln -s command, id recommended reading up on that.

    But do keep in mind, everything is ran as a root user on the pineapple.

    I'm glad you brought that up. That's what I've done on my Pineapple. The only thing that sucks about a firmware update is having to recreate all of my symlinks, lol. I should just write a script for it and keep it on the sd card.

×
×
  • Create New...