sud0nick / portalauth Goto Github PK
View Code? Open in Web Editor NEWCaptive portal cloner and payload distributor for the WiFi Pineapple NANO and TETRA
Captive portal cloner and payload distributor for the WiFi Pineapple NANO and TETRA
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.
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?
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
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.
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:
sh touch __init__.py
import tinycss
to
from tinycss import 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
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.
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()
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
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
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.
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'
Every time I try to clone a site I get error that says this sh: --injectSet: not found
wifipineapple nano
Hi sud0nick,
when trying to clone a site, i get the below in the error log:
sh: locale.x=en_FR: not found
anyway around it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.