Menu

#62 ettercap -G doesn't show text

open
nobody
Bug (17)
5
2015-01-19
2012-09-02
Vlad
No

I installed ettercap via Homebrew and whenever I try to open the GUI with ettercap -G, I get this: http://t.co/wndw0FAm

It seems to be a weird encoding issue and it's not displaying any characters.

Discussion

1 2 > >> (Page 1 of 2)
  • Vlad

    Vlad - 2012-09-02

    Problem

     
  • Vlad

    Vlad - 2012-09-03

    Hi locutusofborg1,

    I am indeed on OS X (Mountain Lion - 10.8).

    I tried following your instructions to build the RC version but I couldn't follow through as I am on a Mac, not Linux. cmake command doesn't work :D

    Vlad

     
  • Gianfranco Costamagna

    I'm not a mac user but in the cmake project site I see a mac version...
    http://www.cmake.org/cmake/resources/software.html

     
  • Vlad

    Vlad - 2012-09-03

    Right,

    I think I am a bit confused now.

    I installed ettercap 0.7.4.1 via Homebrew (brew install ettercap).

    I managed to clone the git for ettercap rc and build it but I don't know how to actually install it (and replace my old version of ettercap) and make sure that it works nicely with the other dependancies installed by Homebrew. Is there a .tar.gz of the latest version that I could use?

    Vlad

     
  • Gianfranco Costamagna

    After building ettercap you can just run the program, or make install it.

    this is what I do in the ubuntu side.
    git clone https://github.com/Ettercap/ettercap
    cd ettercap/
    git checkout ettercap_rc
    mkdir build
    cd build
    cmake ..
    make
    cd ..
    ./build/src/ettercap -G

     
  • Vlad

    Vlad - 2012-09-03

    Got this when doing "make":

    Vlads-MBA:build vladjiman$ make
    [ 20%] Built target ec_interfaces
    [ 61%] Built target ettercap
    [ 66%] Built target ec_wdg
    [ 66%] Built target arp_cop
    [ 66%] Built target autoadd
    [ 67%] Built target chk_poison
    [ 67%] Built target dns_spoof
    [ 67%] Built target dos_attack
    [ 68%] Built target dummy
    [ 68%] Built target find_conn
    [ 69%] Built target find_ettercap
    [ 69%] Built target find_ip
    [ 69%] Built target finger
    [ 70%] Built target finger_submit
    [ 70%] Built target gre_relay
    [ 71%] Built target gw_discover
    [ 71%] Built target isolate
    [ 71%] Built target link_type
    [ 72%] Built target nbns_spoof
    [ 72%] Built target pptp_chapms1
    [ 72%] Built target pptp_clear
    [ 73%] Built target pptp_pap
    [ 73%] Built target pptp_reneg
    [ 74%] Built target rand_flood
    [ 74%] Built target remote_browser
    [ 74%] Built target reply_arp
    [ 75%] Built target repoison_arp
    [ 75%] Built target scan_poisoner
    [ 76%] Built target search_promisc
    [ 76%] Built target smb_clear
    [ 76%] Built target smb_down
    [ 77%] Built target smurf_attack
    [ 77%] Building C object plug-ins/CMakeFiles/sslstrip.dir/sslstrip/sslstrip.c.o
    /Users/vladjiman/ettercap/plug-ins/sslstrip/sslstrip.c:50:2: error: #error libcurl 7.26.0 or up is needed
    make[2]: *** [plug-ins/CMakeFiles/sslstrip.dir/sslstrip/sslstrip.c.o] Error 1
    make[1]: *** [plug-ins/CMakeFiles/sslstrip.dir/all] Error 2
    make: *** [all] Error 2
    Vlads-MBA:build vladjiman$

    I have installed curl via Homebrew but I get the same error. Any ideas? :D

     
  • Gianfranco Costamagna

    your curl version is too old, you can build it yourself by downloading it from here http://curl.haxx.se/download.html

    and
    tar xjvf curl...
    cd curl...
    ./configure
    make
    sudo make install

     
  • Vlad

    Vlad - 2012-09-03

    You are extremely helpful!

    I managed to build it. However, the same problem occurs in the 0.7.5 version. Here is a screen with the main interface and the "Help" open: http://cl.ly/image/131J3b451k1u

    I forgot to mention earlier that the locale is United Kingdom (you guessed my name correctly, but I relocated long time ago :P)

     
  • Gianfranco Costamagna

    ok just one thing more, please compile in debug mode (I'm pretty sure this wont help us in finding the problem)

    and try again.

    In order to do so, you just have to
    cmake ..
    ccmake .

    press "enter" key, write "Debug" on keyboard "esc" and "g"

    after this just make and (if you want) make install.

    Post here any relevant log

     
  • Vlad

    Vlad - 2012-09-03

    I get this when I do "ccmake ."

    http://cl.ly/image/2x0F0n3S2d3X

    Your combination of keys won't result in anything :(

     
  • Gianfranco Costamagna

    this is the right screenshot, as said to the bottom you have to press enter to start editing, you have to "Debug" after CMAKE_BUILD_TYPE and esc and g to save and exit

     
  • Vlad

    Vlad - 2012-09-03

    Right, did that, "make" and "./build/src/ettercap -G". No log appeared, just the usual ettercap window with the missing text...

     
  • Gianfranco Costamagna

    I'm pretty sure there is a log... :)

    in your ettercap directory there should be a file called "ettercap-0.7.5_debug.log"

     
  • Vlad

    Vlad - 2012-09-03

    Absolute genius!

    Here is the log: http://cl.ly/0c1l2n0h3l3S

     
  • Gianfranco Costamagna

    ok there is nothing relevant in the log you just have a good gtk version and an older openssl and everything else, but this is not a problem, this seems to be a bug about a wrong locale, so I may suggest to try to run ettercap with the flag -C
    (curses library, just to be sure the bug isn't in gtk), and try to change the locale of the system.

     
  • Vlad

    Vlad - 2012-09-03

    I used to run it in -C but being a newbie like me, I find it difficult to navigate that interface (adding targets and such).

    Try to change the locale of the system?

     
  • Gianfranco Costamagna

    the curses interface needs only the esc, enter and arrows keys, so easier than what you may think :)

    Ok based on your last comment seems to be that you are reading the menu and every string correctly (just you don't know how to navigate).

    So I may assume this is a bug in gtk library (I don't think the bug is in the ettercap side, since the strings are hard coded and I don't think this is a locale issue since I'm italian and we have the same locale)

     
  • Vlad

    Vlad - 2012-09-03

    Hmm, so what's to be done then?

     
  • Gianfranco Costamagna

    I think you have to report a bug into [1] affecting gtk+ [2] reporting a probable regression and linking this bug.
    If you don't want to report it I can do this for you, but it will be difficult for me contacting upstream developers and you everytime.
    Also link them this bug :)

    many thanks

    [1] https://bugzilla.gnome.org/enter_bug.cgi
    [2] https://bugzilla.gnome.org/browse.cgi?product=gtk%2B

     
  • Vlad

    Vlad - 2012-09-03

    Well, I've no idea how to report and link to issues so I think it would be a lot more productive if you did it. If you comment on here with the issue link, I will follow that one (so you won't have to update me :P)

     
  • Gianfranco Costamagna

    there is no linking of bugs, just post into a comment :)
    this is the bug, please follow it thanks
    https://bugzilla.gnome.org/show_bug.cgi?id=683294

     
  • Vlad

    Vlad - 2012-09-03

    Tracking it, thanks Gianfranco! :D

     
  • Gianfranco Costamagna

    Hi Vlad please answer to the bug tracker on gtk+

     
  • Vlad

    Vlad - 2012-09-10

    I don't know how to install GTK+ demo on Mac :s

     
1 2 > >> (Page 1 of 2)

Log in to post a comment.

MongoDB Logo MongoDB