Dec 7, 2011

[Tutorial] Installing Ettercap-0.7.4-Lazarus in BackTrack-5 R1


This here is a bit detailed steps that I did to get ettercap 0.7.4 working in my Backtrack 5 R1. Please try it and if you get some errors please kindly post it in the comments. I have tried this only in BackTrack 5 R1 (Both fresh and old install), but I guess it will work in other debian-based distros too. So here are the steps.

1) First get the ettercap from here.

2) Untar it.
     tar -xzf ettercap-0.7.4.tar.gz

3) Get the libnet from here


4) Untar libnet.
     tar -xzf libnet-1.1.2.1.tar.gz

5) Cd to the extracted directory.
    cd libnet
    ./configure
    make
    make install

  libnet will be installed.

6) Now lets install the dependencies for ettercap.
    apt-get install libgtk2.0-dev libpango1.0-dev


7) After that cd to the ettercap directory.
     cd ettercap
     ./configure
     make
     make install

If step #7 completed without any problems/errors then you are good to go.

A restart is recommended from my side, as it worked only after I restarted (maybe only for me).

It has worked perfectly for me till now, though its just about 15 mins and I havent played with all the features/options. Only did arp spoofing and sniffed https passwords.

Enjoy!!!  


16 comments:

  1. hi,DEathKnight!!
    many thanks in bt5r1 gnome32 (vbox)
    INSTALLATION PERFECT!!!!!!
    thk

    ReplyDelete
  2. Nice to hear that it worked in vbox too!! I never use vbox so dont have much experience with it. :)
    -DK

    ReplyDelete
  3. Nice tut. Glad everyone is liking the release.

    J0hnnyBrav0

    ReplyDelete
  4. I had always wanted to use ettercap instead of cain and abel
    Infact hehe i dont even know how to use cain and able well though :D
    Neway i shall try to use ettercap from now and i hope you wont mind helping me if i get stuck somewhere
    Can i contact you via email or just here instead if your blog wont look bad with long convo on comments!!!

    ReplyDelete
  5. Will a tutorial be released on using the software?

    ReplyDelete
    Replies
    1. To be honest, I do not have a plan to write tutorial on this site about this software. But I can send you email about using it. Just send me your address.

      Delete
  6. I try following your step but I got ERROR: libtoolize not found. And I dun know why. I install Ettercap 0.7.4.1 on Backtrack 5. Is this error from this version of Backtrack? Will be OK if I try on Backtrack R1 or R2??

    ReplyDelete
    Replies
    1. Yes, it would be better if you use BackTrack 5 R2, as it is the latest and supported version, which contains ettercap by default too.

      But if you ewant to stick to BT 5, then try installing libtoolize, as the error says. :)

      Delete
  7. in step 7 when i make it get some error make[2]: *** [ettercap] Error 1

    ReplyDelete
  8. i m getting this type of problem...........wat shuld i do now can any1 answer it ............










    apt-get install libgtk2.0-dev libpango1.0-dev
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    libgtk2.0-dev: Depends: libgtk2.0-0 (= 2.20.1-0ubuntu2) but 2.20.1-0ubuntu2.1 is to be installed
    E: Broken packages










    this type of msg is occuring ........wat shuld i do .......tell me
    plszzzz

    ReplyDelete
    Replies
    1. Try sudo apt-get update
      and try again.

      if it doesnt work try to change the repo/mirror list and try again.

      Delete
  9. What does untar mean?

    ReplyDelete
    Replies
    1. untar means extracting the tarball, the tar.gz, tar.bz2 etc files.

      Delete
  10. do i lose my data when i install backtrack 4 alongside windows 7 using 'guided install through partition' option. i cannot format my harddisk. and does reaver work in backtrack 4? i couldnt find backtrack 5 in shop

    ReplyDelete
  11. I keep getting this error and I have libnet installed.

    Checking for missing functions...

    checking for strlcpy... (cached) yes
    checking for strlcat... (cached) yes
    checking for strsep... yes
    checking for memmem... yes
    checking for memcmp... yes
    checking for basename... yes
    checking for getopt_long... yes
    checking for strcasestr... yes
    checking for scandir... yes
    checking for inet_aton... yes
    checking for inet_aton in -lresolv... yes

    Checking user defined options...

    checking if --enable-debug option was specified... no
    checking if --enable-plugins option was specified... not supported
    checking for libpcap... yes
    checking for pcap_datalink_val_to_description in -lpcap... yes
    checking for libnet... no
    configure: error: libnet >= 1.1.2.1 not found

    ReplyDelete