Jump to content

avinn

Active Members
  • Content Count

    7
  • Joined

  • Last visited

  • Days Won

    1

About avinn

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. @sud0nick ah.. alright. so is there maybe a workaround for this.. all links I try get this same error...
  2. Seems to have got half the portal with the following traceback when run from CLI root@Pineapple:/sd/modules/PortalAuth/includes/scripts# python portalclone.py --portalName SGTELL --portalArchive "/sd/ portals/" --injectSet Payloader --url "https://www.singtel.com/personal/products-services/broadband/singtel-wifi" --inje ctjs --injectcss --injecthtml Killed root@Pineapple:/sd/modules/PortalAuth/includes/scripts# python portalclone.py --portalName SGTELL --portalArchive "/sd/ portals/" --injectSet Payloader --url "https://www.singtel.com/personal/products-services/broadband/singtel-wifi" --inje ctjs --injectcss --injecthtml Killed root@Pineapple:/sd/modules/PortalAuth/includes/scripts# python portalclone.py --portalName SG --portalArchive "/sd/port als/" --injectSet Payloader --url "http://www.starbucks.com.sg" --injectjs --injectcss --injecthtml Exception in thread Thread-8: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 763, in run self.__target(*self.__args, **self.__kwargs) File "/sd/modules/PortalAuth/includes/scripts/PortalCloner.py", line 60, in downloadFile with open(self.resourceDirectory + name, 'wb') as out_file: IOError: [Errno 22] invalid mode ('wb') or filename: '/sd/portals/SG/resources/main.js?20160817' Exception in thread Thread-5: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 763, in run self.__target(*self.__args, **self.__kwargs) File "/sd/modules/PortalAuth/includes/scripts/PortalCloner.py", line 60, in downloadFile with open(self.resourceDirectory + name, 'wb') as out_file: IOError: [Errno 22] invalid mode ('wb') or filename: '/sd/portals/SG/resources/WebResource.axd?d=NffBwSAZjt_7VJjnTfvJdiG1UQAxq970tS8ggCEcrP49P0zzguVqguvbtA-4uqgcAGV3DNX4o0Wfm-bME8yqajAw9w81&t=635370430285126825' Exception in thread Thread-6: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 763, in run self.__target(*self.__args, **self.__kwargs) File "/sd/modules/PortalAuth/includes/scripts/PortalCloner.py", line 60, in downloadFile with open(self.resourceDirectory + name, 'wb') as out_file: 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' Exception in thread Thread-11: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 763, in run self.__target(*self.__args, **self.__kwargs) File "/sd/modules/PortalAuth/includes/scripts/PortalCloner.py", line 59, in downloadFile with closing(self.session.get(urlparse.urljoin(self.url, url), stream=True, verify=False)) as r: File "/sd/modules/PortalAuth/includes/scripts/libs/requests/sessions.py", line 473, in get return self.request('GET', url, **kwargs) File "/sd/modules/PortalAuth/includes/scripts/libs/requests/sessions.py", line 461, in request resp = self.send(prep, **send_kwargs) File "/sd/modules/PortalAuth/includes/scripts/libs/requests/sessions.py", line 573, in send r = adapter.send(request, **kwargs) File "/sd/modules/PortalAuth/includes/scripts/libs/requests/adapters.py", line 415, in send raise ConnectionError(err, request=request) ConnectionError: ('Connection aborted.', ResponseNotReady()) Complete Did not get the tinycss issue though
  3. and now when I try the same over the GUI it fails without an error
  4. Hi @sud0nick. Thanks for that feedback. I did put in the permissions as that was on one of your previous posts. I did as you mentioned and i am trying to clone http://www.starbucks.com.sg but I get the following root@Pineapple:/sd/modules/PortalAuth/includes/scripts# python portalclone.py --portalName SG --portalArchive /sd/portal s/ --injectSet Payloader --url http://www.starbucks.com.sg --injectjs --injectcss --injecthtml Exception in thread Thread-8: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 763, in run self.__target(*self.__args, **self.__kwargs) File "/sd/modules/PortalAuth/includes/scripts/PortalCloner.py", line 60, in downloadFile with open(self.resourceDirectory + name, 'wb') as out_file: IOError: [Errno 22] invalid mode ('wb') or filename: '/sd/portals/SG/resources/main.js?20160817' Exception in thread Thread-6: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 763, in run self.__target(*self.__args, **self.__kwargs) File "/sd/modules/PortalAuth/includes/scripts/PortalCloner.py", line 60, in downloadFile with open(self.resourceDirectory + name, 'wb') as out_file: 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' Exception in thread Thread-5: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 763, in run self.__target(*self.__args, **self.__kwargs) File "/sd/modules/PortalAuth/includes/scripts/PortalCloner.py", line 60, in downloadFile with open(self.resourceDirectory + name, 'wb') as out_file: IOError: [Errno 22] invalid mode ('wb') or filename: '/sd/portals/SG/resources/WebResource.axd?d=NffBwSAZjt_7VJjnTfvJdiG1UQAxq970tS8ggCEcrP49P0zzguVqguvbtA-4uqgcAGV3DNX4o0Wfm-bME8yqajAw9w81&t=635370430285126825' Complete The portal is created but its preview on the Pineapple shows 403 Forbidden. No error log except the ones above. Secondly, I don't see a method to select the payload (exe file) as per your Youtube Video. Not sure how that can be done via CLI as I did not see it as part of the injectSet ...
  5. I tried again and now I get the error sh: --injectSet: not found
  6. Hi @sud0nick I installed PortalAuth from your github and imported manually into the modules section. The portal Auth was visible post that and I tried using a URL. This fails saying there is more in a log but a log file is never created. I checked the log folder on that link and it seems to be empty root@Pineapple:/sd/modules/PortalAuth/includes/logs# pwd /sd/modules/PortalAuth/includes/logs root@Pineapple:/sd/modules/PortalAuth/includes/logs# ls root@Pineapple:/sd/modules/PortalAuth/includes/logs# ls root@Pineapple:/sd/modules/PortalAuth/includes/logs# I dont see anything on the GUI as well under errors another time it did give an error file but its blank root@Pineapple:/sd/modules/PortalAuth/includes/changelog# cd ../logs/ root@Pineapple:/sd/modules/PortalAuth/includes/logs# ls clone_error_00_54_02.txt root@Pineapple:/sd/modules/PortalAuth/includes/logs# cat clone_error_00_54_02.txt root@Pineapple:/sd/modules/PortalAuth/includes/logs# cat clone_error_00_54_02.txt root@Pineapple:/sd/modules/PortalAuth/includes/logs# I had faced the tinycss issue before but I am not sure whats wrong now Have you seen this before? Thanks
  7. Hello, I have the exact problem and I have run into a hell of a lot problems because of this. To begin with there is a post in 2016 for the tinycss issue and from the long post there were a couple of remove and move commands along with the installation of pip. Quoting this from the link:https://forums.hak5.org/topic/37448-official-portal-auth/?page=8 Now you can install pip: 'opkg install python-pip' finally you install tinycss with 'pip install tinycss' Problem is I have a Nano and when i install python-pip it says does not have disk space. I thought ok maybe there could be modules etc on them but i install all my modules in my SD card and i even tried factory resetting it but /root is consistently 12.5MB 100%. So I installed pip on the sd card but boom it still does not detect it in bash similarly i installed tinycss manually as well but it does not detect it and im stumped as to how I could get this to work Can someone help out here please? Thanks a bunch
×
×
  • Create New...