Discuss [REQ] dsniff for iPhone at the Free Toolchain Software - Hackint0sh.org; Greeeattt!!!
I knew that ec_format.c was the real problem!!! I was working on it too, ...
I knew that ec_format.c was the real problem!!! I was working on it too, and I had already installed libiconv (and zlib)!
I'm gonna try your ettercap..
So, what have you modified from the original source??
PS: If it works on my phone, I'll try to make a .deb, and I'll upload it on my cydia repository. I'll let you know
Ok, I started using skype, you should find me under johnnytheworm (I hope); I'm from Italy.
Add me because I get errors from your ettercap version and we need to talk (don't worry I'm pretty sure it's my fault).
woot! Thanks dude! I'm following the steps right now. I'll let you know if I have any success.
Hyp3r it seems that you deleted the src/interfaces/gtk/* files, so I am not able to complete the configure process.
Now I have modified configure and ec_format.c from an original source, and it works!
Well, I can install ettercap on my phone, and so etterfilter, but when I try to filter my pc data like:
ettercap -T -q -F filter.ef -M ARP /192.168.1.xx/ //
ettercap is able to scan the network, find hosts, and finally.. exit with this error:
dyld: lazy symbol binding failed: Symbol not found: ___switch8
Referenced from: /usr/local/bin/ettercap
Expected in: /usr/lib/libgcc_s.1.dylib
So maybe I have a problem with libgcc? Your ettercap is crashing like that also?
If yes, we should try to fix it, I think it should solve all of those "pointer targets of .... differ in signedness".
Hey folks, if you wanna see ettercap fully working on your iDevice, you have to wait a little more.
Hyp3r and I.. and maybe someone else are working on it, we already have it on our iphone, even if it's not fully working; we don't have plugins support... so we aren't able to use filters yet.
BUT, I repeat, we're working on it and it will be a pleasure to share a tutorial on how to have it working with you... And would you be happy if you see ettercap on Cydia? (we'll try to make a .deb package)
So be patient, you'll know.
Last edited by Hyp3r_code; 09-13-2009 at 01:47 PM.
Ok I think I found another method to solve the iconv issue, and it should be more clean that yours, Hyp3r.
I'll give the solution to everyone who have added me to their skype contacts: to everyone who wanted to help. We'll choose what is the best solution.
No news on the switch8 error instead, sorry. I'm waiting for your support, See you tomorrow
Ok folks, this is a guide to install ettercap on your iphone BUT we haven't got it fully working. The reason why I'm posting this anyway, is that I'd like some help from anyone who wants to help, so I let you see what I was able to have.
The ncurses gui (-C), Text mode (-T) and Daemoniza (-D) work, but we are stuck on some errors like a ___switch8 referenced by /usr/lib/libgcc_s.1.dylib not found: try for example using filters and you'll see. Like:
ettercap -T -q -F filter.ef -M ARP /victim_ip/ //
(you must create a filter before, and encrypt it with etterfilter. And substitute victim_ip with a real ip)
Plugins don't work, I didn't understand yet if ettercap can't find them or if they are not even compiled.
We may have to disable SSL support because of ipfw: it's not working properly 'cause a kernel module is needed (just correct me if I fail, I'm not sure of this).
Hehehe, maybe the only thing that really works at this moment is sniffing!
Anyway, here it is (I hope I didn't make any typing mistake)
----- HOWTO INSTALL ETTERCAP-NG-0.7.3 ON YOUR IPHONE 3G (FROM SOURCE) -----
Attention: if during this tutorial, your phone says that there's not enough free space, you should search on Google how to fix it: something like "move Applications folder" should be fine.
First of all you should already have this tools (you can install them from Cydia):
bison (can be optional but I suggest you to install it if you find it on Cydia)
gawk (can be optional but I suggest you to install it if you find it on Cydia)
flex (may give you errors while compiling, so install this just in case you can't compile ettercap anyway)
ncurses (New Curses)
iPhone 2.0 Toolchain
For Firmware 3.x users: if you can't find Toolchain 2.0 on Cydia, or you're not able to install it, it's because libgcc doesn't come pre-installed with these firmwares, so you have to install both Toolchain and libgcc; but don't worry the net helps, so there's a solutions. I'll explain it later, now keep reading.
OK, let's start! Be sure that your PC and your iPhone are both connected to the extern world with your local wifi network.
Now connect from your PC to your iPhone with ssh (for Linux users) or Putty (for Windows users). You must connect AS ROOT! If a password is asked and you don't know what to do, write alpine (the default password).
Well, now you have only to run these commands (be sure you copy urls completely, without those '...'):
3.x users only (getting libgcc and Toolchain 2.0):
dpkg -i libgcc_4.2-20080410-1-6_iphoneos-arm.deb
apt-get install com.bigboss.20toolchain (if you see "apt-get: command not found" just download iPhone 2.0 Toolchain from Cydia)
sysctl -w security.mac.proc_enforce=0 security.mac.vnode_enforce=0
ln -s /var/include/* /usr/include
tar xfv iphone-libiconv-1.13.1.tar
tar xvfz libtool-2.2.6a.tar.gz
tar xfv iphone-ettercap-NG-0.7.3.tar
./configure --disable-gtk --disable-debug --enable-plugins
rm -r iphone-ettercap-NG-0.7.3
rm -r libtool-2.2.6
rm -r iphone-libiconv-1.13.1
Congrats!! You have succesfully installed last Ettercap version on you iPhone (I hope all stuff went ok). Have fun!
----- INFOS -----
Currently tested on iPhone with these firmwares (jailbroken):
2.2.1 (not really sure)
Previous firmwares are not garanteed.
----- CHANGELOG -----
modified configure (line 28246, MACOSX to DARWIN)
modified include/iconv.h.build.in (every #define iconv* don't point to libiconv* but still iconv*)
modified include/iconv.h.in (every #define iconv* don't point to libiconv* but still iconv*)
----- THANKS TO -----
ALoR & NaGA (Ettercap's developers, of course)
The iPhone Dev Team (the ones who made the iPhone a cool, customizable phone)
The Net ...
Hope this helps,
Last edited by 111111; 09-19-2009 at 05:07 PM.
By fr0g in forum Free Toolchain Software
Last Post: 09-16-2012, 02:16 AM