Jump to content
sud0nick

[Official] Portal Auth

Recommended Posts

30 minutes ago, mrjeff said:

I have this error on the Portal Auth module

 

Traceback (most recent call last): File "/pineapple/modules/PortalAuth/includes/scripts/portalclone.py", line 4, in from PortalCloner import PortalCloner File "/sd/modules/PortalAuth/includes/scripts/PortalCloner.py", line 18, in import tinycss ImportError: No module named tinycss

 

I can´t clone portals 😞

Solved, but seems that is not working with https right?

Share this post


Link to post
Share on other sites
10 hours ago, mrjeff said:

Solved, but seems that is not working with https right?

Hi how did you solve this . I havent got a clue how to fix this ? LOL

 

 

Share this post


Link to post
Share on other sites
4 hours ago, kevtheskin said:

 

Remove the module from your Pineapple:

rm -rf /pineapple/modules/PortalAuth/

2. Download the zip archive from GitHub (https://github.com/sud0nick/PortalAuth).
3. Extract it and rename PortalAuth-master to PortalAuth.
4. SCP the PortalAuth directory to the Pineapple in the /pineapple/modules/ directory.
5. Change the permissions:

chmod 755 -R /pineapple/modules/PortalAuth/

Share this post


Link to post
Share on other sites
18 hours ago, mrjeff said:

Remove the module from your Pineapple:


rm -rf /pineapple/modules/PortalAuth/

2. Download the zip archive from GitHub (https://github.com/sud0nick/PortalAuth).
3. Extract it and rename PortalAuth-master to PortalAuth.
4. SCP the PortalAuth directory to the Pineapple in the /pineapple/modules/ directory.
5. Change the permissions:


chmod 755 -R /pineapple/modules/PortalAuth/

Hi there , the problem is I dont know how to Scp with putty in windows?

Cheers Kev

Share this post


Link to post
Share on other sites
1 minute ago, Just_a_User said:

Hi Just_a ,

I tried this last night and failed  pscp.exe c  C:\Users\Kevo\Desktop\PortalAuth  172.16.42.1 /pineapple/modules/PortalAuth/
More than one remote source not supported . Any idea what am doing wrong please. K

Share this post


Link to post
Share on other sites
Posted (edited)
1 hour ago, kevtheskin said:

pscp.exe c  C:\Users\Kevo\Desktop\PortalAuth  172.16.42.1 /pineapple/modules/PortalAuth/

I don't use windows so I'm guessing - but maybe try 

pscp.exe C:\Users\Kevo\Desktop\PortalAuth\*.*  root@172.16.42.1: /pineapple/modules/PortalAuth/

If you get stuck I would recommend filezilla as its graphical and drag n drop.

Edited by Just_a_User

Share this post


Link to post
Share on other sites
4 minutes ago, Just_a_User said:

I don't use windows so I'm guessing - but maybe try 


pscp.exe C:\Users\Kevo\Desktop\PortalAuth  root@172.16.42.1/pineapple/modules/PortalAuth/

Hi just tried this didnt work 😞 thanks for trying to help . Kev

 

 

Share this post


Link to post
Share on other sites
Posted (edited)

Hello again,

Latest update got the file transfered and I now see it in modules. I followed a tutorial how to clone a site using harvester ? and when I hit clone it looks like it doing something then it errors An error has occurred.  Check the logs for details.. Which Log . Can anyone give me a simple set up guide please.

 

Kev

Edited by kevtheskin

Share this post


Link to post
Share on other sites
Posted (edited)

@kevtheskin there's a clearly marked tab in the module that reads "Error Logs".  If there's nothing in there you need to provide more information on what you're doing so someone can help.

Also, here's a video:

 

Edited by sud0nick

Share this post


Link to post
Share on other sites
On 5/14/2019 at 1:10 AM, sud0nick said:

@kevtheskin there's a clearly marked tab in the module that reads "Error Logs".  If there's nothing in there you need to provide more information on what you're doing so someone can help.

Also, here's a video:

 

Hi there, I will try again this weekend and upload the error log. Just a noobie thanks for your time. Kev

Share this post


Link to post
Share on other sites
On 5/17/2019 at 9:47 PM, kevtheskin said:

Hi there, I will try again this weekend and upload the error log. Just a noobie thanks for your time. Kev

Hello again, Have tried again to clone a site and failed . I looked for the error log and nothing there? How do you generate the log please. Thanks Kev

Share this post


Link to post
Share on other sites

Someone on here posted they used a usb extension and it worked. So I tried a mail to female usb cable and plugged the flash drive in that and WHOA!!!! IT WORKED!! I have tried it all, every page here and you mean to tell me that was all it was? HOW????

 

Come on Darren, brother I got nothing but love for ya but jeez 🙂

My hookup, I think it may help somehow..

LG Stylo 4 , I sometimes use my desktop and my Kali laptop but seems this is the best config for me as it is mobile.

in to the cellphone is the c-type to usb, commonly comes with phone, that then goes in to the hub along with the usb male to female and the thumb drive plugged in to that, the thumb drive is a 16gb verbatim black usb stick, bought at microcenter.

This worked on a freshly reset pineapple nano, I am able to install dependencies and modules to the drive.

The setup is not as discreet as I would like it so I bought a small camera bag from, yes you guessed it microcenter. No I am not getting paid I just think Frys and microcenter are the best! Here in Atlanta anyways.

Pretty much it for that, 3 days, late nights, over $100 spent on cables, hubs and usb sticks, you know where I bought em 🙂 and was about to smash this nano to well, nano 🙂

 

 

Share this post


Link to post
Share on other sites
On 5/14/2019 at 1:10 AM, sud0nick said:

@kevtheskin there's a clearly marked tab in the module that reads "Error Logs".  If there's nothing in there you need to provide more information on what you're doing so someone can help.

Also, here's a video:

 

Hello again sorry for the late update.

Here is my log

Traceback (most recent call last): File "/pineapple/modules/PortalAuth/includes/scripts/portalclone.py", line 4, in  from PortalCloner import PortalCloner File "/sd/modules/PortalAuth/includes/scripts/PortalCloner.py", line 12, in  import requests File "/sd/modules/PortalAuth/includes/scripts/libs/requests/__init__.py", line 53, in  from .packages.urllib3.contrib import pyopenssl File "/sd/modules/PortalAuth/includes/scripts/libs/requests/packages/__init__.py", line 63, in load_module __import__(name) File "/sd/modules/PortalAuth/includes/scripts/libs/requests/packages/urllib3/__init__.py", line 10, in  from .connectionpool import ( File "/sd/modules/PortalAuth/includes/scripts/libs/requests/packages/urllib3/connectionpool.py", line 37, in  from .request import RequestMethods File "/sd/modules/PortalAuth/includes/scripts/libs/requests/packages/urllib3/request.py", line 6, in  from .filepost import encode_multipart_formdata File "/sd/modules/PortalAuth/includes/scripts/libs/requests/packages/urllib3/filepost.py", line 10, in  writer = codecs.lookup('utf-8')[3] LookupError: unknown encoding: utf-8

Share this post


Link to post
Share on other sites
Posted (edited)
19 minutes ago, kevtheskin said:

Hello again sorry for the late update.

Here is my log

Traceback (most recent call last): File "/pineapple/modules/PortalAuth/includes/scripts/portalclone.py", line 4, in  from PortalCloner import PortalCloner File "/sd/modules/PortalAuth/includes/scripts/PortalCloner.py", line 12, in  import requests File "/sd/modules/PortalAuth/includes/scripts/libs/requests/__init__.py", line 53, in  from .packages.urllib3.contrib import pyopenssl File "/sd/modules/PortalAuth/includes/scripts/libs/requests/packages/__init__.py", line 63, in load_module __import__(name) File "/sd/modules/PortalAuth/includes/scripts/libs/requests/packages/urllib3/__init__.py", line 10, in  from .connectionpool import ( File "/sd/modules/PortalAuth/includes/scripts/libs/requests/packages/urllib3/connectionpool.py", line 37, in  from .request import RequestMethods File "/sd/modules/PortalAuth/includes/scripts/libs/requests/packages/urllib3/request.py", line 6, in  from .filepost import encode_multipart_formdata File "/sd/modules/PortalAuth/includes/scripts/libs/requests/packages/urllib3/filepost.py", line 10, in  writer = codecs.lookup('utf-8')[3] LookupError: unknown encoding: utf-8

Hi,

is working at version firmware 2.5.4 the new version of the firmware 2.6.0 have problem with module cursed screech and other , i playing with this modules with the firmware 2.5.4 is work with tetra

Edited by fan

Share this post


Link to post
Share on other sites
10 minutes ago, fan said:

Hi,

is working at version firmware 2.5.4 the new version of the firmware 2.6.0 have problem with module cursed screech and other , i playing with this modules with the firmware 2.5.4 is work with tetra

i same problem with tetra avec la version 2.5.4 i am  installing python-pip and installing tinycss lib and changing version Portal Auth into pineapple with Portal auth from github version 1.7

Share this post


Link to post
Share on other sites
7 hours ago, fan said:

i same problem with tetra avec la version 2.5.4 i am  installing python-pip and installing tinycss lib and changing version Portal Auth into pineapple with Portal auth from github version 1.7

Hi there , Could you give me some info how to do all this please still learning here thanks  is this all done in a putty session?

. K

 

 

Share this post


Link to post
Share on other sites
23 minutes ago, kevtheskin said:

 

for the new version of firmware wait a bit because the modules do not work well with the new firmware I think the group will fix the problem
 

Share this post


Link to post
Share on other sites
6 minutes ago, fan said:
for the new version of firmware wait a bit because the modules do not work well with the new firmware I think the group will fix the problem
New firmware installed yesterday. Most modules have went Pete Tong 😞 Cheers for the replys
 
 

 

Share this post


Link to post
Share on other sites
4 minutes ago, kevtheskin said:

 

have nice day,stay in touch 😉

Share this post


Link to post
Share on other sites

Hey everyone, sorry I've been out of the loop on updates.  I'll be away from home until the 19th and won't have any time to work on this.  I'll let everyone know when I can update things.

Share this post


Link to post
Share on other sites
6 hours ago, sud0nick said:

Hey everyone, sorry I've been out of the loop on updates.  I'll be away from home until the 19th and won't have any time to work on this.  I'll let everyone know when I can update things.

Thanks peeps. Just and an old guy trying to learn something new cheers Kev

Share this post


Link to post
Share on other sites
8 hours ago, sud0nick said:

Hey everyone, sorry I've been out of the loop on updates.  I'll be away from home until the 19th and won't have any time to work on this.  I'll let everyone know when I can update things.

Hey ,

I wish that the problems are corrected quickly. thank you

 

Share this post


Link to post
Share on other sites

I am having issues with the Portal Auth module.  

Here are the steps to reproduce the issue:

1.  Connect pineapple, go through initial set up screen.

2. In advanced options, upgrade firmware to version 2.6

3. Set up again, specifying root password, ssid filtering, etc

4.  Install Evil Portal and Portal Auth modules

5. Install Portal Auth dependencies  

6. In Portal Auth, load default settings

7. Select Harvester injector set

8.  Click the green "Clone Portal" button

9. Observe error message: An error has occurred.  Check the logs for details.

I realize that there was a post created about this a bout a year ago and the issue had to due with tinycss, but shouldn't that issue have been fixed by now?  I checked in dmesg and system log and couldn't find anything useful there.

I also downloaded Portal Auth from sud0nik's github and scp it to the pineapple as mentioned in another post.  That didn't resolve the issue.

 

Share this post


Link to post
Share on other sites

attempted to run the module manually:

  File "portalclone.py", line 4, in <module>
    from PortalCloner import PortalCloner
  File "/pineapple/modules/PortalAuth/includes/scripts/PortalCloner.py", line 12, in <module>
    import requests
  File "/pineapple/modules/PortalAuth/includes/scripts/libs/requests/__init__.py", line 53, in <module>
    from .packages.urllib3.contrib import pyopenssl
  File "/pineapple/modules/PortalAuth/includes/scripts/libs/requests/packages/__init__.py", line 63, in load_module
    __import__(name)
  File "/pineapple/modules/PortalAuth/includes/scripts/libs/requests/packages/urllib3/__init__.py", line 10, in <module>
    from .connectionpool import (
  File "/pineapple/modules/PortalAuth/includes/scripts/libs/requests/packages/urllib3/connectionpool.py", line 37, in <module>
    from .request import RequestMethods
  File "/pineapple/modules/PortalAuth/includes/scripts/libs/requests/packages/urllib3/request.py", line 6, in <module>
    from .filepost import encode_multipart_formdata
  File "/pineapple/modules/PortalAuth/includes/scripts/libs/requests/packages/urllib3/filepost.py", line 10, in <module>
    writer = codecs.lookup('utf-8')[3]
LookupError: unknown encoding: utf-8
 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...