Pokaż wyniki 1 do 10 z 10

Temat: ettercap-NG-0.7.3 a gg dissector

  1. #1

    Domyślnie ettercap-NG-0.7.3 a gg dissector

    Witam!
    od początku:
    Mam ubuntu 8.04 na kernelu 2.6.24-21. Ściągnąłem ze strony ettercapa paczkę ettercap-NG-0.7.3.tar.gz, rozpakowałem wszedłem do katalogu i zabieram się za czytanie. Na pierwszy ogień README potem INSTALL. W INSTALL poprosili mnie o wykonanie poniższych komend:
    ./configure
    make
    make isntall
    Configure wykonało sie bez błędów, ale niestety wykonując make wystąpił bład:
    make: *** Nie podano obiektów i nie znaleziono makefile. Stop.
    No to odpalam
    man make
    Trochę poczytawszy szukam pliku Makefile. Wpisuje w konsole
    ls
    znajduje 4 pliki Makefile:
    Makefile.am
    Makefile.am.common
    Makefile.in
    Makefile.mingw.in
    Dalsza lektura 'man make' doprowadza do wpisania komendy:'make -f ...." i wszystkie 4 nazwy plików. Niestety wyskakują błedy.

    Wkurzony odpalam synaptica i szukam pod hasłem ettercap, ku memu zdziwieniu znajduje go i oczywiście installuje. Ettercap odpala się piknie - kupe zabawy z nim.

    No ale przychodzi sedno sprawy installacja gg dissectora. Jak autor zaznacza na http://ettercap-gg.sourceforge.net/ są dwa sposoby instalacji:
    1) poprzez doinstalowanie patcha i skompilowanie ettercapa ponownie
    2) instalacja z paczki rpm
    Jako, że nie potrafie kompilować ettercapa wybieram tą drugą opcje. Ściągam paczke .rpm, programem alien zamieniam ją na *.deb komenda
    alien -k ettercap-NG-0.7.3-gg_dissector_02.i386.rpm
    dwuklik i instaluje. Instalacja kończy się niepowodzeniem z wynikiem:
    dpkg-deb: podproces paste został zabity sygnałem (Broken pipe)
    Proszę o pomoc ponieważ nie wiem co dalej robić. Komendy podane przez autora dissectora na http://ettercap-gg.sourceforge.net/ do instalacji ręcznej patcha nie działają(już pierwsza wywala błąd):
    patch -p0 < ettercap-NG-0.7.3-gg_dissector_02.patch
    can't find file to patch at input line 4
    Perhaps you used the wrong -p or --strip option?
    The text leading up to this was:
    --------------------------
    |diff -Naur ettercap-NG-0.7.3/Makefile.mingw.in ettercap-NG-0.7.3-gg_dissector_02/Makefile.mingw.in
    |--- ettercap-NG-0.7.3/Makefile.mingw.in 2004-11-05 11:14:29.000000000 +0100
    |+++ ettercap-NG-0.7.3-gg_dissector_02/Makefile.mingw.in 2007-06-08 13:21:12.000000000 +0200
    --------------------------
    File to patch:
    wpisuje Makefile.mingw.in
    i:
    cd: No such file or directory
    Skip this patch? [y]
    oczywiście te komendy są odpalane w katalogu rozpakowanej paczki ettercapa do której wkopiowany został uprzednio patch.

    Proszę o pomoc!
    Ostatnio edytowane przez koszyk : 11-12-2008 - 14:58

  2. #2
    Zarejestrowany
    Jun 2006
    Skąd
    rand(.eu)
    Postów
    8,748

    Domyślnie

    Autor disscetor'a pisal tutaj na forum o tym, ze go stworzyl... Moze search w archiwum i poprosic autora o pomoc? ... a moze nadal czyta forum i sam odpowie...
    ctrl-alt-del.cc - soft reset site for IT admins and other staff :-)

  3. #3

    Domyślnie

    no czytałem już ten temat w archiwum:
    http://hack.pl/forum/thread1564,snif...ettercapa.html

    ale za dużo to nie pomaga.
    Napisze maila do autora, ale to było prawie półtora roku temu.
    Ma ktoś może jakieś pomysły jak to uruchomić, bądź robił to kiedykolwiek? Ma ktoś jakieś pomysły jak skompliować ettercapa z konsoli żeby wszystko grało? może jakaś mała pomoc co do komendy 'make'? Ogólnie proszę o pomoc!
    Pozdrawiam

  4. Domyślnie

    Spełniasz wymagania?
    Kod:
       35 MANDATORY:
       36 
       37    - libpcap >= 0.8.1
       38    - libnet  >= 1.1.2.1 
       39    - libpthread
       40    - zlib

  5. #5

    Domyślnie

    pierwsze co to zainstalowałem wymagane biblioteki i do ettercapa i gg dissectora...instalowałem je głownie z synaptica, a jeśli czegoś nie wiedziałem to zaraz sprawdzałem w google, ogólnie instalowałem więcej bibliotek jeśli było potrzeba. Właściwie to miałem problemy z GTK+ bo nie wiedziałem czy instalować GTK1 czy GTK2, ale zresztą te biblioteki, które wymieniłeś są wymagane przez ettercapa, a on mi śmiga pięknie, nawet graficzne GUI, także chyba to nie to.

    Wydaje mi się, że ja po prostu robię coś, źle podczas kompilacji. Zresztą configure powinno chyba sprawdzić wszystkie biblioteki, a nie wywaliło żadnego błędu.

    A zna ktoś komendy jak sprawdzić czy dane biblioteki mam zainstalowane, bo może coś mi się pomyliło i czegoś przypadkiem nie zainstalowałem.
    Pozdrawiam i dzięki za zainteresowanie.

  6. #6

    Domyślnie

    Odnosnie recznego aplikowana patcha

    Cytat Napisał koszyk Zobacz post
    oczywiście te komendy są odpalane w katalogu rozpakowanej paczki ettercapa do której wkopiowany został uprzednio patch.
    I tu wlasnie robisz blad. Patch i polecenie maja byc w katalogu nadrzednym. Czyli jesli ettercap jest w np /home/progs/ettercap, to patch i komenda w katalogu /home/progs

    Zas co do instalacji, przyjrzyj sie dokladnie co wypisuje configure, bo chyba jednak nie przechodzi prawidlowo skoro nie tworzy tego wlasciwiego Makefile.
    Ostatnio edytowane przez rist : 11-12-2008 - 21:54

  7. #7

    Domyślnie

    Super! dzięki rist patchowanie zadziałało!

    Kod:
    $ patch -p0 < ettercap-NG-0.7.3-gg_dissector_02.patch
    patching file ettercap-NG-0.7.3/Makefile.mingw.in
    patching file ettercap-NG-0.7.3/share/etter.conf
    patching file ettercap-NG-0.7.3/src/dissectors/ec_gg.c
    patching file ettercap-NG-0.7.3/src/Makefile.am
    patching file ettercap-NG-0.7.3/src/Makefile.in
    a teraz to co wywala mi ./configure odpalany z katalogu w którym jest ettercap
    Kod:
    $ ./configure
    checking whether to enable maintainer-specific portions of Makefiles... no
    
    Configuring ettercap NG-0.7.3...
    
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables... 
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ANSI C... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether make sets $(MAKE)... (cached) yes
    checking how to run the C preprocessor... gcc -E
    checking for egrep... grep -E
    checking whether gcc needs -traditional... no
    checking if your compiler supports __VA_ARGS__ in macro declarations... yes
    checking for bison... no
    checking for byacc... no
    checking for flex... no
    checking for lex... no
    checking for yywrap in -lfl... no
    checking for yywrap in -ll... no
    checking for a sed that does not truncate output... /bin/sed
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking whether ln -s works... yes
    checking how to recognise dependent libraries... pass_all
    checking for ANSI C header files... yes
    .
    .
    .
    checking for dlfcn.h... yes
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking how to run the C++ preprocessor... g++ -E
    checking for g77... no
    checking for f77... no
    checking for xlf... no
    checking for frt... no
    checking for pgf77... no
    checking for fort77... no
    checking for fl32... no
    checking for af77... no
    checking for f90... no
    checking for xlf90... no
    checking for pgf90... no
    checking for epcf90... no
    checking for f95... no
    checking for fort... no
    checking for xlf95... no
    checking for ifc... no
    checking for efc... no
    checking for pgf95... no
    checking for lf95... no
    checking for gfortran... no
    checking whether we are using the GNU Fortran 77 compiler... no
    checking whether  accepts -g... no
    checking the maximum length of command line arguments... 32768
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking for correct ltmain.sh version... yes
    checking if gcc static flag  works... yes
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc supports -c -o file.o... yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking for shl_load... no
    checking for shl_load in -ldld... no
    checking for dlopen... no
    checking for dlopen in -ldl... yes
    checking whether a program can dlopen itself... yes
    checking whether a statically linked program can dlopen itself... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    configure: creating libtool
    appending configuration tag "CXX" to libtool
    checking for ld used by g++... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC
    checking if g++ PIC flag -fPIC works... yes
    checking if g++ supports -c -o file.o... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking for shl_load... (cached) no
    checking for shl_load in -ldld... (cached) no
    checking for dlopen... (cached) no
    checking for dlopen in -ldl... (cached) yes
    checking whether a program can dlopen itself... (cached) yes
    checking whether a statically linked program can dlopen itself... (cached) yes
    appending configuration tag "F77" to libtool
    checking for library containing dlopen... -ldl
    checking for an ANSI C-conforming const... yes
    checking for dirent.h that defines DIR... yes
    checking for library containing opendir... none required
    checking which extension is used for loadable modules... .so
    checking which variable specifies run-time library path... LD_LIBRARY_PATH
    checking for the default library search path... /lib /usr/lib
    checking for objdir... .libs
    checking whether libtool supports -dlopen/-dlpreopen... yes
    checking for shl_load... (cached) no
    checking for shl_load in -ldld... (cached) no
    checking for dlopen in -ldl... (cached) yes
    checking for dlerror... yes
    checking for _ prefix in compiled symbols... no
    checking whether deplibs are loaded by dlopen... yes
    checking argz.h usability... yes
    .
    .
    .
    checking stdio.h presence... yes
    checking for stdio.h... yes
    checking for unistd.h... (cached) yes
    checking dl.h usability... no
    checking dl.h presence... no
    checking for dl.h... no
    checking sys/dl.h usability... no
    checking sys/dl.h presence... no
    checking for sys/dl.h... no
    checking dld.h usability... no
    checking dld.h presence... no
    checking for dld.h... no
    checking mach-o/dyld.h usability... no
    checking mach-o/dyld.h presence... no
    checking for mach-o/dyld.h... no
    checking for string.h... (cached) yes
    checking for strchr... yes
    .
    .
    .
    checking for readdir... yes
    checking for library containing lt_dlopen... -lltdl
    checking for dlfcn.h... (cached) yes
    checking ltdl.h usability... yes
    checking ltdl.h presence... yes
    checking for ltdl.h... yes
    checking whether byte ordering is bigendian... no
    checking for ANSI C header files... (cached) yes
    checking whether time.h and sys/time.h may both be included... yes
    checking for dirent.h that defines DIR... (cached) yes
    checking for library containing opendir... (cached) none required
    checking for unistd.h... (cached) yes
    .
    .
    .
    checking for NS_GET32... yes
    checking whether struct tm is in sys/time.h or time.h... time.h
    checking for pid_t... yes
    checking for size_t... yes
    checking for an ANSI C-conforming const... (cached) yes
    checking return type of signal handlers... void
    checking for vprintf... yes
    checking for _doprnt... no
    checking for library containing pthread_create... -lpthread
    checking whether gcc accepts -pthread... yes
    checking for getifaddrs... yes
    checking for gettimeofday... yes
    checking for vsnprintf... yes
    checking for select... yes
    checking for poll... yes
    checking for strdup... yes
    checking for strerror... yes
    checking for strstr... yes
    checking for strsignal... yes
    checking for strtok_r... yes
    checking for uname... yes
    checking for daemon... yes
    
    Checking for required libraries...
    
    checking for library containing gethostbyname... none required
    checking for library containing socket... none required
    checking for library containing poll... none required
    checking for library containing gzopen... -lz
    checking for library containing dn_expand... -lresolv
    checking for additional -lresolv needed by dn_expand... not needed
    
    Checking for missing functions...
    
    checking for strlcpy... no
    checking for strlcat... no
    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... yes by default
    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
    :

    Więc jednak mieliście racje że czegoś brakuje,,,
    Ale, ale... synaptic pokazuje, że mam zainstalowaną libnet6-1.3-0.
    To jest to samo? Czy wtedy muszę odinstalować i zainstalować jakąś starszą bibliotekę. W wymaganiach pisze, że mogę mieć nowsze wersje.

  8. #8
    Zarejestrowany
    Jun 2006
    Skąd
    rand(.eu)
    Postów
    8,748

    Domyślnie

    Chodzilo o to, ze potrzebujesz nie tylko wspoldzielona biblioteke (binarke) ale rowniez czesc developerska (naglowki i moze jakies zrodla).

    Potrzebujesz pakiet (tutaj akurat z mojego ubuntu odpowiedz):
    Kod:
    libnet6-1.3-dev - Network access framework for IPv4/IPv6 - development files
    ctrl-alt-del.cc - soft reset site for IT admins and other staff :-)

  9. #9

    Domyślnie

    Kod:
    ettercap has been configured as follow...
    
    ==================================================
    
     Install directory:  /usr/local
    
    
    Libraries : 
    
     LIBPCAP ................  default
     LIBNET .................  default
     LIBSSL .................  default
     NCURSES ................  NO
     GTK+ ...................  yes
    
    Functionalities : 
    
     Debug mode .............  no
     Plugin support .........  yes
     Passive DNS ............  yes
     Perl regex in filters ..  no
     Iconv UTF-8 support ....  yes
    
    ==================================================
    No i gitarka zainstalowane. Dzięki za pomoc Panowie! zaraz obcykam czy działa.

    PS. NCURSES i Perl regex in filters potrzebują swoich bibliotek jak rozumiem, żeby zadziałaly tak?

    EDIT:

    No więc tak, zainstalowałem ettercapa, odpaliłem go no i niestety działa gorzej niż przedtem. Ilość pakietów opuszczonych wynosi jakieś 98%, co przy 0% przedtem coś musi być nie tak. Nie wiem, na dziś już mam dosyć. Ale jedno pytanie: instalując program z innym ustawieniami na jedną wersje już zainstalowaną to czy będzie działał poprawnie? Słyszałem, że pod linuchem tak słodko nie jest jak pod łindą z takim sprawami i trzeba odinstalować program, tylko pytanie jak go odinstalować? z Synaptica?
    Pozdro
    Ostatnio edytowane przez koszyk : 11-13-2008 - 00:34

  10. Domyślnie

    Co dokladnie zmieniales w pliku etter.conf po instalacji ? Jakiego polecenia i parametrow uzywasz w lini polecen, aby uruchomic ettercapa ?

Podobne wątki

  1. Wireshark dissector Gadu - Gadu
    By ylem in forum Komunikatory
    Odpowiedzi: 1
    Autor: 08-22-2008, 21:48
  2. ettercap
    By kuki13 in forum Wardriving
    Odpowiedzi: 3
    Autor: 07-12-2008, 16:37
  3. Ettercap-gg, Uap, sniffery, Wireshark
    By NoeXpl in forum Komunikatory
    Odpowiedzi: 0
    Autor: 05-13-2008, 17:16
  4. Ettercap - no poisoning between...
    By cautionhot in forum Wardriving
    Odpowiedzi: 0
    Autor: 04-21-2008, 14:22
  5. ettercap
    By ezaris in forum TCP/IP/Analiza/Badanie
    Odpowiedzi: 2
    Autor: 08-04-2007, 15:18

Zasady Postowania

  • Nie możesz zakładać nowych tematów
  • Nie możesz pisać wiadomości
  • Nie możesz dodawać załączników
  • Nie możesz edytować swoich postów
  •  
Subskrybuj