Jump to content

SSLSplit - Working on latest firmware (2.6.x)


Zylla

Recommended Posts

9 hours ago, Zylla said:

Which link? The github repo is up and running, and all the links i've posted seems to work fine for me.

Up&running today, installed without any issues. and is now up and running.. again thanks for your great work. Much appriciated

 

 

Link to comment
Share on other sites

  • Replies 73
  • Created
  • Last Reply
On 10/12/2019 at 1:42 PM, Zylla said:

SSLsplit + Module
Working on the latest firmware > v2.5.4

Package / IPK (For advanced users):
You can now find SSLSplit v0.5.5 on my github repo. 😉
It's been compiled for the latest firmwares, and is working flawlessly for me, on both my Nano and Tetra! 🙂
Manual installation of the package is for advanced users.

The Module:
I've also created a fork of the original SSLsplit Module, that you can find on a separate github. repo:
  https://github.com/adde88/SSLsplitNG

It's been modified to install my package, and should work on firmware versions > 2.6.0

Module Installation:
Download this tarball containing the module, and transfer it to your Pineapples /tmp directory, for example by using WinSCP, or "scp" on Linux.
SSH to your Pineapple and run the commands below exactly as outlined.


cd /tmp
gunzip SSLsplitNG-1.6.tar.gz
tar -xvf SSLsplitNG-1.6.tar
cd SSLsplitNG-1.6
mkdir -p /pineapple/modules/SSLsplitNG
cp -r * /pineapple/modules/SSLsplitNG/

I'd appreciate feedback, especially if you encounter any errors! 
When pasting logs and such, please consider using pastebin to avoid filling the thread with debug-stuff.

Donations:
Are very much appreciated!
Alot of my spare-time goes to keeping software up-to-date with the Pineapples on my various repositories, and helping out the community in general!
It really helps me so i can continue on with this work. 🙂
Click here if you want to support my projects over PayPal.

this is a error i think can someone help

hallo.JPG

Link to comment
Share on other sites

1 hour ago, Thomaatje said:

this is a error i think can someone help

hallo.JPG

Follow the instructions exactly as outlined.
Also, your browser is pointed towards: SSLsplit
It should be pointed at: SSLsplitNG
Example: http://172.16.42.1:1471/#!/modules/SSLsplitNG

I'm guessing the error comes from naming the directory SSLsplit, instead of SSLsplitNG

Link to comment
Share on other sites

On 10/23/2019 at 5:49 AM, Zylla said:

Which link? The github repo is up and running, and all the links i've posted seems to work fine for me.

Sorry Mandingo

for jumping the gun,

" https://github.com/adde88/SSLSplitNG "

this was the one that wasn't working

but it seem to be working now.

 

Link to comment
Share on other sites

  • 2 weeks later...

I tried installing the tar using the instructions here on 2.6.1 and 2.6.2 on Nano.  Did a clean factory reset as well to be sure.  When I click on the module, it needs the dependencies which I then install.  Once done, I click on start and it tries but then it doesn't work  Any tips on what else I can try or how I can troubleshoot?  I also tried installing the ipk with same results.

Link to comment
Share on other sites

On 11/3/2019 at 3:05 PM, palormortis said:

I tried installing the tar using the instructions here on 2.6.1 and 2.6.2 on Nano.  Did a clean factory reset as well to be sure.  When I click on the module, it needs the dependencies which I then install.  Once done, I click on start and it tries but then it doesn't work  Any tips on what else I can try or how I can troubleshoot?  I also tried installing the ipk with same results.

I have the same problem here any help pls

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

I just posted a video guide showing how to install this on your Pineapple to YouTube.
https://youtu.be/ZZ64E1GhL0c

Sorry for the delay, but i don't usually make videos like this.
The audio on the video is not that great. But if enough people are interested, i'll purchase a mic.
Perhaps i can create more related videos for some of my other projects I've compiled for the Pineapple. 🙂

Link to comment
Share on other sites

Hi Zylla,

Thanks for the video. Its grate and the audio is OK.

I run in to a issue:

root@Pineapple:/pineapple/modules# git clone https://github.com/adde88/SSLsplitNG
Cloning into 'SSLsplitNG'...
warning: templates not found in /usr/share/git-core/templates
fatal: unable to find remote helper for 'https'

I'm using NANO and other steps went OK. I have installed git with -d sd as you suggested.

Do I missing something? What and how to install it?

Link to comment
Share on other sites

22 minutes ago, cymes said:

Hi Zylla,

Thanks for the video. Its grate and the audio is OK.

I run in to a issue:

root@Pineapple:/pineapple/modules# git clone https://github.com/adde88/SSLsplitNG
Cloning into 'SSLsplitNG'...
warning: templates not found in /usr/share/git-core/templates
fatal: unable to find remote helper for 'https'

I'm using NANO and other steps went OK. I have installed git with -d sd as you suggested.

Do I missing something? What and how to install it?

I created /usr/share/git-core/templates but cant solve the fatal: unable to find remote helper for 'https'

Link to comment
Share on other sites

10 minutes ago, cymes said:

I created /usr/share/git-core/templates but cant solve the fatal: unable to find remote helper for 'https'

Try replacing https with git. That might do the trick. 🙂
example: git clone git://
github.com/adde88/SSLSplitNG

Link to comment
Share on other sites

14 minutes ago, Zylla said:

Try replacing https with git. That might do the trick. 

Nice trick 🙂 It solved the problem but... there is new one.

I run out of space. I have deleted all other modules but still the same.

fatal: write error: No space left on device | 92.00 KiB/s
fatal: index-pack failed
 

I run git clone to /sd/modules/ where I have had (before) all my modules. It went OK

Now I do not see the module in the web interface. Is there some script in /sd/modules/SSLsplitNG/ that I can run to activate this module?

Or can I delete all folders in /tmp to have more space?

Link to comment
Share on other sites

48 minutes ago, cymes said:

Nice trick 🙂 It solved the problem but... there is new one.

I run out of space. I have deleted all other modules but still the same.

fatal: write error: No space left on device | 92.00 KiB/s
fatal: index-pack failed
 

I run git clone to /sd/modules/ where I have had (before) all my modules. It went OK

Now I do not see the module in the web interface. Is there some script in /sd/modules/SSLsplitNG/ that I can run to activate this module?

Or can I delete all folders in /tmp to have more space?

What's the output from "df -h"  and "mount" ?

Link to comment
Share on other sites

I have done full reset and formatted SD. It was something wrong with Pineapple. WiFi dongle was not found and after formatting SD it is working.

But with installing SSLSplit is the same. I have run df -h

root@Pineapple:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                13.0M     13.0M         0 100% /rom
tmpfs                    29.1M    688.0K     28.4M   2% /tmp
/dev/mtdblock3            1.3M    264.0K      1.1M  20% /overlay
overlayfs:/overlay        1.3M    264.0K      1.1M  20% /
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/sdcard/sd1          28.2G     44.1M     26.7G   0% /sd


root@Pineapple:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/mtdblock3 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
/dev/sdcard/sd1 on /sd type ext4 (rw,relatime,data=ordered)

Link to comment
Share on other sites

20 minutes ago, cymes said:

I have done full reset and formatted SD. It was something wrong with Pineapple. WiFi dongle was not found and after formatting SD it is working.

But with installing SSLSplit is the same. I have run df -h

root@Pineapple:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                13.0M     13.0M         0 100% /rom
tmpfs                    29.1M    688.0K     28.4M   2% /tmp
/dev/mtdblock3            1.3M    264.0K      1.1M  20% /overlay
overlayfs:/overlay        1.3M    264.0K      1.1M  20% /
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/sdcard/sd1          28.2G     44.1M     26.7G   0% /sd


root@Pineapple:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/mtdblock3 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
/dev/sdcard/sd1 on /sd type ext4 (rw,relatime,data=ordered)

I suspect the Pineapple couldn't find the SD card, and was writing to the internal memory. Explaining why you got the error message regarding "out of space".
I can see that it's mounted correctly now.

Do you still get the same error when trying to clone the directory to: /sd/modules/ ?

Link to comment
Share on other sites

9 hours ago, cymes said:

I can clone it to /sd/modules/ but then I do not see it in web interface. 

You clone it to /sd/modules, AND create a sym-link (shortcut) to "/pineapple/modules/sslsplitdirectory". 

This will make the module appear in the web interface. 

This sym-link process is mentioned in the instructions and the tutorial. Don't use the exact directory name i wrote above. 🙂

Link to comment
Share on other sites

20 hours ago, Zylla said:

You clone it to /sd/modules, AND create a sym-link (shortcut) to "/pineapple/modules/sslsplitdirectory". 

This will make the module appear in the web interface. 

This sym-link process is mentioned in the instructions and the tutorial. Don't use the exact directory name i wrote above. 🙂

Thanks. It works 😄 Sorry for newbie problems.

Link to comment
Share on other sites

  • 2 weeks later...

Not working here. I can install the module following the instructions, but SSLstrip will not start. running sslsplit -h shows the following error:

Error loading shared library libfts.so.0: No such file or directory (needed by /sd/usr/bin/sslsplit)
Error relocating /sd/usr/bin/sslsplit: fts_read: symbol not found
Error relocating /sd/usr/bin/sslsplit: fts_close: symbol not found
Error relocating /sd/usr/bin/sslsplit: fts_open: symbol not found
Error relocating /sd/usr/bin/sslsplit: fts_set: symbol not found

 

Is there a dependency missing in dependency.sh?

Link to comment
Share on other sites

13 hours ago, Sarif said:

Not working here. I can install the module following the instructions, but SSLstrip will not start. running sslsplit -h shows the following error:

Error loading shared library libfts.so.0: No such file or directory (needed by /sd/usr/bin/sslsplit)
Error relocating /sd/usr/bin/sslsplit: fts_read: symbol not found
Error relocating /sd/usr/bin/sslsplit: fts_close: symbol not found
Error relocating /sd/usr/bin/sslsplit: fts_open: symbol not found
Error relocating /sd/usr/bin/sslsplit: fts_set: symbol not found

 

Is there a dependency missing in dependency.sh?

Every single dependency is accounted for in the script.

The dependency that seems to be missing in your installation is "musl-fts". This will happen most often if the Pineapple doesn't have a working internet connection while installing, or if "opkg update" has not been run / is not working. 

Easiest fix would be to run this one liner over SSH: "opkg update ; opkg install musl-fts -d sd

Link to comment
Share on other sites

  • 2 weeks later...

Hello,

I followed the guide on youtube to install sslsplitng on a tetra device. It installs fine and I can run it from the command line. When I run it from the command line I do see that it is started in the gui. If I try to start it from the gui it never works. I also never see any data, even when using from the cli, so I dont know if it is actually working or not.

Is anyone else experiencing this or know how to assist?

Thank you in advance,

inzel

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...