Jump to content

sud0nick

Dedicated Members
  • Posts

    1,056
  • Joined

  • Last visited

  • Days Won

    66

Everything posted by sud0nick

  1. Hey everyone, I've decided that I'm not going to maintain this module any longer. My reasons are similar to those I posted in the PortalAuth thread but also because the techniques used in this old module are no longer effective. The payloads are caught pretty easily by AV now, even Windows Defender! I think it's time for this module to ride off into the sunset. As for the current issues poeple are facing with sein.py: socket.error: illegal IP address string passed to inet_aton This is probably because you haven't updated the interface setting from the module yet. You should select an interface and click the save button which will update the settings. You can also check /pineapple/modules/CursedScreech/includes/forest/settings to verify the correct IP address is set. You may have my Pineapple's local IP in there (192.168.0.138) which is throwing the exception.
  2. Hey everyone, I've decided that I'm not going to maintain this module any longer. I feel there are too many limitations on the current firmware which make keeping it up to date too time consuming. I may revisit building a similar module in the future but only if I see a couple changes: 1. Python 3 replacing version 2 by default in the firmware, and 2. Module support for modern Angular + NodeJS (or some other backend) rather than AngularJS. Both Python 2 and AngularJS are deprecated and no longer supported. I just feel it doesn't make sense for me to support a module that keeps breaking on dead languages. Also, I've had a pull request in for this and my other two modules since December of 2019 and it's yet to be merged. So some of the problems people are facing are due to running old versions they downloaded from the module manager. I'm leaving the code in my GitHub and I've added the fix for the python-codecs dependency so if you want the latest please grab it from there.
  3. Version 2.0 is now available on GitHub! Here is the changelog: July 17, 2020 - Fixed SSH key encryption to work with new OpenSSH format. - Added raw key contents to key view modal for easy copy/paste. - Merged encryption passphrase section with PKCS#12 export. The same password is used for both operations. - Added coreutils-base64 dependency to help determine if an SSH key is encrypted. My PR for version 1.9 never got merged for some reason so my commits for v2.0 got appended to that. If you can't find the latest on module manager just download it from GitHub.
  4. Thanks for providing the solution here. I'll get it added when I have time to update the module.
  5. Version 1.6 is now available on GitHub! A PR has been submitted to the master repo. Here is the changelog: December 26, 2019 - Fixed bug in latest firmware that saved module settings in an invalid state causing issues when running Sein.
  6. Version 2.0 is available now from my GitHub! I'll submit a PR for the module manager soon. Here is the changelog: Dec 26, 2019 - Fixed libcurl4 dependency issue - Fixed tinycss issue (again?) - Updated jQuery to 3.4.1 for injection sets The libcurl4 dependency issue in particular was preventing the module from detecting portals. Somehow the tinycss issue reared its ugly head again although it should have been fixed in a previous release. Anyway, it's fixed now.
  7. Version 1.9 is now available on GitHub! I'll submit the PR for the module manager soon. Here is the changelog: December 26, 2019 - Fixed bug in latest firmware that prevented the module from detecting whether a key is enctyped. - Fixed bug in latest firmware that broke the nginx config when removing SSL certs. - Added requirement to remove SSL certs before uninstalling dependencies due to a change made by adde88 that swaps nginx/nginx-ssl as dependencies in the latest firmware. - Added requirement to install dependencies (nginx-ssl) before gaining the ability to install SSL certificates. - Updated the Status section help file.
  8. 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.
  9. @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:
  10. You want to encrypt the payload for transmission only or while it's on disk too? If you encrypt it on disk to bypass AV you won't be able to execute it. To run it you would need to decrypt it and at that point AV would get you anyway. The point in providing an API for this module is to allow you to create your own payloads and work around AV however you choose. You could possibly obfuscate your code but I don't think encryption is what you want.
  11. @kevtheskin https://forums.hak5.org/topic/37448-official-portal-auth/?do=findComment&comment=316049
  12. 1. 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/
  13. @WPA2 try deleting the module and installing the latest from GitHub.
  14. @Providence open your browser's developer tools and look at the console. You may be uploading a file that's too large. If there is some other issue the console might have the reason.
  15. @Providence It works for me. Did you configure the upload limit first by clicking the link I've highlighted in this image?
  16. Sure, the versions on the module manager should be working but it's best to get my latest from GitHub anyway. All you need to do is download the repo from GitHub and copy it over to the /pineapple/modules/ directory on your Pineapple. Once it's there just run the following command in an SSH session to ensure the permissions are correct: chmod 755 -R /pineapple/modules/Papers/ And that's it. Everything should work from the browser after that.
  17. Everyone, as of today I've removed the old server used to test for the existence of a captive portal. If you have not yet upgraded to the latest version of this module from my GitHub you should at least set your test site to https://portalauth.s3.us-east-2.amazonaws.com/cptest.html to regain the portal detection functionality. Of course, I also recommend just updating to the latest version.
  18. Here are the issues: IOError: [Errno 22] invalid mode ('wb') or filename: '/sd/portals/SG/resources/main.js?20160817' IOError: [Errno 78] File name too long: '/sd/portals/SG/resources/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl12_TSM&compress=0&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen%3a4ae4914f-8c8e-4123-9d05-414d87b48357%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2014.2.618.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen%3afada54f8-476b-46c3-863a-c1195bffba67%3a16e4e7cd%3addbfcb67%3af7645509%3bTelerik.Sitefinity%2c+Version%3d7.1.5201.0%2c+Culture%3dneutral%2c+PublicKeyToken%3db28c218413bdf563%3aen%3a14209715-61c1-47f8-8900-cbcac63a6099%3a3b9a1b05%3bTelerik.Sitefinity.Search.Impl%2c+Version%3d7.1.5201.0%2c+Culture%3dneutral%2c+PublicKeyToken%3db28c218413bdf563%3aen%3a760a0996-dcaf-4de4-8ff5-3fdca56b65f2%3a7561727d' Invalid filename and filename too long. I'll need to add a check for these exceptions and work around them.
  19. @avinn the first thing that comes to mind is you didn't chmod everything properly after installing the module from GitHub. If you did you can SSH into the Pineapple and try running the cloner script manually to see what happens. It's at /pineapple/modules/PortalAuth/includes/scripts/portalclone.py. Run it with --help to see all of the available options.
  20. Yeah that's how it's supposed to work.
  21. Version 1.6 is now available on GitHub. The PR has been submitted to be added to the module manager. Here is the changelog: December 28, 2018 - Added feature to encrypt/decrypt existing private keys - Added feature to view certificate properties in the web console - Fixed a bug that prevented error logs from loading in the web console - Removed null alert when enabling SSH keys https://github.com/sud0nick/Papers
  22. I've pushed v1.9 to my GitHub and submitted a PR to the wifipineapple-modules repo. There are still some merge conflicts that need to be worked out from my fork to the main repo but once those are resolved it should be available on the module manager.
  23. @omgsami1 wow, there's a typo in PortalCloner.py that I'm honestly surprised hasn't been caught before. 'rul.uri' should be 'rule.uri'. I'll fix it in the next release which I should be able to get to this week since I finally have some down time. Thanks for pointing it out! If you want to fix it before the next release is out you can find the file at /pineapple/modules/PortalAuth/includes/scripts/PortalCloner.py on your pineapple.
  24. I haven't seen that before. Feel free to PM me more information such as the site you're trying to clone, options you've entered, etc.
  25. @Mr.Spektor & @z-woh the problem of "TypeError: object of type 'NoneType' has no len()" is not an issue with the module's files. It is a problem with the parsing of whatever site you are cloning. I can look into handling this exception so it throws a warning instead of failing hard but it will be a while as I don't have the time at the moment.
×
×
  • Create New...