Code Monkey home page Code Monkey logo

portalauth's People

Contributors

combsn avatar nicombs avatar sud0nick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

portalauth's Issues

portal auth

clone_error_05_37_27.txt

Traceback (most recent call last): File "/pineapple/modules/PortalAuth/includes/scripts/portalclone.py", line 25, in cloner.cloneResources() File "/pineapple/modules/PortalAuth/includes/scripts/PortalCloner.py", line 156, in cloneResources stylesheet = parser.parse_stylesheet(style.string) File "/pineapple/modules/PortalAuth/includes/scripts/libs/tinycss/css21.py", line 395, in parse_stylesheet tokens = tokenize_grouped(css_unicode) File "/pineapple/modules/PortalAuth/includes/scripts/libs/tinycss/tokenizer.py", line 202, in tokenize_grouped return regroup(tokenize_flat(css_source, ignore_comments)) File "/pineapple/modules/PortalAuth/includes/scripts/libs/tinycss/tokenizer.py", line 48, in tokenize_flat source_len = len(css_source) TypeError: object of type 'NoneType' has no len()

also using your github version the install dependencies button doesnt work this is for both
tetra and nano :( with latest firmware.

NGINX 403 Forbidden

I have installed and cloned an evil portal successfully. However when visiting the evil portal I am getting a 403 Forbidden NGINX error. The harvester page does pop up and capture credentials. Is this a bug or normal operations?

Error thrown during cloning process

PortalAuth version 1.9 on Wifi Pineapple Tetra

Error is listed below. I am unable to clone any sites and I have tried a variety with different settings.

Traceback (most recent call last): File "/pineapple/modules/PortalAuth/includes/scripts/portalclone.py", line 4, in from PortalCloner import PortalCloner File "/pineapple/modules/PortalAuth/includes/scripts/PortalCloner.py", line 12, in import requests File "/pineapple/modules/PortalAuth/includes/scripts/libs/requests/init.py", line 53, in 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 from .connectionpool import ( File "/pineapple/modules/PortalAuth/includes/scripts/libs/requests/packages/urllib3/connectionpool.py", line 37, in from .request import RequestMethods File "/pineapple/modules/PortalAuth/includes/scripts/libs/requests/packages/urllib3/request.py", line 6, in from .filepost import encode_multipart_formdata File "/pineapple/modules/PortalAuth/includes/scripts/libs/requests/packages/urllib3/filepost.py", line 10, in writer = codecs.lookup('utf-8')[3] LookupError: unknown encoding: utf-8

Dependencies not detected

When installing module manually from SSH via git, curl is not detected and module won't install dependencies via GUI on web interface. Attempted installing curl manually via SSH, but the module isn't detecting it and the GUI for the module on the pineapple management web interface complains that it needs to install dependencies.

If you have problem with tinycss - do this :)

Complete trace(from errorl 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 18, in import tinycss ImportError: No module named tinycss

Do:

  • cd /sd/modules/PortalAuth/includes/scripts/libs/tinycss
  • sh touch __init__.py
  • cd ../..
  • vim PortalCloner.py
    and change line:
import tinycss

to

from tinycss import tinycss

Nano is having issue with tinycss

I installed module via app manager and getting this error.
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

Fails if installed to SD card on MK V

self.basePath = '/pineapple/modules/PortalAuth/'

This line is a hard link to where it installs if you select to install it to the internal disk. It fails because of this if you have installed to the SD card. There may be other hard links but a better thing to do would be to look in the only two places it could exist and set this base directory to the one that exists.

portal auth

Traceback (most recent call last): File "/pineapple/modules/PortalAuth/includes/scripts/portalclone.py", line 25, in cloner.cloneResources() File "/pineapple/modules/PortalAuth/includes/scripts/PortalCloner.py", line 156, in cloneResources stylesheet = parser.parse_stylesheet(style.string) File "/pineapple/modules/PortalAuth/includes/scripts/libs/tinycss/css21.py", line 395, in parse_stylesheet tokens = tokenize_grouped(css_unicode) File "/pineapple/modules/PortalAuth/includes/scripts/libs/tinycss/tokenizer.py", line 202, in tokenize_grouped return regroup(tokenize_flat(css_source, ignore_comments)) File "/pineapple/modules/PortalAuth/includes/scripts/libs/tinycss/tokenizer.py", line 48, in tokenize_flat source_len = len(css_source) TypeError: object of type 'NoneType' has no len()

clone_error_16_17_50.txt

I am getting this error after trying to clone a site. clone_error_16_17_50.txt

clone_error_16_17_50.txt

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

portal auth

Traceback (most recent call last): File "/pineapple/modules/PortalAuth/includes/scripts/portalclone.py", line 25, in cloner.cloneResources() File "/pineapple/modules/PortalAuth/includes/scripts/PortalCloner.py", line 156, in cloneResources stylesheet = parser.parse_stylesheet(style.string) File "/pineapple/modules/PortalAuth/includes/scripts/libs/tinycss/css21.py", line 395, in parse_stylesheet tokens = tokenize_grouped(css_unicode) File "/pineapple/modules/PortalAuth/includes/scripts/libs/tinycss/tokenizer.py", line 202, in tokenize_grouped return regroup(tokenize_flat(css_source, ignore_comments)) File "/pineapple/modules/PortalAuth/includes/scripts/libs/tinycss/tokenizer.py", line 48, in tokenize_flat source_len = len(css_source) TypeError: object of type 'NoneType' has no len()

wifi pineapple tetra
also i dont know how to remove closed

AttributeError: 'module' object has no attribute 'make_parser'

When I'm trying to make a clone of a site I get the following error.

Traceback (most recent call last):
  File "/pineapple/modules/PortalAuth/includes/scripts/portalclone.py", line 25, in <module>
    cloner.cloneResources()
  File "/sd/modules/PortalAuth/includes/scripts/PortalCloner.py", line 199, in cloneResources
    self.css_urls[_key] = self.parseCSS(urlparse.urljoin(self.url, img.get(tag)))
  File "/sd/modules/PortalAuth/includes/scripts/PortalCloner.py", line 67, in parseCSS
    parser = tinycss.make_parser('page3')
AttributeError: 'module' object has no attribute 'make_parser'

I have't been able to fix the issue with the sources available online.

While cloning the portal i am getting this error

ERROR:root:code for hash md5 was not found. Traceback (most recent call last): File "/usr/lib/python2.7/hashlib.py", line 147, in globals()[__func_name] = __get_hash(__func_name) File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type md5 ERROR:root:code for hash sha1 was not found. Traceback (most recent call last): File "/usr/lib/python2.7/hashlib.py", line 147, in globals()[__func_name] = __get_hash(__func_name) File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha1 ERROR:root:code for hash sha224 was not found. Traceback (most recent call last): File "/usr/lib/python2.7/hashlib.py", line 147, in globals()[__func_name] = __get_hash(__func_name) File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha224 ERROR:root:code for hash sha256 was not found. Traceback (most recent call last): File "/usr/lib/python2.7/hashlib.py", line 147, in globals()[__func_name] = __get_hash(__func_name) File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha256 ERROR:root:code for hash sha384 was not found. Traceback (most recent call last): File "/usr/lib/python2.7/hashlib.py", line 147, in globals()[__func_name] = __get_hash(__func_name) File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha384 ERROR:root:code for hash sha512 was not found. Traceback (most recent call last): File "/usr/lib/python2.7/hashlib.py", line 147, in globals()[__func_name] = __get_hash(__func_name) File "/usr/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha512 Traceback (most recent call last): File "/pineapple/modules/PortalAuth/includes/scripts/portalclone.py", line 4, in from PortalCloner import PortalCloner File "/pineapple/modules/PortalAuth/includes/scripts/PortalCloner.py", line 12, in import requests File "/pineapple/modules/PortalAuth/includes/scripts/libs/requests/init.py", line 58, in from . import utils File "/pineapple/modules/PortalAuth/includes/scripts/libs/requests/utils.py", line 26, in from .compat import parse_http_list as _parse_list_header File "/pineapple/modules/PortalAuth/includes/scripts/libs/requests/compat.py", line 94, in from .packages.urllib3.packages.ordered_dict import OrderedDict File "/pineapple/modules/PortalAuth/includes/scripts/libs/requests/packages/init.py", line 83, in load_module raise ImportError("No module named '%s'" % (name,)) ImportError: No module named 'requests.packages.urllib3'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.