JohnyPitbull Posted April 13, 2018 Share Posted April 13, 2018 I have solve it. That was a problem with a site cloner. Link to comment Share on other sites More sharing options...
rainx Posted May 14, 2018 Share Posted May 14, 2018 Hey, I played around a little with PortalAuth and tried cloning several sites. I used cloning with Harvester and Inject HTML,CSS and JS. While the module worked fine at most sites it blew me an error at the FB site while cloning. --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/pineapple/modules/PortalAuth/includes/scripts/portalclone.py", line 24, in cloner.cloneResources() File "/pineapple/modules/PortalAuth/includes/scripts/PortalCloner.py", line 155, in cloneResources stylesheet = parser.parse_stylesheet(style.string) File "/pineapple/modules/PortalAuth/includes/scripts/libs/tinycss/css21.py", line 394, in parse_stylesheet tokens = tokenize_grouped(css_unicode) File "/pineapple/modules/PortalAuth/includes/scripts/libs/tinycss/tokenizer.py", line 203, 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 played around a little with error handling in the tokenizer.py file but couldn't get it work at the end. Any ideas someone? Link to comment Share on other sites More sharing options...
Badnbouje Posted May 23, 2018 Share Posted May 23, 2018 Who can help me here im trying to make payload though Portal Auth, and every time i clone a website i get the following error. https://prnt.sc/jlfexg http://prntscr.com/jlffzv Who can help? Link to comment Share on other sites More sharing options...
kiuno Posted June 19, 2018 Share Posted June 19, 2018 Hi, i want to know this , because i have tried to send android payload in apk format but instead of being downloaded to target phone, the payload apk just open it...and i can see the apk codes ...so is there any technical issues with my tetra device? but .exe file are working fine with portal auth. Link to comment Share on other sites More sharing options...
Bayo Posted July 6, 2018 Share Posted July 6, 2018 I recently started using the Portal Auth module and looked up the tutorial for it but i came across a problem. When I was trying to clone a site, a red error occurred that explained to me that my wifi pineapple must be connected to WiFi but it already is. Is there something I need to check or is it a common bug? Link to comment Share on other sites More sharing options...
Bayo Posted July 6, 2018 Share Posted July 6, 2018 On 2/13/2018 at 3:19 PM, sud0nick said: @PoSHMagiC0de dude are you sure you're in the right thread? This is a thread dedicated to PortalAuth support only and not issues with the rest of the Pineapple. If you need to store portals on the sd card you can do so by changing the setting in the GUI. It defaults to /root/portals but you can change it to /sd/portals if you'd like. However EP looks for portals isn't my business as I'm not the author of that module and I won't tell newbi3 how to write his own software. No one has had to fix my modules "on the back end out of the box" that I'm aware of. When i was using the portal auth, it continued to tell me that my wifi pineapple must be online to clone, which it is but it keeps giving me that problem Link to comment Share on other sites More sharing options...
Mitchell-Y Posted July 6, 2018 Share Posted July 6, 2018 im following the guide at: https:*//www.*youtube*.com/*watch*?v=*Bvo43J*vmeW0when i get to the portal cloning part i do ensure that my created payload is in the right folder, ive checked the filepath of the payload in the payloader injectionset is set right in the html area, but i do use google as the test site (not sure if thats a big deal) and when i go to clone the portal i set it to 'payloader' however i get this: https://gyazo.com/ee71781a953a641e3d1644b67f8f7999 I set the windows to the payload option and leave the rest at 'none' and i leave default payload as 'windows' then i clone I get an error message heres my log: https://gyazo.com/5c9cc2c9ea5a63462b67a2bf382ebdc7 i know..i used gyazo links, its what i had at the time of writing this besides snipping tool can someone see what im doing wrong or what im missing? Link to comment Share on other sites More sharing options...
sud0nick Posted July 6, 2018 Author Share Posted July 6, 2018 7 minutes ago, Mitchell-Y said: im following the guide at: https:*//www.*youtube*.com/*watch*?v=*Bvo43J*vmeW0when i get to the portal cloning part i do ensure that my created payload is in the right folder, ive checked the filepath of the payload in the payloader injectionset is set right in the html area, but i do use google as the test site (not sure if thats a big deal) and when i go to clone the portal i set it to 'payloader' however i get this: https://gyazo.com/ee71781a953a641e3d1644b67f8f7999 I set the windows to the payload option and leave the rest at 'none' and i leave default payload as 'windows' then i clone I get an error message heres my log: https://gyazo.com/5c9cc2c9ea5a63462b67a2bf382ebdc7 i know..i used gyazo links, its what i had at the time of writing this besides snipping tool can someone see what im doing wrong or what im missing? The error tells you that it can't make the directory where it's going to store the portal because the file system is read-only. Make sure you can write to /root/portals/ or use an SD card and change the Portal Archive path in the Settings panel to point to the SD card. Link to comment Share on other sites More sharing options...
sud0nick Posted July 6, 2018 Author Share Posted July 6, 2018 14 hours ago, Bayo said: When i was using the portal auth, it continued to tell me that my wifi pineapple must be online to clone, which it is but it keeps giving me that problem Sorry, I've been super busy with work and other projects so I haven't fired up my Pineapple in a while. I'll try to find some time soon to look into this issue. Link to comment Share on other sites More sharing options...
Mitchell-Y Posted July 7, 2018 Share Posted July 7, 2018 just a heads up, i changed the clone directory and got the same read/write error so i used winscp to change permissions....it worked .. so ill do more testing and update you guys on if i got everything working and running Thanks Sud0nick Link to comment Share on other sites More sharing options...
Bayo Posted July 8, 2018 Share Posted July 8, 2018 On 7/6/2018 at 1:33 PM, sud0nick said: Sorry, I've been super busy with work and other projects so I haven't fired up my Pineapple in a while. I'll try to find some time soon to look into this issue. alright Link to comment Share on other sites More sharing options...
Bayo Posted July 10, 2018 Share Posted July 10, 2018 On 7/6/2018 at 1:33 PM, sud0nick said: Sorry, I've been super busy with work and other projects so I haven't fired up my Pineapple in a while. I'll try to find some time soon to look into this issue. I am now at the step where I have to find my network client download but it is nowhere to be found. can you explain to me why? Link to comment Share on other sites More sharing options...
PineapplePrince Posted July 14, 2018 Share Posted July 14, 2018 I keep getting the following error when trying to clone sites: Traceback (most recent call last): File "/pineapple/modules/PortalAuth/includes/scripts/portalclone.py", line 24, in cloner.cloneResources() File "/pineapple/modules/PortalAuth/includes/scripts/PortalCloner.py", line 155, in cloneResources stylesheet = parser.parse_stylesheet(style.string) File "/pineapple/modules/PortalAuth/includes/scripts/libs/tinycss/css21.py", line 394, in parse_stylesheet tokens = tokenize_grouped(css_unicode) File "/pineapple/modules/PortalAuth/includes/scripts/libs/tinycss/tokenizer.py", line 203, 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() This occurs even after a factory reset of my pineapple tetra. Any thoughts? Link to comment Share on other sites More sharing options...
sud0nick Posted July 15, 2018 Author Share Posted July 15, 2018 I'm working on updating this module to work with the new EP format. I'll also be including an updated library for TinyCSS which should hopefully fix your problem @PineapplePrince. I'll let everyone know when I've submitted the pull request. Link to comment Share on other sites More sharing options...
sud0nick Posted July 16, 2018 Author Share Posted July 16, 2018 Pull request submitted. If you can't wait the code is available on my GitHub as well. Here is the changelog: July 15, 2018 - Added check for keys directory at startup - Updated TinyCSS lib to v0.4 - Updated format of cloned portals to function with the latest Evil Portal - Added Basic and Targeted portal types for cloned portals Link to comment Share on other sites More sharing options...
EnduringSix Posted July 21, 2018 Share Posted July 21, 2018 I am new to the Wifi Pineapple I tried to use Portal Auth to clone a login page and this is the error I get. 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 18, in import tinycss ImportError: No module named tinycss If anyone can help it would be greatly appreciated. Link to comment Share on other sites More sharing options...
bigk1441 Posted July 21, 2018 Share Posted July 21, 2018 I am receiving the below error when trying to clone a portal. Can anyone help? 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 18, in import tinycss ImportError: No module named tinycss Link to comment Share on other sites More sharing options...
sud0nick Posted July 23, 2018 Author Share Posted July 23, 2018 Weird, I'll take a look and get it fixed. Link to comment Share on other sites More sharing options...
sud0nick Posted July 27, 2018 Author Share Posted July 27, 2018 @EnduringSix and @bigk1441 I found the problem. It seems I didn't unpack the module properly in the version that I pushed to GitHub. I'll fix it and resubmit tonight. Here's some commands to fix the problem since I'm not sure when the update will be pulled into the main repo. Just SSH into your Pineapple and copy and paste the following lines to fix the issue. mv /pineapple/modules/PortalAuth/includes/scripts/libs/tinycss /pineapple/modules/PortalAuth/includes/scripts/libs/tinycss-old mv /pineapple/modules/PortalAuth/includes/scripts/libs/tinycss-old/tinycss/ /pineapple/modules/PortalAuth/includes/scripts/libs/tinycss rm -rf /pineapple/modules/PortalAuth/includes/scripts/libs/tinycss-old/ Edit: pull-request has been submitted. Link to comment Share on other sites More sharing options...
plubowicz Posted July 28, 2018 Share Posted July 28, 2018 On 7/27/2018 at 1:03 PM, sud0nick said: @EnduringSix and @bigk1441 I found the problem. It seems I didn't unpack the module properly in the version that I pushed to GitHub. I'll fix it and resubmit tonight. Here's some commands to fix the problem since I'm not sure when the update will be pulled into the main repo. Just SSH into your Pineapple and copy and paste the following lines to fix the issue. mv /pineapple/modules/PortalAuth/includes/scripts/libs/tinycss /pineapple/modules/PortalAuth/includes/scripts/libs/tinycss-old mv /pineapple/modules/PortalAuth/includes/scripts/libs/tinycss-old/tinycss/ /pineapple/modules/PortalAuth/includes/scripts/libs/tinycss rm -rf /pineapple/modules/PortalAuth/includes/scripts/libs/tinycss-old/ Edit: pull-request has been submitted. I love the work you do. I have tried to add the code as you suggest but am receiving this error: File "/pineapple/modules/PortalAuth/includes/scripts/portalclone.py", line 7 mv /pineapple/modules/PortalAuth/includes/scripts/libs/tinycss-old/tinycss/ /pineapple/modules/PortalAuth/includes/scripts/libs/tinycss ^ SyntaxError: invalid syntax I also went to the GitHub and updated the files manually without the above code and with the code and the error ranged from no tinycss found or the syntax error. Link to comment Share on other sites More sharing options...
sud0nick Posted July 28, 2018 Author Share Posted July 28, 2018 3 hours ago, plubowicz said: I love the work you do. I have tried to add the code as you suggest but am receiving this error: File "/pineapple/modules/PortalAuth/includes/scripts/portalclone.py", line 7 mv /pineapple/modules/PortalAuth/includes/scripts/libs/tinycss-old/tinycss/ /pineapple/modules/PortalAuth/includes/scripts/libs/tinycss ^ SyntaxError: invalid syntax I also went to the GitHub and updated the files manually without the above code and with the code and the error ranged from no tinycss found or the syntax error. I'm confused by that error. Did you happen to paste the commands into the portalclone.py script? That's not where they belong. Just copy and paste them into an SSH session on the Pineapple to move the tinycss module into the proper location. Then when the portalclone.py script runs it will know where to find it. If you pull down the module from GitHub as it currently is you should not get any errors with regard to tinycss. Link to comment Share on other sites More sharing options...
VFMA83 Posted July 30, 2018 Share Posted July 30, 2018 Greetings, I have been getting the error below when trying to clone a website: The injection set is Harvester. 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 18, in import tinycss ImportError: No module named tinycss I would really appreciate any help. Thx Link to comment Share on other sites More sharing options...
moliata Posted July 30, 2018 Share Posted July 30, 2018 Hello, try to run the following command: pip install tinycss Link to comment Share on other sites More sharing options...
VFMA83 Posted July 31, 2018 Share Posted July 31, 2018 I'll give it a try, appreciate the help. Best Link to comment Share on other sites More sharing options...
drewp6023 Posted August 4, 2018 Share Posted August 4, 2018 I'm having the same issue, was this resolved? I'm running Pineapple 2.2.0 framework Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.