Zylla Posted March 17, 2017 Author Share Posted March 17, 2017 9 hours ago, Dirty Frank said: How about the installer symlink the installed files instead of the directory iteself (ala install the pkg to /sd and then "ln -s /sd/usr/lib/python2.7/* /usr/lib/python2.7" ? I'll see what i can come up with. This python-problem has actually been bugging me since i started. The IPK package for hostapd-mana contains an entire copy of the Pineapples python2.7 directory! (It's f-ing huge) It was not what i wanted. I had hoped to create individual IPK files for the python-libraries that was needed to run stuff like ssltrip+. I'll see if i can manage to cross-compile them again, and create their packages. Link to comment Share on other sites More sharing options...
Dirty Frank Posted March 17, 2017 Share Posted March 17, 2017 3 hours ago, Zylla said: I'll see what i can come up with. This python-problem has actually been bugging me since i started. The IPK package for hostapd-mana contains an entire copy of the Pineapples python2.7 directory! (It's f-ing huge) It was not what i wanted. I had hoped to create individual IPK files for the python-libraries that was needed to run stuff like ssltrip+. I'll see if i can manage to cross-compile them again, and create their packages. Sounds like a good plan. IIRC, some of the other Pineapple modules install Python extensions, which was what initially raised my concern about 'rm -r'ing the Python lib directory. I'm just getting started with the Pineapple (and getting up to speed on BusyBox) so right now I'm probably not as much help as I could be, but I really appreciate what you are doing. I think that what you're doing has a lot of potential for the Pineapple and I (and I'm sure others) appreciate it. Link to comment Share on other sites More sharing options...
KDWIP Posted March 28, 2017 Share Posted March 28, 2017 On 3/17/2017 at 2:46 AM, Zylla said: I'll see what i can come up with. This python-problem has actually been bugging me since i started. The IPK package for hostapd-mana contains an entire copy of the Pineapples python2.7 directory! (It's f-ing huge) It was not what i wanted. I had hoped to create individual IPK files for the python-libraries that was needed to run stuff like ssltrip+. I'll see if i can manage to cross-compile them again, and create their packages. Is this toolkit obsolete considering they are already included in your MANA toolkit? Link to comment Share on other sites More sharing options...
Zylla Posted April 3, 2017 Author Share Posted April 3, 2017 On 28.3.2017 at 4:52 PM, KDWIP said: Is this toolkit obsolete considering they are already included in your MANA toolkit? No. I created this seperately, so that the people who are interested solely in SSLStrip+ could get it, without downloading Mana. Link to comment Share on other sites More sharing options...
esa Posted April 4, 2017 Share Posted April 4, 2017 If you are installing this for the first time, please note that installation can take a long time. Be patient and give yourself a 60 minutes break. If you are still concern, open another SSH session to your pineapple, as long as there is still internet and the session is active installation, it should be fine. Quote Quote Link to comment Share on other sites More sharing options...
RazerBlade Posted April 30, 2017 Share Posted April 30, 2017 I gave up on MANA as my problems continued. But ofcoruse in old fashioned pineapple way, so many problems. root@Pineapple:~# wget -qO- https://raw.githubusercontent.com/adde88/sslstrip-hs ts-openwrt/master/INSTALL.sh | bash -s -- -v -v Installing: SSLstrip2 + DNS2Proxy. Go grab a cup of coffee, this can take a little while... Downloading https://www.wifipineapple.com/nano/packages/Packages.gz. Updated list of available packages in /var/opkg-lists/chaos_calmer_pineapple. Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/base/Packages.gz. Updated list of available packages in /var/opkg-lists/chaos_calmer_base. Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/Packages.gz. Updated list of available packages in /var/opkg-lists/chaos_calmer_packages. Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/management/Packages.gz. Updated list of available packages in /var/opkg-lists/chaos_calmer_management. Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/routing/Packages.gz. Updated list of available packages in /var/opkg-lists/chaos_calmer_routing. --2017-04-30 08:46:58-- https://github.com/adde88/sslstrip-hsts-openwrt/raw/master/sslstrip-hsts_0.9_ar71xx.ipk Resolving github.com... 192.30.253.113, 192.30.253.112 Connecting to github.com|192.30.253.113|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/adde88/sslstrip-hsts-openwrt/master/sslstrip-hsts_0.9_ar71xx.ipk [following] --2017-04-30 08:46:59-- https://raw.githubusercontent.com/adde88/sslstrip-hsts-openwrt/master/sslstrip-hsts_0.9_ar71xx.ipk Resolving raw.githubusercontent.com... 151.101.192.133, 151.101.128.133, 151.101.64.133, ... Connecting to raw.githubusercontent.com|151.101.192.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 8469272 (8.1M) [application/octet-stream] Saving to: 'sslstrip-hsts_0.9_ar71xx.ipk' sslstrip-hsts_0.9_a 100%[===================>] 8.08M 1.81MB/s in 4.5s 2017-04-30 08:47:04 (1.79 MB/s) - 'sslstrip-hsts_0.9_ar71xx.ipk' saved [8469272/8469272] rm: can't remove '/usr/lib/python2.7/tarfile.py': No space left on device rm: can't remove '/usr/lib/python2.7/telnetlib.py': No space left on device rm: can't remove '/usr/lib/python2.7/tempfile.py': No space left on device rm: can't remove '/usr/lib/python2.7/textwrap.py': No space left on device rm: can't remove '/usr/lib/python2.7/this.py': No space left on device rm: can't remove '/usr/lib/python2.7/threading.py': No space left on device rm: can't remove '/usr/lib/python2.7/timeit.py': No space left on device rm: can't remove '/usr/lib/python2.7/toaiff.py': No space left on device rm: can't remove '/usr/lib/python2.7/token.py': No space left on device rm: can't remove '/usr/lib/python2.7/tokenize.py': No space left on device rm: can't remove '/usr/lib/python2.7/trace.py': No space left on device rm: can't remove '/usr/lib/python2.7/traceback.py': No space left on device rm: can't remove '/usr/lib/python2.7/tty.py': No space left on device rm: can't remove '/usr/lib/python2.7/types.py': No space left on device rm: can't remove '/usr/lib/python2.7/urllib.py': No space left on device rm: can't remove '/usr/lib/python2.7/urllib2.py': No space left on device rm: can't remove '/usr/lib/python2.7/urlparse.py': No space left on device rm: can't remove '/usr/lib/python2.7/user.py': No space left on device rm: can't remove '/usr/lib/python2.7/uu.py': No space left on device rm: can't remove '/usr/lib/python2.7/uuid.py': No space left on device rm: can't remove '/usr/lib/python2.7/warnings.py': No space left on device rm: can't remove '/usr/lib/python2.7/wave.py': No space left on device rm: can't remove '/usr/lib/python2.7/weakref.py': No space left on device rm: can't remove '/usr/lib/python2.7/whichdb.py': No space left on device rm: can't remove '/usr/lib/python2.7/wsgiref/__init__.py': No space left on device rm: can't remove '/usr/lib/python2.7/wsgiref/handlers.py': No space left on device rm: can't remove '/usr/lib/python2.7/wsgiref/headers.py': No space left on device rm: can't remove '/usr/lib/python2.7/wsgiref/simple_server.py': No space left on device rm: can't remove '/usr/lib/python2.7/wsgiref/util.py': No space left on device rm: can't remove '/usr/lib/python2.7/wsgiref/validate.py': No space left on device rm: can't remove '/usr/lib/python2.7/wsgiref': Directory not empty rm: can't remove '/usr/lib/python2.7/wsgiref.egg-info': No space left on device rm: can't remove '/usr/lib/python2.7/xdrlib.py': No space left on device rm: can't remove '/usr/lib/python2.7/zipfile.py': No space left on device rm: can't remove '/usr/lib/python2.7': Directory not empty ln: /usr/lib/python2.7/python2.7: No space left on device Installing sslstrip-hsts (0.9) to sd... Installing python (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python_2.7.9-5_ar71xx.ipk. Installing python-compiler (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-compiler_2.7.9-5_ar71xx.ipk. Installing python-ctypes (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-ctypes_2.7.9-5_ar71xx.ipk. Installing python-db (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-db_2.7.9-5_ar71xx.ipk. Installing python-decimal (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-decimal_2.7.9-5_ar71xx.ipk. Installing python-distutils (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-distutils_2.7.9-5_ar71xx.ipk. Installing python-email (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-email_2.7.9-5_ar71xx.ipk. Installing python-gdbm (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-gdbm_2.7.9-5_ar71xx.ipk. Installing python-multiprocessing (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-multiprocessing_2.7.9-5_ar71xx.ipk. Installing python-ncurses (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-ncurses_2.7.9-5_ar71xx.ipk. Installing python-pydoc (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-pydoc_2.7.9-5_ar71xx.ipk. Installing python-unittest (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-unittest_2.7.9-5_ar71xx.ipk. Installing python-xml (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-xml_2.7.9-5_ar71xx.ipk. Configuring python-db. grep: /usr/lib/opkg/info/python-db.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-db.list': No such file or directory Configuring python-decimal. grep: /usr/lib/opkg/info/python-decimal.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-decimal.list': No such file or directory Configuring python-distutils. grep: /usr/lib/opkg/info/python-distutils.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-distutils.list': No such file or directory Configuring python-pydoc. grep: /usr/lib/opkg/info/python-pydoc.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-pydoc.list': No such file or directory Configuring python-compiler. grep: /usr/lib/opkg/info/python-compiler.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-compiler.list': No such file or directory Configuring python-ctypes. grep: /usr/lib/opkg/info/python-ctypes.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-ctypes.list': No such file or directory Configuring python-email. grep: /usr/lib/opkg/info/python-email.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-email.list': No such file or directory Configuring python-gdbm. grep: /usr/lib/opkg/info/python-gdbm.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-gdbm.list': No such file or directory Configuring python-multiprocessing. grep: /usr/lib/opkg/info/python-multiprocessing.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-multiprocessing.list': No such file or directory Configuring python-ncurses. grep: /usr/lib/opkg/info/python-ncurses.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-ncurses.list': No such file or directory Configuring python-unittest. grep: /usr/lib/opkg/info/python-unittest.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-unittest.list': No such file or directory Configuring python-xml. grep: /usr/lib/opkg/info/python-xml.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-xml.list': No such file or directory Configuring python. grep: /usr/lib/opkg/info/python.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python.list': No such file or directory Configuring sslstrip-hsts. Collected errors: * opkg_conf_write_status_files: Can't open status file //usr/lib/opkg/status: No space left on device. Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] ImportError: No module named site /tmp ln: /usr/bin/dns2proxy: No space left on device Installation completed! root@Pineapple:~# Looks like python is gone and i can't launch sslstrip or dns2proxy. What do I need to do to get this or MANA working. I think the problem is in the Sdcard but I'm unable to mount a usb so a guide on that would be appreciated. Link to comment Share on other sites More sharing options...
esa Posted April 30, 2017 Share Posted April 30, 2017 1 hour ago, RazerBlade said: I gave up on MANA as my problems continued. But ofcoruse in old fashioned pineapple way, so many problems. root@Pineapple:~# wget -qO- https://raw.githubusercontent.com/adde88/sslstrip-hs ts-openwrt/master/INSTALL.sh | bash -s -- -v -v Installing: SSLstrip2 + DNS2Proxy. Go grab a cup of coffee, this can take a little while... Downloading https://www.wifipineapple.com/nano/packages/Packages.gz. Updated list of available packages in /var/opkg-lists/chaos_calmer_pineapple. Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/base/Packages.gz. Updated list of available packages in /var/opkg-lists/chaos_calmer_base. Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/Packages.gz. Updated list of available packages in /var/opkg-lists/chaos_calmer_packages. Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/management/Packages.gz. Updated list of available packages in /var/opkg-lists/chaos_calmer_management. Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/routing/Packages.gz. Updated list of available packages in /var/opkg-lists/chaos_calmer_routing. --2017-04-30 08:46:58-- https://github.com/adde88/sslstrip-hsts-openwrt/raw/master/sslstrip-hsts_0.9_ar71xx.ipk Resolving github.com... 192.30.253.113, 192.30.253.112 Connecting to github.com|192.30.253.113|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/adde88/sslstrip-hsts-openwrt/master/sslstrip-hsts_0.9_ar71xx.ipk [following] --2017-04-30 08:46:59-- https://raw.githubusercontent.com/adde88/sslstrip-hsts-openwrt/master/sslstrip-hsts_0.9_ar71xx.ipk Resolving raw.githubusercontent.com... 151.101.192.133, 151.101.128.133, 151.101.64.133, ... Connecting to raw.githubusercontent.com|151.101.192.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 8469272 (8.1M) [application/octet-stream] Saving to: 'sslstrip-hsts_0.9_ar71xx.ipk' sslstrip-hsts_0.9_a 100%[===================>] 8.08M 1.81MB/s in 4.5s 2017-04-30 08:47:04 (1.79 MB/s) - 'sslstrip-hsts_0.9_ar71xx.ipk' saved [8469272/8469272] rm: can't remove '/usr/lib/python2.7/tarfile.py': No space left on device rm: can't remove '/usr/lib/python2.7/telnetlib.py': No space left on device rm: can't remove '/usr/lib/python2.7/tempfile.py': No space left on device rm: can't remove '/usr/lib/python2.7/textwrap.py': No space left on device rm: can't remove '/usr/lib/python2.7/this.py': No space left on device rm: can't remove '/usr/lib/python2.7/threading.py': No space left on device rm: can't remove '/usr/lib/python2.7/timeit.py': No space left on device rm: can't remove '/usr/lib/python2.7/toaiff.py': No space left on device rm: can't remove '/usr/lib/python2.7/token.py': No space left on device rm: can't remove '/usr/lib/python2.7/tokenize.py': No space left on device rm: can't remove '/usr/lib/python2.7/trace.py': No space left on device rm: can't remove '/usr/lib/python2.7/traceback.py': No space left on device rm: can't remove '/usr/lib/python2.7/tty.py': No space left on device rm: can't remove '/usr/lib/python2.7/types.py': No space left on device rm: can't remove '/usr/lib/python2.7/urllib.py': No space left on device rm: can't remove '/usr/lib/python2.7/urllib2.py': No space left on device rm: can't remove '/usr/lib/python2.7/urlparse.py': No space left on device rm: can't remove '/usr/lib/python2.7/user.py': No space left on device rm: can't remove '/usr/lib/python2.7/uu.py': No space left on device rm: can't remove '/usr/lib/python2.7/uuid.py': No space left on device rm: can't remove '/usr/lib/python2.7/warnings.py': No space left on device rm: can't remove '/usr/lib/python2.7/wave.py': No space left on device rm: can't remove '/usr/lib/python2.7/weakref.py': No space left on device rm: can't remove '/usr/lib/python2.7/whichdb.py': No space left on device rm: can't remove '/usr/lib/python2.7/wsgiref/__init__.py': No space left on device rm: can't remove '/usr/lib/python2.7/wsgiref/handlers.py': No space left on device rm: can't remove '/usr/lib/python2.7/wsgiref/headers.py': No space left on device rm: can't remove '/usr/lib/python2.7/wsgiref/simple_server.py': No space left on device rm: can't remove '/usr/lib/python2.7/wsgiref/util.py': No space left on device rm: can't remove '/usr/lib/python2.7/wsgiref/validate.py': No space left on device rm: can't remove '/usr/lib/python2.7/wsgiref': Directory not empty rm: can't remove '/usr/lib/python2.7/wsgiref.egg-info': No space left on device rm: can't remove '/usr/lib/python2.7/xdrlib.py': No space left on device rm: can't remove '/usr/lib/python2.7/zipfile.py': No space left on device rm: can't remove '/usr/lib/python2.7': Directory not empty ln: /usr/lib/python2.7/python2.7: No space left on device Installing sslstrip-hsts (0.9) to sd... Installing python (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python_2.7.9-5_ar71xx.ipk. Installing python-compiler (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-compiler_2.7.9-5_ar71xx.ipk. Installing python-ctypes (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-ctypes_2.7.9-5_ar71xx.ipk. Installing python-db (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-db_2.7.9-5_ar71xx.ipk. Installing python-decimal (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-decimal_2.7.9-5_ar71xx.ipk. Installing python-distutils (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-distutils_2.7.9-5_ar71xx.ipk. Installing python-email (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-email_2.7.9-5_ar71xx.ipk. Installing python-gdbm (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-gdbm_2.7.9-5_ar71xx.ipk. Installing python-multiprocessing (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-multiprocessing_2.7.9-5_ar71xx.ipk. Installing python-ncurses (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-ncurses_2.7.9-5_ar71xx.ipk. Installing python-pydoc (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-pydoc_2.7.9-5_ar71xx.ipk. Installing python-unittest (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-unittest_2.7.9-5_ar71xx.ipk. Installing python-xml (2.7.9-5) to sd... Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/python-xml_2.7.9-5_ar71xx.ipk. Configuring python-db. grep: /usr/lib/opkg/info/python-db.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-db.list': No such file or directory Configuring python-decimal. grep: /usr/lib/opkg/info/python-decimal.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-decimal.list': No such file or directory Configuring python-distutils. grep: /usr/lib/opkg/info/python-distutils.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-distutils.list': No such file or directory Configuring python-pydoc. grep: /usr/lib/opkg/info/python-pydoc.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-pydoc.list': No such file or directory Configuring python-compiler. grep: /usr/lib/opkg/info/python-compiler.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-compiler.list': No such file or directory Configuring python-ctypes. grep: /usr/lib/opkg/info/python-ctypes.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-ctypes.list': No such file or directory Configuring python-email. grep: /usr/lib/opkg/info/python-email.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-email.list': No such file or directory Configuring python-gdbm. grep: /usr/lib/opkg/info/python-gdbm.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-gdbm.list': No such file or directory Configuring python-multiprocessing. grep: /usr/lib/opkg/info/python-multiprocessing.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-multiprocessing.list': No such file or directory Configuring python-ncurses. grep: /usr/lib/opkg/info/python-ncurses.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-ncurses.list': No such file or directory Configuring python-unittest. grep: /usr/lib/opkg/info/python-unittest.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-unittest.list': No such file or directory Configuring python-xml. grep: /usr/lib/opkg/info/python-xml.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-xml.list': No such file or directory Configuring python. grep: /usr/lib/opkg/info/python.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python.list': No such file or directory Configuring sslstrip-hsts. Collected errors: * opkg_conf_write_status_files: Can't open status file //usr/lib/opkg/status: No space left on device. Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] ImportError: No module named site /tmp ln: /usr/bin/dns2proxy: No space left on device Installation completed! root@Pineapple:~# Looks like python is gone and i can't launch sslstrip or dns2proxy. What do I need to do to get this or MANA working. I think the problem is in the Sdcard but I'm unable to mount a usb so a guide on that would be appreciated. this package definitely works. Try a factory reset then performing this installation. Link to comment Share on other sites More sharing options...
Zylla Posted April 30, 2017 Author Share Posted April 30, 2017 The installation script is working as intended. To find out where your error is located i'm going to need the output of dmesg and logread, and it needs to be done after the error has happened.IF your error is the SD-card (which i think is most likely), your only option at the moment is to remove the SD-card (after doing a factory-reset), and then insert a USB thumb-drive, then mount the device as /sd. Your Pineapple will then work as normal, and will behave as if your thumb-drive is your SD-card. Your second option is to wait for Hak5 to release a fix for the kernel-module that is misbehaving. I don't want to sound harsh or anything like that, but if you need a step-by-step instruction to mount a thumb-drive, then i would recommend that you wait with installing this til i've created a Module for the Pineapple that works. Both this and the Mana Toolkit is currently in development, and is not ready to be released as a Module yet. I've created these threads and installation-packages for people that have experience with development/debugging/openwrt to test it and then report back what errors they are experiencing, and also changes they would like to see in the future. But as i said above, your only option at the moment is to mount the usb-drive to /sd/ Here's an example mount command. mount /dev/sda1 /sd (sda1 = example ext4 partition on your usb-drive) (setup your thumb-drive partition table on a PC, or format it through the terminal) Link to comment Share on other sites More sharing options...
Zylla Posted April 30, 2017 Author Share Posted April 30, 2017 Yeah, that's definitely the sd-card. Link to comment Share on other sites More sharing options...
achandab Posted May 1, 2017 Share Posted May 1, 2017 Thanks for this. I'm aware you are working on the module add on but do you have a rough ETA? Link to comment Share on other sites More sharing options...
m0nk666 Posted June 22, 2017 Share Posted June 22, 2017 Hi Zylla, Firstly, let me thank you for your efforts in bringing SSL Strip to us. As a total noob, I've been lurking on the forums over the last few weeks and trying to learn and understand the Pineapple "FOO" .. :) I've been trying to get SSL Strip running with some success but then it crashes after a while. After reading through the Mana Pages ( another of your projects) I can see there is potentially an issue with the SD card and underlying OS having a bit of a fit. As per the forum thread, I have am now using a USB stick rather than an SD card for the purpose of running SSL Strip . I've formatted the USB Stick for an 8GB EXT4 partition and have allocated another partition as a Swap drive. My Fstab is as below and I was just looking for some guidance to ensure I have the variables correct. After a power off and reboot, it looks like the SD partition is now available as per below but am not 100% sure on the swap. swapon -s shows /dev/sdb2 partition 2097148 1272 -1 ( the -1 under the priority ) is where I am questioning whether it is right or not ? Filesystem Size Used Available Use% Mounted on rootfs 2.2M 312.0K 1.9M 14% / /dev/root 12.8M 12.8M 0 100% /rom tmpfs 29.9M 9.0M 20.9M 30% /tmp /dev/mtdblock3 2.2M 312.0K 1.9M 14% /overlay overlayfs:/overlay 2.2M 312.0K 1.9M 14% / tmpfs 512.0K 0 512.0K 0% /dev /dev/sdb1 7.5G 1.3M 7.1G 0% /sd total used free shared buffers Mem: 61204 59704 1500 9196 8140 -/+ buffers: 51564 9640 Swap: 2097148 784 2096364 config 'global' option anon_swap '0' option anon_mount '0' option auto_swap '1' option auto_mount '1' option delay_root '5' option check_fs '0' config 'mount' option target '/sd' option device '/dev/sdb1' option fstype 'ext4' option options 'rw,sync' option enabled '1' config swap option device /dev/sdb2 option enabled 1 Insights or advice appreciated sir and thanks again for making life a bit easier in terms of understanding the capability of this little device :) Regards m0nk Link to comment Share on other sites More sharing options...
Zylla Posted June 23, 2017 Author Share Posted June 23, 2017 Hi @m0nk666! Everything looks to be in order. You will know if the /sd directory is mounted correctly if you can read/write to it, and it gets saved to the USB-drive. You can also check your dmesg and logread for strings that seems error-related if you're worried. If you get any problems make sure you provide me the at least the output from those two, it makes debugging alot easier. Happy pen-testing! :) Link to comment Share on other sites More sharing options...
Purrball Posted August 5, 2017 Share Posted August 5, 2017 Quick question: Should we be seeing any activity scrolling by within SSLStrip in the console? I see plenty of requests and responses through dns2proxy, but nothing in the former. Any thoughts? Link to comment Share on other sites More sharing options...
Realisrael Posted August 11, 2017 Share Posted August 11, 2017 On 5/8/2017 at 2:45 PM, Purrball said: Quick question: Should we be seeing any activity scrolling by within SSLStrip in the console? I see plenty of requests and responses through dns2proxy, but nothing in the former. Any thoughts? If you look at the file you are writing to, you'll be able to see what sslstrip is capturing. However, I only saw encrypted data so I'm not sure if it is working properly. Link to comment Share on other sites More sharing options...
Imaneewbie Posted October 1, 2017 Share Posted October 1, 2017 Hi. So i've got a question. I ran the install script, everything worked perfect. I am able to run the scripts, but i cant get why it doesnt work the way it is supposed to. Anyone able to write the exact commands I should run, to get it to work? Thanks in advice. Working on pineapple nano. Link to comment Share on other sites More sharing options...
i8igmac Posted October 1, 2017 Share Posted October 1, 2017 I don't believe this attack is working anymore. Maybe it works against out of date web browsers and out of date websites... maybe I'm wrong. Link to comment Share on other sites More sharing options...
Imaneewbie Posted October 1, 2017 Share Posted October 1, 2017 Either way, I'd like to know how do i get it working, just for experience :) Link to comment Share on other sites More sharing options...
0x4ndr3 Posted October 16, 2017 Share Posted October 16, 2017 Great explanation on the less known feature of HSTS - https://pentesterslife.wordpress.com/2017/09/12/http-strict-transport-security-the-practical-explanation/ Link to comment Share on other sites More sharing options...
crystal Posted October 26, 2017 Share Posted October 26, 2017 Hi @Zylla, I know this is not your main project, but it would be great if you turn this into a module. The official SSLstrip module is on hold and you are my last hope . Link to comment Share on other sites More sharing options...
Rinilyn Posted January 7, 2018 Share Posted January 7, 2018 i dont need this if i install the mana toolkit,correct? Link to comment Share on other sites More sharing options...
Zylla Posted January 8, 2018 Author Share Posted January 8, 2018 10 hours ago, Rinilyn said: i dont need this if i install the mana toolkit,correct? You are correct. :) Link to comment Share on other sites More sharing options...
BennyGG Posted January 17, 2018 Share Posted January 17, 2018 when trying to use dns2proxy it gives out this error searched for pcapy online for openwrt but no result BTW tried running the command opkg install pcapy but it appears to not be in the archives root@Pineapple:/sd/usr/share/dns2proxy# python dns2proxy.py --help Traceback (most recent call last): File "dns2proxy.py", line 29, in <module> import pcapy newbie here. Link to comment Share on other sites More sharing options...
Zylla Posted January 26, 2018 Author Share Posted January 26, 2018 On 17.1.2018 at 7:09 PM, BennyGG said: when trying to use dns2proxy it gives out this error searched for pcapy online for openwrt but no result BTW tried running the command opkg install pcapy but it appears to not be in the archives root@Pineapple:/sd/usr/share/dns2proxy# python dns2proxy.py --help Traceback (most recent call last): File "dns2proxy.py", line 29, in <module> import pcapy newbie here. Just follow the instructions in my first post. And use the INTALL.sh script to get it up and running. You won't need to download pcapy then, as it's compiled and archived inside my IPK that gets downloaded. Link to comment Share on other sites More sharing options...
BennyGG Posted January 26, 2018 Share Posted January 26, 2018 i used the install script more then once and it still spits that error Link to comment Share on other sites More sharing options...
Zylla Posted January 26, 2018 Author Share Posted January 26, 2018 1 hour ago, BennyGG said: i used the install script more then once and it still spits that error Using an SD-card? Or are you using a memory-stick? Just curious. If you could post the output from dmesg and/or logread after the error has happened it'll make it ten times easier to debug. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.