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


Go Back   Hackint0sh > Projects and Hacks > iPhone > Applications & Development > Free Toolchain Software

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-22-2008, 04:14 PM
bergheim
Status: Offline
Member
 
Join Date: Nov 2007
Posts: 36
Rep Power: 0
bergheim is on a distinguished road
Send a message via ICQ to bergheim
Default [REQ] dsniff for iPhone

Hi,

I'm curious if anyone managed to port dSniff or similar tools to the iPhone.
Anyone here into mobile penetration-testing and using the iPhone?

Any help/link would be appreciated!

Thanks,
Bergheim
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 10-11-2008, 09:53 PM
backXslash
Status: Offline
Junior Member
 
Join Date: Oct 2007
Posts: 4
Rep Power: 0
backXslash is on a distinguished road
Default I've got ettercap-ng 0.7.3 working

I've got a fully functional build of ettercap-ng 0.7.3 running on my iPhone (firmware 2.1).

It's even signed with ldid and runs perfectly. And, if that's not icing on the cake, it's got plug-in support, ncurses GUI support, and debug support.

I had to do a whole lot of ln -s trickery to get the support libraries to compile and install, and then some source modification of ettercap itself, and I'm not entirely certain what all I did. However, if someone could show me how to compile it in such a fashion that I can package it for Cydia, I'd be glad to go at it again, and share with the community!
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 10-13-2008, 09:54 PM
superduca
Status: Offline
Member
 
Join Date: Jan 2008
Posts: 40
Rep Power: 0
superduca is on a distinguished road
Default

it would be really awesome to have a fully functional program for iphone..
can you sniff packages with only the phone? i mean without any other computer in the process..some time ago i was reading here on the forum that iphone wifi chipset was not able to do things as packet injection or something like this
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

  #4 (permalink)  
Old 10-15-2008, 10:27 AM
backXslash
Status: Offline
Junior Member
 
Join Date: Oct 2007
Posts: 4
Rep Power: 0
backXslash is on a distinguished road
Default

ettercap-ng is a network sniffer, and yes, I have succefuly ARP poisoned my home network, and even run a filter to swap all images going to my room mates computer with the laughing man .gif
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 11-02-2008, 03:16 PM
sys32r
Status: Offline
Trial Member
 
Join Date: Nov 2008
Posts: 2
Rep Power: 0
sys32r is on a distinguished road
Default

im waiting ettercap from you backxslash every day
if the compiled verison you have running ok on the iphone please send it, it will be good to share ..

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
  #6 (permalink)  
Old 12-28-2008, 11:40 PM
cdtdaddy
Status: Offline
Trial Member
 
Join Date: Dec 2008
Posts: 1
Rep Power: 0
cdtdaddy is on a distinguished road
Default

Quote:
Originally Posted by backXslash View Post
ettercap-ng is a network sniffer, and yes, I have succefuly ARP poisoned my home network, and even run a filter to swap all images going to my room mates computer with the laughing man .gif
I've compiled ettercap-NG-0.7.3 with the iPhone toolchain... it needs libnet (patched with BYTE SWAP, fucking darwin....) and some other tweaks (configure script, libiconv etc. etc)..
I can poison clients arp cache and see theirs traffic in a switched LAN but ettercap will not show "live connections" and captured passwords...

@backXslash: have you had the same issue? how do you have resolved 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

  #7 (permalink)  
Old 01-18-2009, 03:19 AM
pcane
Status: Offline
Trial Member
 
Join Date: Jan 2009
Posts: 1
Rep Power: 0
pcane is on a distinguished road
Default

hey guys,

i would love to see ettercap working on iPhone. It's a shame that you guys dont want to upload this!
here is dsniff. Also a usefull sniffer!

-->
Collin R. Mulliner

Have fun!

pcane
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 06-05-2009, 06:08 PM
111111
Status: Offline
Member
 
Join Date: Jun 2009
Posts: 50
Rep Power: 3
111111 is on a distinguished road
Default Need help

Hi, I'm trying to build EttercapNG 0.7.3 on my Iphone 3G fw 2.2.1, but when I try ./configure it gives me:

checking for library containing pthread_create... none required
checking whether gcc accepts -pthread... no
configure: WARNING: ***************************
configure: WARNING: * PTHREAD ARE REQUIRED !! *
configure: WARNING: ***************************

Then it doesn't proceed and exit. I really don't know what to do! Have anyone already have this issue? How did you solve it?

PS: This is "gcc -v" output:

Using built-in specs.
Target: arm-apple-darwin9
Configured with: ../llvm-gcc-4.2/configure --build=x86_64-unknown-linux-gnu --host=arm-apple-darwin9 --enable-static=no --enable-shared=yes --prefix=/usr --localstatedir=/var/cache/iphone-gcc --enable-languages=c,c++,objc,obj-c++ --enable-wchar_t=no --with-gxx-include-dir=/usr/include/c++/4.0.0
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5555)


Thanks


################################################## #############################
Ok, sorry, solved it!
I've just edit the line number 28246 of the configure file giving "vim +28246 configure" and should appear a line like:

elif test "$OS" != "MACOSX" -a "$OS" != "WINDOWS"; then

I just changed MACOSX to DARWIN. Like

elif test "$OS" != "DARWIN" -a "$OS" != "WINDOWS"; then

Now it goes on but it says me "libnet >= 1.1.2.1 not found"... but.. I installed it from Cydia!
Have anyone already have this issue? How did you solve it?

################################################## #############################
Solved again! With a ln -s trick.
I've successfully configured EttercapNG 0.7.3 on my iphone:

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 libtool or something else, maybe memmem which I think it is a library.
Oh, during configure process, it can't find libnet, which is installed!! I've also tryed to search libnet files' paths and specify them with "./configure --with-libnet=/path/to/libnet" but ... nothing! Can't found it!
Any suggestion?

Last edited by 111111; 06-05-2009 at 11:18 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 06-08-2009, 06:30 PM
sys32r
Status: Offline
Trial Member
 
Join Date: Nov 2008
Posts: 2
Rep Power: 0
sys32r is on a distinguished road
Default

backXslash ,, we are waiting u

111111 Good work but have you make it work??

please tell us
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

  #10 (permalink)  
Old 06-10-2009, 02:02 PM
111111
Status: Offline
Member
 
Join Date: Jun 2009
Posts: 50
Rep Power: 3
111111 is on a distinguished road
Default

No I didn't managed to compile it and make it work, I've just been able to complete the "./configure" process..
backXslash CAN YOU HELP US please?

PS:
If anyone has this problem yet:

checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.


you have just to run this command from root:

sysctl -w security.mac.proc_enforce=0 security.mac.vnode_enforce=0

Remember that you should run it again every time you reboot your iPhone.

Last edited by 111111; 06-10-2009 at 02:34 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
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




All times are GMT +2. The time now is 04:39 PM.



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