|
|||||||||
|
|||||||||
|
|||
|
Hi,
I'm curious if anyone managed to port ettercap to the iPhone. I'm trying without success to compile EttercapNG 0.7.3 on my iphone 3G firmware 2.2.1 (now I changed to 3.0)... I'm just able to finish the "./configure" part. Ettercap has been configured as follow... ================================================== Install directory: /usr/local Libraries : LIBPCAP ................ default LIBNET ................. default LIBSSL ................. NO NCURSES ................ NO GTK+ ................... NO Functionalities : Debug mode ............. no Plugin support ......... no Passive DNS ............ yes Perl regex in filters .. no Iconv UTF-8 support .... yes ================================================== Now if i try "make" the output has several errors like dissectors/ec_ymsg.c: In function 'dissector_ymsg': dissectors/ec_ymsg.c:63: warning: pointer targets in passing argument 1 of 'memmem' differ in signedness dissectors/ec_ymsg.c:145: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness dissectors/ec_ymsg.c:145: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness dissectors/ec_ymsg.c:145: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness dissectors/ec_ymsg.c:148: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness dissectors/ec_ymsg.c:149: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -lz -lresolv -lpcap -lnet -liconv -c missing/memmem.c -o missing/memmem.o gcc: -lz: linker input file unused because linking not done gcc: -lresolv: linker input file unused because linking not done gcc: -lpcap: linker input file unused because linking not done gcc: -lnet: linker input file unused because linking not done gcc: -liconv: linker input file unused because linking not done and /usr/bin/ld: Undefined symbols: _libiconv _libiconv_close _libiconv_open collect2: ld returned 1 exit status It seems I haven't got iconv library, but I have it... Then I think I've a problem with libtool and ld or something else, maybe memmem which I think it is a library. Suggestions? Please any help/link would be appreciated! Thanks |
|
|||
|
I'm back.
In this time I tested firmware 3.0 and now I downgraded to 2.2.1, which I had before. I tried to make ettercap works, just for curiosity, and now this is what I have: ettercap has been configured as follow... ================================================== Install directory: /usr/local Libraries : LIBPCAP ................ default LIBNET ................. default LIBSSL ................. default NCURSES ................ default GTK+ ................... NO Functionalities : Debug mode ............. yes Plugin support ......... no Passive DNS ............ yes Perl regex in filters .. yes Iconv UTF-8 support .... yes ================================================== ALL I HAVE DONE is: 1) install a certain number of libs and tools from cydia (make, toolchain 2.0, libpcap, etc.). I will make a list when I will able to finally compile ettercap. 2) ssh in my iphone (like root), download Ettercap-NG_0.7.3.tar.gz, extract it. 3) cd ettercap-NG-0.7.3 4) change the line number 28246 of configure file of ettercap directory like I said above in another post (vim +28246 ....etc). Note: the iphone doesn't come with vim pre-installed, you can download it from cydia; but i suggest you to download configure file to your pc, modify it, and put it back on the phone. 5) sysctl -w security.mac.proc_enforce=0 security.mac.vnode_enforce=0 (enable gcc to compile programs) 6) ./configure --enable-debug But now if I try "make" it gives me the old errors, like: warning: pointer targets in passing argument 1 of 'something...' differ in signedness I think I'll have to make some modifications to ettercap's source code. mmmm.... well, however this time it seems that libssl, ncurses and "Perl regex in filters" are supported. Maybe the first time they didn't work because I installed all headers (the include directory) by hand and I hadn't been able to do the ln -s trickery in the right way or completely. I will try again, without --enable-debug, which I think to give only errors. |
|
|||
|
Has someone news on it?
|
| Sponsored links Remove advertisements | |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Simplified Guide to unlock iPhone 1.1.2 (for old bootloader US iPhone) | eddy123 | Older Software Unlock Solution | 2 | 11-23-2007 07:51 AM |
| Phone Number format | spoonet | Older Software Unlock Solution | 130 | 11-22-2007 12:20 AM |
| (mac)First ultimate guide to fully unlock iPhone 1.1.2 for free *tested* | eddy123 | Older Software Unlock Solution | 0 | 11-16-2007 10:40 PM |
| Unlock iPhone 1.1.2 via Downgrade and anySIM 1.1.1 from iPhone Dev Team | eddy123 | Older Software Unlock Solution | 2 | 11-11-2007 03:06 PM |
|
|