Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > Applications & Development > iPhone Developer Exchange

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-28-2009, 12:26 AM
111111
Status: Offline
Member
 
Join Date: Jun 2009
Posts: 50
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 06-30-2009, 10:47 AM
111111
Status: Offline
Member
 
Join Date: Jun 2009
Posts: 50
Rep Power: 3
111111 is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 07-20-2009, 06:36 AM
s0nic
Status: Offline
Junior Member
 
Join Date: Jul 2009
Posts: 4
Rep Power: 0
s0nic is on a distinguished road
Default

Has someone news on it?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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



All times are GMT +2. The time now is 07:59 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105