View Single Post
  #1 (permalink)  
Old 06-28-2009, 12:26 AM
111111
Status: Offline
Member
 
Join Date: Jun 2009
Posts: 56
Rep Power: 3
111111 is on a distinguished road
Default howto: Ettercap on iphone?

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
Reply With Quote