Page 3 of 7 FirstFirst 1234567 LastLast
Results 21 to 30 of 66
Discuss [REQ] dsniff for iPhone at the Free Toolchain Software (Cydia App's) - Hackint0sh.org; Greeeattt!!! I knew that ec_format.c was the real problem!!! I was working on it too, ...
  1. #21
    Professional Array

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

    Default

    Greeeattt!!!
    I knew that ec_format.c was the real problem!!! I was working on it too, and I had already installed libiconv (and zlib)!
    I'm gonna try your ettercap..
    So, what have you modified from the original source??

    PS: If it works on my phone, I'll try to make a .deb, and I'll upload it on my cydia repository. I'll let you know


  2. #22
    Newbie Array

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

    Default my changes

    hy

    i have still change the configure (osx to darwin)
    and in the format.c file have i removed all utf 8 parts, now he make a fallback to the system default (utf8 )
    (make diff with the original format.c and you see exactly what i have changed)

    Problems:
    We have no plugin support (yet)

    other problem is the control with the iphone, i try to use a "terminal" application but i cant realy controll the application gui.

    Have you a better app or idea to control the app ?

    //edit : have you icq or skype ? we can try together solve all problems send me an pm with you data, i add you
    Last edited by Hyp3r_code; 09-12-2009 at 05:08 PM.

  3. #23
    Professional Array

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

    Default

    Ok, I started using skype, you should find me under johnnytheworm (I hope); I'm from Italy.
    Add me because I get errors from your ettercap version and we need to talk (don't worry I'm pretty sure it's my fault).

  4. #24
    Newbie Array

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

    Default

    woot! Thanks dude! I'm following the steps right now. I'll let you know if I have any success.

  5. #25
    Professional Array

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

    Default

    Hyp3r it seems that you deleted the src/interfaces/gtk/* files, so I am not able to complete the configure process.
    Now I have modified configure and ec_format.c from an original source, and it works!
    Well, I can install ettercap on my phone, and so etterfilter, but when I try to filter my pc data like:

    ettercap -T -q -F filter.ef -M ARP /192.168.1.xx/ //

    ettercap is able to scan the network, find hosts, and finally.. exit with 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

    So maybe I have a problem with libgcc? Your ettercap is crashing like that also?
    If yes, we should try to fix it, I think it should solve all of those "pointer targets of .... differ in signedness".


  6. #26
    Newbie Array

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

    Default

    i havent delete any files...

    yap i have this error to , ok next issue

    //Edit : google doesnt say any about this error, so we need linux gurus or you (111111) can help to solve this
    Last edited by Hyp3r_code; 09-12-2009 at 09:50 PM.

  7. #27
    Professional Array

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

    Default

    Hey folks, if you wanna see ettercap fully working on your iDevice, you have to wait a little more.
    Hyp3r and I.. and maybe someone else are working on it, we already have it on our iphone, even if it's not fully working; we don't have plugins support... so we aren't able to use filters yet.

    BUT, I repeat, we're working on it and it will be a pleasure to share a tutorial on how to have it working with you... And would you be happy if you see ettercap on Cydia? (we'll try to make a .deb package)

    So be patient, you'll know.

  8. #28
    Newbie Array

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

    Default ...

    Code:
    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 .........  yes
     Passive DNS ............  yes
     Perl regex in filters ..  yes
     Iconv UTF-8 support ....  yes
    
    ==================================================
    im still compiling the source, i hope it works....

    //Edit : Failed compiled success with -i option but same error as before by using a filter :/)
    What i have do for activate the support ?
    i have install libtool
    Last edited by Hyp3r_code; 09-13-2009 at 01:47 PM.

  9. #29
    Professional Array

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

    Default

    Ok I think I found another method to solve the iconv issue, and it should be more clean that yours, Hyp3r.
    I'll give the solution to everyone who have added me to their skype contacts: to everyone who wanted to help. We'll choose what is the best solution.

    No news on the switch8 error instead, sorry. I'm waiting for your support, See you tomorrow

  10. #30
    Professional Array

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

    Default

    Ok folks, this is a guide to install ettercap on your iphone BUT we haven't got it fully working. The reason why I'm posting this anyway, is that I'd like some help from anyone who wants to help, so I let you see what I was able to have.
    The ncurses gui (-C), Text mode (-T) and Daemoniza (-D) work, but we are stuck on some errors like a ___switch8 referenced by /usr/lib/libgcc_s.1.dylib not found: try for example using filters and you'll see. Like:
    ettercap -T -q -F filter.ef -M ARP /victim_ip/ //
    (you must create a filter before, and encrypt it with etterfilter. And substitute victim_ip with a real ip)
    Plugins don't work, I didn't understand yet if ettercap can't find them or if they are not even compiled.
    We may have to disable SSL support because of ipfw: it's not working properly 'cause a kernel module is needed (just correct me if I fail, I'm not sure of this).
    Hehehe, maybe the only thing that really works at this moment is sniffing!

    Anyway, here it is (I hope I didn't make any typing mistake)





    ----- HOWTO INSTALL ETTERCAP-NG-0.7.3 ON YOUR IPHONE 3G (FROM SOURCE) -----

    *****
    Attention: if during this tutorial, your phone says that there's not enough free space, you should search on Google how to fix it: something like "move Applications folder" should be fine.
    *****

    First of all you should already have this tools (you can install them from Cydia):

    OpenSSH
    wget
    tar
    make
    bison (can be optional but I suggest you to install it if you find it on Cydia)
    gawk (can be optional but I suggest you to install it if you find it on Cydia)
    flex (may give you errors while compiling, so install this just in case you can't compile ettercap anyway)
    libpcap
    libnet
    pcre
    ncurses (New Curses)
    iPhone 2.0 Toolchain


    For Firmware 3.x users: if you can't find Toolchain 2.0 on Cydia, or you're not able to install it, it's because libgcc doesn't come pre-installed with these firmwares, so you have to install both Toolchain and libgcc; but don't worry the net helps, so there's a solutions. I'll explain it later, now keep reading.

    OK, let's start! Be sure that your PC and your iPhone are both connected to the extern world with your local wifi network.
    Now connect from your PC to your iPhone with ssh (for Linux users) or Putty (for Windows users). You must connect AS ROOT! If a password is asked and you don't know what to do, write alpine (the default password).
    Well, now you have only to run these commands (be sure you copy urls completely, without those '...'):


    3.x users only (getting libgcc and Toolchain 2.0):

    wget http://apt.saurik.com/dists/tangelo/...honeos-arm.deb
    dpkg -i libgcc_4.2-20080410-1-6_iphoneos-arm.deb
    rm libgcc_4.2-20080410-1-6_iphoneos-arm.deb
    apt-get install com.bigboss.20toolchain (if you see "apt-get: command not found" just download iPhone 2.0 Toolchain from Cydia)


    All users:

    sysctl -w security.mac.proc_enforce=0 security.mac.vnode_enforce=0
    ln -s /var/include/* /usr/include
    wget http://theworm.altervista.org/iphone...onv-1.13.1.tar
    tar xfv iphone-libiconv-1.13.1.tar
    cd iphone-libiconv-1.13.1
    ./configure --prefix=/usr/local
    make
    make install
    cd ../
    wget http://ftp.gnu.org/gnu/libtool/libtool-2.2.6a.tar.gz
    tar xvfz libtool-2.2.6a.tar.gz
    cd libtool-2.2.6
    ./configure
    make
    make install
    cd ../
    wget http://theworm.altervista.org/iphone...p-NG-0.7.3.tar
    tar xfv iphone-ettercap-NG-0.7.3.tar
    cd iphone-ettercap-NG-0.7.3
    ./configure --disable-gtk --disable-debug --enable-plugins
    make
    make install


    OPTIONAL:

    cd ../
    rm -r iphone-ettercap-NG-0.7.3
    rm -r libtool-2.2.6
    rm -r iphone-libiconv-1.13.1
    rm iphone-libiconv-1.13.1.tar.gz
    rm libtool-2.2.6a.tar.gz
    rm iphone-ettercap-NG-0.7.3.tar




    Congrats!! You have succesfully installed last Ettercap version on you iPhone (I hope all stuff went ok). Have fun!


    ----- INFOS -----

    Currently tested on iPhone with these firmwares (jailbroken):
    3.0.1
    3.0
    2.2.1 (not really sure)

    Previous firmwares are not garanteed.


    ----- CHANGELOG -----

    iphone-ettercap-NG-0.7.3:
    modified configure (line 28246, MACOSX to DARWIN)

    iphone-libiconv-1.13.1:
    modified include/iconv.h.build.in (every #define iconv* don't point to libiconv* but still iconv*)
    modified include/iconv.h.in (every #define iconv* don't point to libiconv* but still iconv*)


    ----- THANKS TO -----

    TheWorm
    Hyp3r_code
    Destkop

    ALoR & NaGA (Ettercap's developers, of course)
    The iPhone Dev Team (the ones who made the iPhone a cool, customizable phone)
    The Net ...





    Hope this helps,
    TheWorm
    Last edited by 111111; 09-19-2009 at 05:07 PM.


 

 
Page 3 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 08:49 PM.
twitter, follow us!