|
|
|
|
Mc_Roy

Desconectado
Mensajes: 31
|
 |
« Respuesta #2 : 03-06-2007, 00:06:33 (Domingo) » |
|
Yo lo acabo de instalar, no se si con lo que ha dicho el compañero valdra, prueba por si acaso. Si no te funciona prueba lo siguiente: Descarga: http://www.tcpdump.org/release/libpcap-0.9.5.tar.gzDescarga: http://www.cdc.informatik.tu-darmstadt.de/aircrack-ptw/download/aircrack-ptw-1.0.0.tar.gzCopia esos archivos en /root por ejemplo. Ahora toca abrir la consola e ir ejecutando lo que esta en negrita: wifislax ~ # tar xvzf libpcap-0.9.5.tar.gz libpcap-0.9.5/./ libpcap-0.9.5/./Chmo dBPF/ libpcap-0.9.5/./ChmodBPF/ChmodBPF libpcap-0.9.5/./ChmodBPF/StartupParameters.plist libpcap-0.9.5/./.cvsignore libpcap-0.9.5/./CHANGES libpcap-0.9.5/./CREDITS libpcap-0.9.5/./FILES libpcap-0.9.5/./INSTALL.txt libpcap-0.9.5/./LICENSE libpcap-0.9.5/./Makefile.in libpcap-0.9.5/./README libpcap-0.9.5/./README.Win32 libpcap-0.9.5/./README.aix libpcap-0.9.5/./README.dag libpcap-0.9.5/./README.hpux libpcap-0.9.5/./README.linux libpcap-0.9.5/./README.macosx libpcap-0.9.5/./README.septel libpcap-0.9.5/./README.tru64 libpcap-0.9.5/./TODO libpcap-0.9.5/./VERSION libpcap-0.9.5/./acconfig.h libpcap-0.9.5/./aclocal.m4 libpcap-0.9.5/./arcnet.h libpcap-0.9.5/./atmuni31.h libpcap-0.9.5/./bpf_dump.c libpcap-0.9.5/./bpf_image.c libpcap-0.9.5/./config.guess libpcap-0.9.5/./config.h.in libpcap-0.9.5/./config.sub libpcap-0.9.5/./configure libpcap-0.9.5/./configure.in libpcap-0.9.5/./etherent.c libpcap-0.9.5/./ethertype.h libpcap-0.9.5/./fad-getad.c libpcap-0.9.5/./fad-gifc.c libpcap-0.9.5/./fad-glifc.c libpcap-0.9.5/./fad-null.c libpcap-0.9.5/./fad-win32.c libpcap-0.9.5/./gencode.c libpcap-0.9.5/./gencode.h libpcap-0.9.5/./grammar.y libpcap-0.9.5/./inet.c libpcap-0.9.5/./install-sh libpcap-0.9.5/./llc.h libpcap-0.9.5/./mkdep libpcap-0.9.5/./nametoaddr.c libpcap-0.9.5/./nlpid.h libpcap-0.9.5/./optimize.c libpcap-0.9.5/./pcap-bpf.c libpcap-0.9.5/./pcap-bpf.h libpcap-0.9.5/./pcap-dag.c libpcap-0.9.5/./pcap-dag.h libpcap-0.9.5/./pcap-dlpi.c libpcap-0.9.5/./pcap-dos.c libpcap-0.9.5/./pcap-dos.h libpcap-0.9.5/./pcap-enet.c libpcap-0.9.5/./pcap-int.h libpcap-0.9.5/./pcap-linux.c libpcap-0.9.5/./pcap-namedb.h libpcap-0.9.5/./pcap-nit.c libpcap-0.9.5/./pcap-nit.h libpcap-0.9.5/./pcap-null.c libpcap-0.9.5/./pcap-pf.c libpcap-0.9.5/./pcap-pf.h libpcap-0.9.5/./pcap-septel.c libpcap-0.9.5/./pcap-septel.h libpcap-0.9.5/./pcap-snit.c libpcap-0.9.5/./pcap-snoop.c libpcap-0.9.5/./pcap-stdinc.h libpcap-0.9.5/./pcap-win32.c libpcap-0.9.5/./pcap.3 libpcap-0.9.5/./pcap.c libpcap-0.9.5/./pcap.h libpcap-0.9.5/./pcap1.h libpcap-0.9.5/./pf.h libpcap-0.9.5/./ppp.h libpcap-0.9.5/./savefile.c libpcap-0.9.5/./scanner.l libpcap-0.9.5/./sll.h libpcap-0.9.5/./sunatmpos.h libpcap-0.9.5/./SUNOS4/ libpcap-0.9.5/./SUNOS4/nit_if.o.sparc libpcap-0.9.5/./SUNOS4/nit_if.o.sun3 libpcap-0.9.5/./SUNOS4/nit_if.o.sun4c.4.0.3c libpcap-0.9.5/./Win32/ libpcap-0.9.5/./Win32/Include/ libpcap-0.9.5/./Win32/Include/addrinfo.h libpcap-0.9.5/./Win32/Include/Gnuc.h libpcap-0.9.5/./Win32/Include/arpa/ libpcap-0.9.5/./Win32/Include/arpa/nameser.h libpcap-0.9.5/./Win32/Include/net/ libpcap-0.9.5/./Win32/Include/net/if.h libpcap-0.9.5/./Win32/Include/net/netdb.h libpcap-0.9.5/./Win32/Include/net/paths.h libpcap-0.9.5/./Win32/Include/bittypes.h libpcap-0.9.5/./Win32/Include/cdecl_ext.h libpcap-0.9.5/./Win32/Include/inetprivate.h libpcap-0.9.5/./Win32/Include/ip6_misc.h libpcap-0.9.5/./Win32/Include/sockstorage.h libpcap-0.9.5/./Win32/Prj/ libpcap-0.9.5/./Win32/Prj/libpcap.dsp libpcap-0.9.5/./Win32/Prj/libpcap.dsw libpcap-0.9.5/./Win32/Src/ libpcap-0.9.5/./Win32/Src/getnetbynm.c libpcap-0.9.5/./Win32/Src/ffs.c libpcap-0.9.5/./Win32/Src/gai_strerror.c libpcap-0.9.5/./Win32/Src/getaddrinfo.c libpcap-0.9.5/./Win32/Src/getnetent.c libpcap-0.9.5/./Win32/Src/getopt.c libpcap-0.9.5/./Win32/Src/getservent.c libpcap-0.9.5/./Win32/Src/inet_aton.c libpcap-0.9.5/./Win32/Src/inet_net.c libpcap-0.9.5/./Win32/Src/inet_pton.c libpcap-0.9.5/./bpf/ libpcap-0.9.5/./bpf/net/ libpcap-0.9.5/./bpf/net/bpf_filter.c libpcap-0.9.5/./doc/ libpcap-0.9.5/./doc/pcap.html libpcap-0.9.5/./doc/pcap.txt libpcap-0.9.5/./doc/pcap.xml libpcap-0.9.5/./lbl/ libpcap-0.9.5/./lbl/os-aix4.h libpcap-0.9.5/./lbl/os-hpux11.h libpcap-0.9.5/./lbl/os-osf4.h libpcap-0.9.5/./lbl/os-osf5.h libpcap-0.9.5/./lbl/os-solaris2.h libpcap-0.9.5/./lbl/os-sunos4.h libpcap-0.9.5/./lbl/os-ultrix4.h libpcap-0.9.5/./missing/ libpcap-0.9.5/./missing/snprintf.c libpcap-0.9.5/./msdos/ libpcap-0.9.5/./msdos/common.dj libpcap-0.9.5/./msdos/bin2c.c libpcap-0.9.5/./msdos/makefile libpcap-0.9.5/./msdos/makefile.dj libpcap-0.9.5/./msdos/makefile.wc libpcap-0.9.5/./msdos/ndis2.c libpcap-0.9.5/./msdos/ndis2.h libpcap-0.9.5/./msdos/ndis_0.asm libpcap-0.9.5/./msdos/pkt_rx0.asm libpcap-0.9.5/./msdos/pkt_rx1.s libpcap-0.9.5/./msdos/pktdrvr.c libpcap-0.9.5/./msdos/pktdrvr.h libpcap-0.9.5/./msdos/readme.dos libpcap-0.9.5/./packaging/ libpcap-0.9.5/./packaging/pcap.spec libpcap-0.9.5/./packaging/pcap.spec.in wifislax ~ # cd li libpcap-0.9.5/ libpcap-0.9.5.tar.gz wifislax ~ # cd libpcap-0.9.5 wifislax libpcap-0.9.5 # ./configure --prefix=/usr checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target 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 gcc version... 3 checking for inline... inline checking for __attribute__... yes checking for u_int8_t using gcc... yes checking for u_int16_t using gcc... yes checking for u_int32_t using gcc... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/ioccom.h usability... no checking sys/ioccom.h presence... no checking for sys/ioccom.h... no checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for netinet/if_ether.h... yes checking for ANSI ioctl definitions... yes checking for strerror... yes checking for strlcpy... no checking for vsnprintf... yes checking for snprintf... yes checking for library containing gethostbyname... none required checking for library containing socket... none required checking for library containing putmsg... none required checking for ether_hostton... yes checking whether ether_hostton is declared... no checking netinet/ether.h usability... yes checking netinet/ether.h presence... yes checking for netinet/ether.h... yes checking whether ether_hostton is declared... yes checking if --disable-protochain option is specified... enabled checking packet capture type... linux checking for getifaddrs... yes checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking if --enable-ipv6 option is specified... no checking whether to build optimizer debugging code... no checking whether to build parser debugging code... no checking Linux kernel version... 2 checking if if_packet.h has tpacket_stats defined... yes checking whether we have /proc/net/dev... yes checking whether we have DAG API headers... no (/usr/local/include) checking whether we have Septel API... no checking for flex... flex checking for flex 2.4 or higher... yes checking for bison... bison checking for ranlib... ranlib checking if sockaddr struct has sa_len member... no checking if sockaddr_storage struct exists... yes checking if dl_hp_ppa_info_t struct has dl_module_id_1 member... no checking if unaligned accesses fail... no checking for a BSD-compatible install... /usr/bin/ginstall -c configure: creating ./config.status config.status: creating Makefile config.status: creating config.h wifislax libpcap-0.9.5 # su -c 'make install-shared' gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap-linux.c gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./fad-getad.c sed -e 's/.*/static const char pcap_version_string[] = "libpcap version &";/' ./VERSION > version.h gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap.c gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./inet.c gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./gencode.c gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./optimize.c gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./nametoaddr.c gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./etherent.c gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./savefile.c rm -f bpf_filter.c ln -s ./bpf/net/bpf_filter.c bpf_filter.c gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c bpf_filter.c gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./bpf_image.c gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./bpf_dump.c flex -Ppcap_ -t scanner.l > $$.scanner.c; mv $$.scanner.c scanner.c bison -y -p pcap_ -d grammar.y mv y.tab.c grammar.c mv y.tab.h tokdefs.h gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c scanner.c gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -Dyylval=pcap_lval -c grammar.c sed -e 's/.*/char pcap_version[] = "&";/' ./VERSION > version.c gcc -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c version.c ld -shared -o libpcap.so.`cat VERSION` pcap-linux.o fad-getad.o pcap.o inet.o gencode.o optimize.o nametoaddr.o etherent.o savefile.o bpf_filter.o bpf_image.o bpf_dump.o scanner.o grammar.o version.o /usr/bin/ginstall -c libpcap.so.`cat VERSION` /usr/lib/libpcap.so.`cat VERSION`
wifislax libpcap-0.9.5 # su -c 'rm /usr/lib/libpcap.so; ln -s libpcap.so.0.9.5 /usr/lib/libpcap.so' wifislax libpcap-0.9.5 # su -c '/sbin/ldconfig' wifislax libpcap-0.9.5 # make && make install Ahora viene lo que de verdad es instalar el programilla: wifislax ~ #tar xvzf aircrack-ptw-1.0.0.tar.gz wifislax ~ # cd aircrack-ptw-1.0.0 wifislax aircrack-ptw-1.0.0 # gcc -o aircrack-ptw -Wall -fomit-frame-pointer -O3 -lpcap aircrack-ptw.c aircrack-ptw-lib.c
wifislax aircrack-ptw-1.0.0 # gcc -o attacksim -Wall -fomit-frame-pointer -O3 -lpcap attacksim.c aircrack-ptw-lib.c
En la carpeta aircrack-ptw-1.0.0, tendras el aircrack-ptw, lo puedes copiar a la carpeta root y asi ejecutarlo directamente desde la consola wifislax ~ # aircrack-ptwEspero que te sirva. un saludo PD: la parte de como compilar esl libpcape es cortesia *dudux (espero que no te importe) http://foro.elhacker.net/index.php/topic,161395.0.html
|
|
|
|
|
En línea
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*dudux
crustchaos orKöpunK
Moderador Global
     
Desconectado
Mensajes: 4990

|
 |
« Respuesta #9 : 05-06-2007, 13:16:36 (Martes) » |
|
abris un terminal y creais un script................. nano instalador_aircrack-ptw.sh"copias todo lo que hay en el recuadro de abajo" CTRL + O GUARDAAS ,para salir ctrl+X y intro chmod 777 instalador_aircrack-ptw.sh
./instalador_aircrack-ptw.shTENIENDO INTERNET..................... SIN TENER INTERNET HABIENDONOS BAJADO LOS 2 PAQUETES.......... # MODIFICAR VUESTRA UNIDAD.......se ve con el comando : df cd /mnt/sdb1_removable cp aircrack-ptw-1.0.0.tar.gz /root cp libpcap-0.9.5.tar.gz /root cd /root wget http://www.tcpdump.org/release/libpcap-0.9.5.tar.gztar xvzf libpcap-0.9.5.tar.gz cd libpcap-0.9.5 ./configure --prefix=/usr su -c 'make install-shared' su -c 'rm /usr/lib/libpcap.so; ln -s libpcap.so.0.9.5 /usr/lib/libpcap.so' su -c '/sbin/ldconfig' cd /root wget http://www.cdc.informatik.tu-darmstadt.de/aircrack-ptw/download/aircrack-ptw-1.0.0.tar.gztar -zxvf aircrack-ptw-1.0.0.tar.gz cd aircrack-ptw-1.0.0 make clean && make cp aircrack-ptw /usr/bin/ echo "" echo "" echo "Disfruta de Wifislax y del nuevo aircrack-ptw........" echo " con 50.000 ivs un cifrado WEP de 128 bits.." echo " *dudux para Wifislax"
|
|
|
|
|
En línea
|
Mandamelo por privado
|
|
|
eraso71

Desconectado
Mensajes: 10
|
 |
« Respuesta #10 : 18-09-2007, 01:32:45 (Martes) » |
|
Hola Tengo wifislax 3.1 en liveCD en donde esta el script para usar el aircrack-ptw ? Saludos usar el script que hay para wifislax.........
sino teneis internet son añadir 2 lineas........y meter el aircrack-ptw y las libpcap en el /mnt/sdaX
|
|
|
|
|
En línea
|
|
|
|
|
|
|
|
karlitro

Desconectado
Mensajes: 8
|
 |
« Respuesta #13 : 09-11-2008, 18:32:05 (Domingo) » |
|
#cd /mnt/live/memory/images/root.mo/pentest/wireless/ cd /root wget http://www.tcpdump.org/release/libpcap-0.9.5.tar.gztar xvzf libpcap-0.9.5.tar.gz cd libpcap-0.9.5 ./configure --prefix=/usr su -c 'make install-shared' su -c 'rm /usr/lib/libpcap.so; ln -s libpcap.so.0.9.5 /usr/lib/libpcap.so' su -c '/sbin/ldconfig' ................ cuando ejecuto la linea de ./configure --prefix=/usr
todo va bien ... hasta ke me aparece ... checking for capable lex... insufficient configure: error: Your operating system's lex is insufficient to compile libpcap. flex is a lex replacement that has many advantages, including being able to compile libpcap. For more information, see http://www.gnu.org/software/flex/flex.html .Que sera??
|
|
|
|
|
En línea
|
|
|
|
|
|
karlitro

Desconectado
Mensajes: 8
|
 |
« Respuesta #15 : 11-11-2008, 23:46:35 (Martes) » |
|
jajajajajajajajajaja creo que estaba cometiendo un error, bueno Sr ChimoC ojala ahora me puda ayudar... estoy ejecutando el Wifislax desde un CD Live (descargado desde esta maravillosa pagina  ) Quiero dejar activado mi wifi del portatil , y leyendo y leyendo veo que esta la instalacion pero necesito estar conectado a internet , cosa que tampoco puedo. El internet por cable no me lo reconoce el CD Live. Que sera? Tengo que instalarlo completo ?? ayuda plz 
|
|
|
|
|
En línea
|
|
|
|
|
|
|
|
|
|
|
|