Page 5 of 7 FirstFirst 1234567 LastLast
Results 41 to 50 of 66
Discuss [REQ] dsniff for iPhone at the Free Toolchain Software (Cydia App's) - Hackint0sh.org; Heya! I made a copy! (got them all but one - it was 6.3mb - ...
  1. #41
    Newbie Array

    Join Date
    Sep 2009
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Heya!
    I made a copy! (got them all but one - it was 6.3mb - and the server died on me!)
    Code:
    iconv.h
    http://www.mediafire.com/?zzyyzdlxwyz
    
    libgcc_4.2-20080410-1-6_iphoneos-arm.deb
    http://www.mediafire.com/?dyndmdmi2zm
    
    libtool.deb
    http://www.mediafire.com/?jtlzjdqdym4
    I would like to point out another guide (tho it didnt work for me!)
    Code:
    http://modmyi.com/forums/3rd-party-apps-requests/675741-toolchain-os3-0-ettercap-iphone-advanced-network-sniffing.html
    this DID work for me,
    Code:
    http://www.hackint0sh.org/f126/38894-3.htm#post443645
    but I did this error:
    iPod:/var/mobile/Media/ettercap/ettercap-NG-0.7.3 root# ettercap -i en0 -T -q -M ARP // //

    ettercap NG-0.7.3 copyright 2001-2004 ALoR & NaGA

    Listening on en0... (Ethernet)

    en0 -> 00:xx:xx:xx:xx:xx 192.168.1.100 255.255.255.0

    SSL dissection needs a valid 'redir_command_on' script in the etter.conf file
    Privileges dropped to UID 65534 GID 65534...

    0 plugins (disabled by configure...)
    39 protocol dissectors
    53 ports monitored
    7587 mac vendor fingerprint
    1698 tcp OS fingerprint
    2183 known services

    Randomizing 255 hosts for scanning...
    Scanning the whole netmask for 255 hosts...
    * |================================================= =>| 100.00 %

    2 hosts added to the hosts list...
    dyld: lazy symbol binding failed: Symbol not found: ___switch8
    Referenced from: /usr/local/bin/ettercap
    Expected in: /usr/lib/libgcc_s.1.dylib

    dyld: Symbol not found: ___switch8
    Referenced from: /usr/local/bin/ettercap
    Expected in: /usr/lib/libgcc_s.1.dylib

    Trace/BPT trap

    There is dsniff...
    Code:
    http://www.mulliner.org/blog/blosxom.cgi/software/dsniffforiphonecydia.html
    and a script to go with it (tho I had to do some modding - I may finish it off one day, and post it back!)
    Code:
    http://www.hackint0sh.org/f126/79207.htm

    also
    "Turning your iPhone/iPod Touch into a handheld hacking device"
    Code:
    http://www.hitb.org/modules.php?op=modload&name=News&file=article&sid=24843&mode=thread&order=0&thold=0


    edit:
    So whats been done to ettercap for the "iphone-ettercap-NG-0.7.3"

    Just this?:
    modified configure (line 28246, MACOSX to DARWIN)
    modified share/etter.conf (remote browser: openURL http://xxx.xxx)
    Last edited by some1; 09-26-2009 at 10:12 AM.


  2. #42
    Professional Array

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

    Default

    No, in order to make it work, you have to modify another 2 files (and you will have plugins too). I'll post all the stuff when we will have ettercap fully working (it won't take much time).

  3. #43
    Newbie Array

    Join Date
    Oct 2009
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Could anyone please share a compiled ettercap?

    I guess I'd kill my iphone if I try to do the whole compiling path...

  4. #44
    Newbie Array

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

    Default

    sure but you cant use ettercap
    we have always the problem with the tcp forward,
    so ettercap needs this forward, without this , ettercap doesnt work.

    this is not a ettercap issue. ettercap works to 100%
    its a system kernel issue.

    We need a guy that can make a kernel patch to activating ipfw You are the guy ? contact me

    Grezz
    Hyp3r

  5. #45
    Professional Array

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

    Default

    If you want to try ettercap (what we have) on your iphone, add my repo as a new source in your Cydia:

    TWRepo

    then search & install. But it's not really working yet; the iphone doesn't support tcp forward: ipfw actually doesn't work.
    AND.. you may encounter an error while running it with a filter for example. On my phone I have this error:

    dyld: lazy symbol binding failed: Symbol not found: ___switch8
    Referenced from: /usr/local/bin/ettercap
    Expected in: /usr/lib/libgcc_s.1.dylib

    dyld: Symbol not found: ___switch8
    Referenced from: /usr/local/bin/ettercap
    Expected in: /usr/lib/libgcc_s.1.dylib

    ATTENTION: If you do NOT have the error above, write me please!!

    Thanks, TheWorm
    Last edited by 111111; 10-13-2009 at 02:35 AM.


  6. #46
    Professional Array

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

    Default

    Bad news, I've contacted backXslash because he had ettercap working on his iphone, and he told me:

    I HAD it working, on iPhone OS 2.1. It took me an entire weekend without sleep to so it, and an insane amount of google as well. I lost the source and the compiled binaries just about a week after I got ettercap working. I do know it's possible, i just don't really remember what all I did.

    My advise is to get the required packages compiled first, then ettercap itself. Also, compile ON the iPhone, don't cross compile on a computer. I'd love to help you guys out, but I have since gotten a G1 and joined the Android scene.

    Sorry again guys.

  7. #47
    Professional Array

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

    Default

    Ok, finally I have got a probably fully working ettercap, you can find it on my Cydia repo:
    TWRepo
    The problem is that the iphone is not able to construct and forward packets, so ettercap isn't really useful now (at least for me). Probably the reason is that a kernel module is needed and packet forwarding must be enabled at kernel level (or not?). So now we can run ettercap, but we'll get errors like this one:

    SEND L3 ERROR: x byte packet (0800:x) destined to xxx.xxx.xxx.xxx was not forwarded (libnet_write_raw_ipv4(): -1 bytes written (Invalid argument))

    The error shouldn't be in ettercap's code because testing the example programs of libnet itself, they give me the same errors.
    Now, if you wanna help, we should probably build a kernel module...


    You can find (not for a long time) the ettercap source code I've used at:
    http://theworm.altervista.org/iphone...p-NG-0.7.3.tar
    I'm not sure of all changes I've done, should be these files:

    configure
    share/etter.conf
    src/Makefile.in
    src/ec_send.c
    src/ec_plugins.c
    src/ec_threads.c
    src/protocols/ec_tcp.c
    src/protocols/ec_udp.c
    src/interfaces/curses/widgets/wdg.h

    I used patches found on the net to make it work on OSX (don't know if they were really useful). I have also fixed parts where it looks for a defined OS_DARWIN; but the iphone (at least mine) hasn't it defined so I added a __APPLE__. In wdg.h I defined u_char type. etter.conf: dropped privileges to root (0) and set a command for remore_browser plugin (you will need Erica Utilities, from Cydia).
    Use diff to see changes from the original source.
    Write me if you want to compile ettercap from source but you have some errors: iconv/libiconv, libnet, pthread, stdlib.h, stdint.h, __switch8... etc....
    Last edited by 111111; 10-23-2009 at 04:15 PM.

  8. #48
    Newbie Array

    Join Date
    Oct 2009
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Wink It works now

    Code:
    iPhone:~ root# ettercap -C
    dyld: Library not loaded: /usr/local/lib/libnet.1.dylib
      Referenced from: /usr/local/bin/ettercap
      Reason: image not found
    Trace/BPT trap
    
    iPhone:~ root#   sysctl -w net.inet.ip.forwarding=1
    net.inet.ip.forwarding: 0 -> 1
    
    iPhone:~ root# ettercap -C
    dyld: Library not loaded: /usr/local/lib/libnet.1.dylib
      Referenced from: /usr/local/bin/ettercap
      Reason: image not found
    Trace/BPT trap
    
    iPhone:~ root# cd /usr/local/lib/
    
    iPhone:/usr/local/lib root# ls
    dsniff.services*  libnet.1.5.0.dylib*  libnet.dylib*  libtop.a*
    ettercap/         libnet.a             libnet.la*
    
    iPhone:/usr/local/lib root# cp libnet.dylib libnet.1.dylib
    
    iPhone:/usr/local/lib root# ettercap -C
    dyld: Library not loaded: /usr/local/lib/libltdl.7.dylib
      Referenced from: /usr/local/bin/ettercap
      Reason: image not found
    Trace/BPT trap
    
    << Install the packet "libtool" via Cydia >> ;)
    
    iPhone:/usr/local/lib root# ettercap -C
    
    ettercap NG-0.7.3 copyright 2001-2004 ALoR & NaGA
    
    ctrl + c
    
    Please restore manually the value of net.inet.ip.forwarding to 1
    
    iPhone:/usr/local/lib root#

  9. #49
    Professional Array

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

    Default

    Sure it works, you can problably sniff packets. But can you modify them? Can you use filters?

    I don't know what I'm talking about, but this problem should be the same that doesn't make aircrack work (aircrack-ng, the entire suite).

  10. #50
    Professional Array

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

    Default

    I said that I wasn't sure of what I was talking about... I was right. I mean, I was wrong, because the error I posted might be only a libnet bug. I'll try to fix it as soon as possible and you might have ettercap working (and so libnet) this week.
    The problem about the kernel (cannot set interface in monitor mode) is another thing, and it is the reason why aircrack doesn't work.


 

 
Page 5 of 7 FirstFirst 1234567 LastLast

LinkBacks (?)

  1. 05-13-2012, 11:44 PM

Similar Threads

  1. Working dSniff script for iphone 3.0
    By fr0g in forum Free Toolchain Software (Cydia App's)
    Replies: 7
    Last Post: 09-16-2012, 02:16 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 06:01 AM.
twitter, follow us!