Results 1 to 4 of 4
Discuss howto: Ettercap on iphone? at the iPhone Developer Exchange - Hackint0sh.org; Hi, I'm curious if anyone managed to port ettercap to the iPhone. I'm trying without ...
  1. #1
    Professional Array

    Join Date
    Jun 2009
    Posts
    58
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    7

    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



  2. #2
    Professional Array

    Join Date
    Jun 2009
    Posts
    58
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    7

    Default

    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.

  3. #3
    Newbie Array

    Join Date
    Jul 2009
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Has someone news on it?

  4. #4
    Newbie Array

    Join Date
    Dec 2009
    Posts
    6
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Its december and still not even a post. Please can we have some new info on this topic? Anything?

 

 

Similar Threads

  1. Ettercap Library Question
    By noone in forum Free Toolchain Software (Cydia App's)
    Replies: 0
    Last Post: 05-31-2010, 09:02 AM
  2. Compiling ettercap
    By ninocass in forum iPhone Developer Exchange
    Replies: 3
    Last Post: 09-11-2009, 10:25 PM
  3. [REQ] ettercap for iPhone OS3.0
    By s0nic in forum Free Toolchain Software (Cydia App's)
    Replies: 2
    Last Post: 07-10-2009, 01:25 PM
  4. compile ettercap
    By gregod in forum Free Toolchain Software (Cydia App's)
    Replies: 0
    Last Post: 03-21-2008, 12:54 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 08:04 PM.
twitter, follow us!