stai su una vm? il make che errori ti da?
dai un occhiata QUI all'ultimo post di lezan. i driver consigliati sono quei due come c'è scritto anche nel sito ufficiale di aircrack-ng
ciao![]()
ciao a tutti,
c'è qualcuno che è riuscito a far funzionare l'iniezione di pacchetti con questa scheda?
in pratica, a me risulta funzionare l'injection solo con gli attacchi -0 e -1 , tutti gli altri attacchi non vanno!
Ho provato a scaricare ipwraw ma quando lancio il comando make , saltano fuori un sacco di errori.
potete aiutarmi?
grazie tante!!
guardate:
root@bt:~# aireplay-ng -9 -i wlan0 mon0
13:24:22 Trying broadcast probe requests...
13:24:22 Injection is working!
13:24:24 Found 2 APs
13:24:24 Trying directed probe requests...
13:24:24 00:18:4D:CF:95:FC - channel: 11 - '******'
13:24:24 Ping (min/avg/max): 0.260ms/3.430ms/7.135ms Power: -74.52
13:24:24 29/30: 96%
13:24:24 00:18:F8:A9:A1:BD - channel: 6 - ''
13:24:24 Ping (min/avg/max): 0.848ms/2.986ms/15.096ms Power: -33.97
13:24:24 30/30: 100%
13:24:24 Trying card-to-card injection...
13:24:24 Attack -0: OK
13:24:24 Attack -1 (open): OK
13:24:24 Attack -1 (psk): OK
13:24:28 Attack -2/-3/-4/-6: Failed
13:24:33 Attack -5/-7: Failed
grazie ancora
stai su una vm? il make che errori ti da?
dai un occhiata QUI all'ultimo post di lezan. i driver consigliati sono quei due come c'è scritto anche nel sito ufficiale di aircrack-ng
ciao![]()
Avevo già visto quella discussione..
io utilizzo bt4 i persisten mode con una penna usb da 8GB.
gli errori che mi da sono troppi..ti faccio vedere un pezzo del listato con gli errori:
root@bt:~/ipwraw-ng# make
make -C /lib/modules/2.6.30.9/build M=/root/ipwraw-ng modules
make[1]: Entering directory `/usr/src/linux-source-2.6.30.9'
WARNING: Symbol version dump /usr/src/linux-source-2.6.30.9/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /root/ipwraw-ng/ipwraw.o
/root/ipwraw-ng/ipwraw.c:43:27: error: net/ieee80211.h: No such file or directory
In file included from /root/ipwraw-ng/ipwraw.h:51,
from /root/ipwraw-ng/ipwraw.c:48:
/root/ipwraw-ng/iwlwifi_hw.h:525: error: array type has incomplete element type
/root/ipwraw-ng/iwlwifi_hw.h:847: error: array type has incomplete element type
In file included from /root/ipwraw-ng/ipwraw.c:48:
/root/ipwraw-ng/ipwraw.h:531: error: field ‘frame’ has incomplete type
/root/ipwraw-ng/ipwraw.h:532: error: ‘IEEE80211_FRAME_LEN’ undeclared here (not in a function)
/root/ipwraw-ng/ipwraw.c: In function ‘frame_get_hdrlen’:
/root/ipwraw-ng/ipwraw.c:52: error: ‘IEEE80211_3ADDR_LEN’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:52: error: (Each undeclared identifier is reported only once
/root/ipwraw-ng/ipwraw.c:52: error: for each function it appears in.)
/root/ipwraw-ng/ipwraw.c:53: error: implicit declaration of function ‘WLAN_FC_GET_STYPE’
/root/ipwraw-ng/ipwraw.c:55: error: implicit declaration of function ‘WLAN_FC_GET_TYPE’
/root/ipwraw-ng/ipwraw.c:56: error: ‘IEEE80211_FTYPE_DATA’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:57: error: ‘IEEE80211_FCTL_FROMDS’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:57: error: ‘IEEE80211_FCTL_TODS’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:58: error: ‘IEEE80211_4ADDR_LEN’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:59: error: ‘IEEE80211_STYPE_QOS_DATA’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:62: error: ‘IEEE80211_FTYPE_CTL’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:64: error: ‘IEEE80211_STYPE_CTS’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:65: error: ‘IEEE80211_STYPE_ACK’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:66: error: ‘IEEE80211_1ADDR_LEN’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:69: error: ‘IEEE80211_2ADDR_LEN’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function ‘is_channel_a_band’:
/root/ipwraw-ng/ipwraw.c:1709: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function ‘is_channel_bg_band’:
/root/ipwraw-ng/ipwraw.c:1714: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function ‘store_channel’:
/root/ipwraw-ng/ipwraw.c:1878: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:1884: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function ‘store_band’:
/root/ipwraw-ng/ipwraw.c:1926: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:1927: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function ‘ipw_get_channel_info’:
/root/ipwraw-ng/ipwraw.c:3284: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:3294: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function ‘reg_get_chnl_grp_index’:
/root/ipwraw-ng/ipwraw.c:3489: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function ‘ipw_init_channel_map’:
/root/ipwraw-ng/ipwraw.c:4111: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:4112: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function ‘ipw_post_alive_work’:
/root/ipwraw-ng/ipwraw.c:4248: error: ‘IEEE80211_OFDM_DEFAULT_RATES_MASK’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:4249: error: ‘IEEE80211_OFDM_BASIC_RATES_MASK’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:4250: error: ‘IEEE80211_CCK_DEFAULT_RATES_MASK’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:4251: error: ‘IEEE80211_CCK_BASIC_RATES_MASK’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function ‘ipw_queue_tx_free_tfd’:
/root/ipwraw-ng/ipwraw.c:5974: error: implicit declaration of function ‘ieee80211_get_hdrlen’
/root/ipwraw-ng/ipwraw.c:5974: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c: In function ‘raw_rx’:
/root/ipwraw-ng/ipwraw.c:6396: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:6406: error: ‘ETH_P_80211_RAW’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: At top level:
/root/ipwraw-ng/ipwraw.c:6416: warning: ‘struct ieee80211_rx_stats’ declared inside parameter list
/root/ipwraw-ng/ipwraw.c:6416: warning: its scope is only this definition or declaration, which is probably not what you want
/root/ipwraw-ng/ipwraw.c: In function ‘ipw_handle_data_packet’:
.
.
.
.
.
/root/ipwraw-ng/ipwraw.c:7422: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7423: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7427: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7427: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_FCTL_STYPE’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7427: error: ‘IEEE80211_STYPE_PROBE_RESP’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7430: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7435: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7439: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7491: warning: passing argument 3 of ‘ipw_build_tx_cmd_basic’ from incompatible pointer type
/root/ipwraw-ng/ipwraw.c:7493: warning: passing argument 3 of ‘ipw_build_tx_cmd_rate’ from incompatible pointer type
/root/ipwraw-ng/ipwraw.c: In function ‘ipw_net_hard_start_xmit’:
/root/ipwraw-ng/ipwraw.c:7562: error: invalid application of ‘sizeof’ to incomplete type ‘struct ieee80211_hdr_1addr’
/root/ipwraw-ng/ipwraw.c:7581: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_FCTL_FTYPE’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_FTYPE_MGMT’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7581: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_FCTL_STYPE’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7581: error: ‘IEEE80211_STYPE_PROBE_RESP’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:7582: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7583: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c:7586: error: dereferencing pointer to incomplete type
/root/ipwraw-ng/ipwraw.c: In function ‘ipw_prom_alloc’:
/root/ipwraw-ng/ipwraw.c:8374: error: ‘ARPHRD_IEEE80211_RADIOTAP’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function ‘ipw_wx_set_freq’:
/root/ipwraw-ng/ipwraw.c:8517: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:8523: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c: In function ‘ipw_pci_probe’:
/root/ipwraw-ng/ipwraw.c:8870: error: ‘IEEE80211_52GHZ_BAND’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:8872: error: ‘IEEE80211_24GHZ_BAND’ undeclared (first use in this function)
/root/ipwraw-ng/ipwraw.c:8902: error: ‘ARPHRD_IEEE80211’ undeclared (first use in this function)
make[2]: *** [/root/ipwraw-ng/ipwraw.o] Error 1
make[1]: *** [_module_/root/ipwraw-ng] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.30.9'
make: *** [modules] Error 2
questo è quasi tutto il testo con gli errori.
cosa posso fare?
grazie
dai un occhiata QUI, i drivers ipwraw sono obsoleti../root/ipwraw-ng/ipwraw.c:43:27: error: net/ieee80211.h: No such file or directory
ora stai usando gli iwl3945?
sul FORUM di aircrack-ng dicono che da luglio 2008 i drivers compat-wireless non hanno bisogno di patch per l'injection.
vedi se trovi qualcosa di interessante, io c'ho dato un occhiata ma ora ho un pò da fare
ciao!
Ciao,
i driver che utilizzo sono quello installati di fabbrica (iwl3945).
ieri ho provato ad installare i compat-wireless e dopo tante prove non sono riuscito a sostituire i driver iwl3945, comunque sono riuscito a far funzionare tutti gli attacchi solo una volta, poi al riavvio è tornato tutto normale.
Ora dovrei fare altri tentativi..
se c'è una soluzione migliore e più sicura fatemi sapere.
grazie e a presto!!!
ho riavviato bt4 e ho abilitato il monitor mode 2 volte sulla mia scheda wifi.
ho dato il comando
aireplay-ng -9 -i mon1 mon0
ed è venuto fuori questo:
oot@bt:~# aireplay-ng -9 -i mon1 mon0
For information, no action required: Using gettimeofday() instead of /dev/rtc
17:01:09 Trying broadcast probe requests...
17:01:11 No Answer...
17:01:11 Found 1 AP
17:01:11 Trying directed probe requests...
17:01:11 00:18:F8:A9:A1:BD - channel: 6 - ''
17:01:17 0/30: 0%
17:01:17 Trying card-to-card injection...
17:01:17 Attack -0: OK
17:01:17 Attack -1 (open): OK
17:01:17 Attack -1 (psk): OK
17:01:17 Attack -2/-3/-4/-6: OK
17:01:21 Attack -5/-7: Failed
17:01:21 Injection is working!
ho verificato sul mio AP l'iniezione di pacchetti...ma niente da fare. Non funziona!!!
i driver sono sempre quelli di fabbrica, non sò come si rimpiazzano con quelli compat-wireless-2.6.30
fatemi sapere.
grazie!!!
PS: ho installato i compat-wireless in questo modo:
ho estratto l'archivio
poi dopo essere entrato nella directory compat-wireless
ho dato i comandi
make
make install
make unload
make load
poi ho riavviato (al riavvio è apparso un errore riferito alla wlan0 che non sono riuscito a leggere)
poi dopo il riavvio da termilale ho digitato
modprobe ath5k
basta..non ho fatto altro.
i driver restano sempre quelli iwl3945.
a presto
Ciao,
non c'è modo di far funzionare questa scheda?!
nel frattempo ho acquistato un ALFA AWUS036H.
che va alla grande.
fatemi sapere se qualcuno ci riesce.
buona PASQUA a tutti!!!
mi sa che sbagli a fare il test
questa è una prova da Ubuntu
Code:tani@xxx-laptop:~$ sudo airmon-ng start wlan0 Found 5 processes that could cause trouble. If airodump-ng, aireplay-ng or airtun-ng stops working after a short period of time, you may want to kill (some of) them! PID Name 925 NetworkManager 935 avahi-daemon 937 avahi-daemon 1070 wpa_supplicant 5922 dhclient Process with PID 5922 (dhclient) is running on interface wlan0 Interface Chipset Driver wlan0 Intel 3945ABG iwl3945 - [phy0] (monitor mode enabled on mon0) tani@xxx-laptop:~$ sudo aireplay-ng -9 -i mon0 mon0 06:09:57 Trying broadcast probe requests... 06:09:57 Injection is working! 06:09:59 Found 1 AP 06:09:59 Trying directed probe requests... 06:09:59 **:**:**:**:**:** - channel: 11 - '***********' 06:10:02 Ping (min/avg/max): 0.937ms/90.654ms/114.946ms Power: -47.93 06:10:02 30/30: 100% 06:10:02 Trying card-to-card injection... 06:10:02 Attack -0: OK 06:10:02 Attack -1 (open): OK 06:10:02 Attack -1 (psk): OK 06:10:02 Attack -2/-3/-4/-6: OK 06:10:02 Attack -5/-7: OK tani@xxx-laptop:~$
Last edited by Massimog; 05-02-2010 at 04:23 AM.
Acer 5920G con Vista Home Premium + Ubuntu 9.10 Karmic Koala+Back-Track4-final