Jump to content

skimpniff

Active Members
  • Content Count

    67
  • Joined

  • Last visited

About skimpniff

  • Rank
    Hak5 Fan ++

Profile Information

  • Gender
    Male

Recent Profile Visitors

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

  1. A simple reboot makes them available. I am just trying to figure out the root issue so I can fix it if possible. In a test environment it is merely an inconvenience, but for a live audit I need to know that everything will be available on initialization.
  2. I install all of my modules to the SD card. Every time I power on the Nano, the modules do not load. Once I perform a reboot, the modules are present. I ensure I do a proper Shutdown command each before powering it down, and that has not seemed to make a difference. Is there anything that can be done to ensure SD card modules load on first boot?
  3. Ok. Basic question, I apologize. I have successfully gotten PA to clone sites and the inject sets are working properly. The issue I am now facing is that on submit, the user is being redirected to /captiveportal/index.php What is the recommended way to get a redirect to a real URL on the interwebs? Also, I am getting "You are not authorized." What could be causing that? @sud0nick @newbi3
  4. @sud0nick I am not sure what the final verdict ended up being but I am no longer experiencing the error I reported before. The only thing I did was to create a symlink for /root/portals to /sd/portals. Prior to the symlink I was getting the same error, created the symlink and tried again, no issues. Perhaps there was a storage issue on root that was contributing. Whatever the reason, I was able to successfully clone the page I provided for demo purposes. Thanks for taking the time to take a look at my issue, you and the rest of the team are pretty awesome and I appreciate all of your work. Been following Hak5 since the basement days in Va. --------------------------------- EDIT: So, now that I have a successful clone (all the files seem to be present), I am only getting a blank page displayed. I hosed up my regular Nano landing page script (Config page), so it is now blank. Is there something required in that page for EP to work? I thought it was only for basic landing page stuff, which is why I didn't think too much about it when I cleared the script. I tried adding: <?php header("Location: /sd/portals/wifi/index.php", true, 301); exit(); ?> to test the theory and got the same results. EDIT: Seems to be limited to that site. Our fav coffee site seems to be doing just fine.
  5. Thanks Nick. Also, I have done a factory reset and fresh install of the modules so there is no chance of misconfiguration due to user error.
  6. Hey guys. EP is not populating portal auth portals saved to sd. I poked around the EP files lookig for an obvious smoking gun, but was not able to find anything meanigful (to me). Any advice on how to correct? Nano 1.1.3 All modules installed to sd.
  7. Hey team. I have dusted off the Nano and am working through the various EP and PA scenarios. So far I have yet to get a site to clone properly with PA. I have gone through a series of sites and injection sets to see if there is a commonality, to no avail. Here are my findings so far, I'm hoping you can help me get back on my feet. Nano Firmware:1.1.3 All modules installed to sd. Test site: http://www.wi-fi.org (tried to find a http site figuring https may be part of the issue) Log out put: /sd/modules/PortalAuth/includes/scripts/libs/requests/packages/urllib3/connectionpool.py:747: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html InsecureRequestWarning) Traceback (most recent call last): File "/pineapple/modules/PortalAuth/includes/scripts/portalclone.py", line 24, in cloner.cloneResources() File "/sd/modules/PortalAuth/includes/scripts/PortalCloner.py", line 186, in cloneResources r = self.session.get(urlparse.urljoin(self.url, img.get(tag)), stream=True, verify=False) File "/sd/modules/PortalAuth/includes/scripts/libs/requests/sessions.py", line 473, in get return self.request('GET', url, **kwargs) File "/sd/modules/PortalAuth/includes/scripts/libs/requests/sessions.py", line 461, in request resp = self.send(prep, **send_kwargs) File "/sd/modules/PortalAuth/includes/scripts/libs/requests/sessions.py", line 573, in send r = adapter.send(request, **kwargs) File "/sd/modules/PortalAuth/includes/scripts/libs/requests/adapters.py", line 415, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine("''",))
  8. @sud0nick To address your redirect comment in the "Real Issues" post on page 1: the way I got around this was with a trick I learned from you in different post (about landing page images not showing up of all things). I just added the "require_once" code to the landing page, pointing to my evil portal page. This way, the auth page pops before they even get a chance to try to navigate. After auth, they can go where they please without the wonky redirect/caching issue. For those unfamiliar and wanting to know wtf I'm talking about enter the following syntax on your landing page php file: require_once('path/to/your/evil/portl/index.php'); You can find the path easy enough by navigating to the portal in question via Cabinet > www > captiveportal > Just copy and paste the already provided path under "location".
×
×
  • Create New...