Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Linux kali 3.12.36 #1 PREEMPT Fri Apr 10 23:27:49 CDT 2015 armv6l
- The programs included with the Kali GNU/Linux system are free software;
- the exact distribution terms for each program are described in the
- individual files in /usr/share/doc/*/copyright.
- Kali GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
- permitted by applicable law.
- Last login: Wed Jul 29 22:44:08 2015 from kali.lan
- root@kali:~# ls
- authorized_keys Desktop Downloads Pictures Templates
- backup Documents Music Public Videos
- root@kali:~# ifconfig
- eth0 Link encap:Ethernet HWaddr b8:xx:xx:xx:xx:xx
- inet addr:1.1.2.240 Bcast:1.1.2.255 Mask:255.255.255.0
- inet6 addr: xxxx::xxxx:xxxx:xxxx:xxxx/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:2725 errors:0 dropped:0 overruns:0 frame:0
- TX packets:227 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:134659 (131.5 KiB) TX bytes:24479 (23.9 KiB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
- wlan6 Link encap:Ethernet HWaddr 00:xx:xx:xx:xx:xx
- UP BROADCAST MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
- root@kali:~# lsusb
- Bus 001 Device 014: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter
- Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
- Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
- Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- root@kali:~# iwconfig wlan6
- wlan6 IEEE 802.11bg ESSID:off/any
- Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
- Retry long limit:7 RTS thr:off Fragment thr:off
- Encryption key:off
- Power Management:off
- root@kali:~# airmon-ng
- PHY Interface Driver Chipset
- phy1 wlan6 rtl8187 Realtek Semiconductor Corp. RTL8187
- root@kali:~# airmon-ng start wlan6
- Found 3 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
- 1512 dhclient
- 1897 NetworkManager
- 1976 wpa_supplicant
- PHY Interface Driver Chipset
- phy1 wlan6 rtl8187 Realtek Semiconductor Corp. RTL8187
- Failed to set wlan6mon up using ip
- command failed: No such device (-19)
- (mac80211 monitor mode vif enabled for [phy1]wlan6 on [phy1]wlan6mon)
- (mac80211 station mode vif disabled for [phy1]wlan6)
- root@kali:~# apt-get remove aircrack
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- E: Unable to locate package aircrack
- root@kali:~# apt-get remove aircrack-ng
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following package was automatically installed and is no longer required:
- ieee-data
- Use 'apt-get autoremove' to remove it.
- The following packages will be REMOVED:
- aircrack-ng
- 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
- After this operation, 1,517 kB disk space will be freed.
- Do you want to continue [Y/n]? Y
- (Reading database ... 79343 files and directories currently installed.)
- Removing aircrack-ng ...
- Processing triggers for man-db ...
- root@kali:~# mkdir aircrack
- root@kali:~# cd aircrack
- root@kali:~/aircrack# wget http://download.aircrack-ng.org/aircrack-ng-1.2-rc1.tar.gz
- --2015-08-16 17:28:40-- http://download.aircrack-ng.org/aircrack-ng-1.2-rc1.tar.gz
- Resolving download.aircrack-ng.org (download.aircrack-ng.org)... 87.98.255.2, 2001:41d0:1:1b00:87:98:255:2
- Connecting to download.aircrack-ng.org (download.aircrack-ng.org)|87.98.255.2|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 2046476 (2.0M) [application/x-gzip]
- Saving to: `aircrack-ng-1.2-rc1.tar.gz'
- 100%[======================================>] 2,046,476 1.15M/s in 1.7s
- 2015-08-16 17:28:42 (1.15 MB/s) - `aircrack-ng-1.2-rc1.tar.gz' saved [2046476/2046476]
- root@kali:~/aircrack# sudo apt-get install libnl-genl-3-dev libnl-3-dev libssl-dev -y
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- libssl-dev is already the newest version.
- The following package was automatically installed and is no longer required:
- ieee-data
- Use 'apt-get autoremove' to remove it.
- Suggested packages:
- libnl3-doc
- The following NEW packages will be installed:
- libnl-3-dev libnl-genl-3-dev
- 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
- Need to get 58.7 kB of archives.
- After this operation, 338 kB of additional disk space will be used.
- Get:1 http://http.kali.org/kali/ kali/main libnl-3-dev armel 3.2.7-4 [47.0 kB]
- Get:2 http://http.kali.org/kali/ kali/main libnl-genl-3-dev armel 3.2.7-4 [11.7 kB]
- Fetched 58.7 kB in 1s (57.9 kB/s)
- Selecting previously unselected package libnl-3-dev.
- (Reading database ... 79280 files and directories currently installed.)
- Unpacking libnl-3-dev (from .../libnl-3-dev_3.2.7-4_armel.deb) ...
- Selecting previously unselected package libnl-genl-3-dev.
- Unpacking libnl-genl-3-dev (from .../libnl-genl-3-dev_3.2.7-4_armel.deb) ...
- Setting up libnl-3-dev (3.2.7-4) ...
- Setting up libnl-genl-3-dev (3.2.7-4) ...
- root@kali:~/aircrack# ls
- aircrack-ng-1.2-rc1.tar.gz
- root@kali:~/aircrack# tar -zxvf aircrack-ng-1.2-rc1.tar.gz
- #
- root@kali:~/aircrack# ls
- aircrack-ng-1.2-rc1 aircrack-ng-1.2-rc1.tar.gz
- root@kali:~/aircrack# cd aircrack-ng-1.2-rc1
- root@kali:~/aircrack/aircrack-ng-1.2-rc1# ls
- AUTHORS evalrev LICENSE manpages README src
- ChangeLog INSTALLING LICENSE.OpenSSL packages README.md test
- common.mak lib Makefile patches scripts VERSION
- root@kali:~/aircrack/aircrack-ng-1.2-rc1# make
- /bin/sh: 1: pkg-config: not found
- /bin/sh: 1: pkg-config: not found
- /bin/sh: 1: pkg-config: not found
- /bin/sh: 1: pkg-config: not found
- /bin/sh: 1: pkg-config: not found
- common.mak:100: *** Cannot find development files for any supported version of libnl. install either libnl1 or libnl3.. Stop.
- root@kali:~/aircrack/aircrack-ng-1.2-rc1# apt-get install pkg-config
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following package was automatically installed and is no longer required:
- ieee-data
- Use 'apt-get autoremove' to remove it.
- The following NEW packages will be installed:
- pkg-config
- 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
- Need to get 56.8 kB of archives.
- After this operation, 168 kB of additional disk space will be used.
- Get:1 http://http.kali.org/kali/ kali/main pkg-config armel 0.26-1 [56.8 kB]
- Fetched 56.8 kB in 0s (62.9 kB/s)
- Selecting previously unselected package pkg-config.
- (Reading database ... 79383 files and directories currently installed.)
- Unpacking pkg-config (from .../pkg-config_0.26-1_armel.deb) ...
- Processing triggers for man-db ...
- Setting up pkg-config (0.26-1) ...
- root@kali:~/aircrack/aircrack-ng-1.2-rc1# apt-get install libnl3-dev
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- Package libnl3-dev is not available, but is referred to by another package.
- This may mean that the package is missing, has been obsoleted, or
- is only available from another source
- However the following packages replace it:
- libnl-3-dev
- E: Package 'libnl3-dev' has no installation candidate
- root@kali:~/aircrack/aircrack-ng-1.2-rc1# apt-get autoremove
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following packages will be REMOVED:
- ieee-data
- 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
- After this operation, 4,149 kB disk space will be freed.
- Do you want to continue [Y/n]? Y
- (Reading database ... 79394 files and directories currently installed.)
- Removing ieee-data ...
- Processing triggers for man-db ...
- root@kali:~/aircrack/aircrack-ng-1.2-rc1# apt-get -y install libnl1
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following NEW packages will be installed:
- libnl1
- 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
- Need to get 121 kB of archives.
- After this operation, 348 kB of additional disk space will be used.
- Get:1 http://http.kali.org/kali/ kali/main libnl1 armel 1.1-7 [121 kB]
- Fetched 121 kB in 1s (100 kB/s)
- Selecting previously unselected package libnl1:armel.
- (Reading database ... 79381 files and directories currently installed.)
- Unpacking libnl1:armel (from .../libnl1_1.1-7_armel.deb) ...
- Setting up libnl1:armel (1.1-7) ...
- root@kali:~/aircrack/aircrack-ng-1.2-rc1# make
- make -C src all
- make[1]: Entering directory `/root/aircrack/aircrack-ng-1.2-rc1/src'
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o aircrack-ng.o aircrack-ng.c
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o crypto.o crypto.c
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o common.o common.c
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o uniqueiv.o uniqueiv.c
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o aircrack-ptw-lib.o aircrack-ptw-lib.c
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude aircrack-ng.o crypto.o common.o uniqueiv.o aircrack-ptw-lib.o sha1-sse2.S -o aircrack-ng -lpthread -lssl -lcrypto
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o airdecap-ng.o airdecap-ng.c
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude airdecap-ng.o crypto.o common.o -o airdecap-ng -lssl -lcrypto
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o packetforge-ng.o packetforge-ng.c
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude packetforge-ng.o common.o crypto.o -o packetforge-ng -lssl -lcrypto
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o ivstools.o ivstools.c
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude ivstools.o common.o crypto.o uniqueiv.o -o ivstools -lssl -lcrypto
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o kstats.o kstats.c
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude kstats.o -o kstats
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o makeivs-ng.o makeivs-ng.c
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude makeivs-ng.o common.o uniqueiv.o -o makeivs-ng
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o airdecloak-ng.o airdecloak-ng.c
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o osdep/radiotap/radiotap.o osdep/radiotap/radiotap.c
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude airdecloak-ng.o common.o osdep/radiotap/radiotap.o -o airdecloak-ng
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o wpaclean.o wpaclean.c
- make -C osdep
- make[2]: Entering directory `/root/aircrack/aircrack-ng-1.2-rc1/src/osdep'
- Building for Linux
- make[3]: Entering directory `/root/aircrack/aircrack-ng-1.2-rc1/src/osdep'
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -fPIC -I.. -c -o osdep.o osdep.c
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -fPIC -I.. -c -o network.o network.c
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -fPIC -I.. -c -o file.o file.c
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -fPIC -I.. -c -o linux.o linux.c
- linux.c: In function ‘error_handler’:
- linux.c:373:46: warning: unused parameter ‘nla’ [-Wunused-parameter]
- linux.c: In function ‘test_callback’:
- linux.c:382:42: warning: unused parameter ‘msg’ [-Wunused-parameter]
- linux.c:382:53: warning: unused parameter ‘arg’ [-Wunused-parameter]
- linux.c: In function ‘linux_set_channel_nl80211’:
- linux.c:1030:5: warning: implicit declaration of function ‘if_nametoindex’ [-Wimplicit-function-declaration]
- linux.c:955:18: warning: unused variable ‘wrq’ [-Wunused-variable]
- linux.c: At top level:
- linux.c:373:12: warning: ‘error_handler’ defined but not used [-Wunused-function]
- linux.c:382:13: warning: ‘test_callback’ defined but not used [-Wunused-function]
- linux.c:1067:12: warning: ‘linux_set_channel’ defined but not used [-Wunused-function]
- linux.c:2066:13: warning: ‘linux_close’ defined but not used [-Wunused-function]
- linux.c: In function ‘do_linux_open’:
- linux.c:184:14: warning: ‘iwpriv’ may be used uninitialized in this function [-Wuninitialized]
- linux.c:1620:11: note: ‘iwpriv’ was declared here
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -fPIC -I.. -c -o linux_tap.o linux_tap.c
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -fPIC -I.. -c -o common.o common.c
- ar cru libosdep.a osdep.o network.o file.o linux.o linux_tap.o radiotap/radiotap.o common.o
- ranlib libosdep.a
- touch .os.Linux
- make[3]: Leaving directory `/root/aircrack/aircrack-ng-1.2-rc1/src/osdep'
- make[2]: Leaving directory `/root/aircrack/aircrack-ng-1.2-rc1/src/osdep'
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude wpaclean.o osdep/radiotap/radiotap.o -o wpaclean -Losdep -losdep -lnl-genl-3 -lnl-3
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o besside-ng-crawler.o besside-ng-crawler.c
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude besside-ng-crawler.o -o besside-ng-crawler -lpcap
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o aireplay-ng.o aireplay-ng.c
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude aireplay-ng.o common.o crypto.o osdep/radiotap/radiotap.o -o aireplay-ng -Losdep -losdep -lnl-genl-3 -lnl-3 -lssl -lcrypto
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o airodump-ng.o airodump-ng.c
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude airodump-ng.o common.o crypto.o uniqueiv.o osdep/radiotap/radiotap.o -o airodump-ng -Losdep -losdep -lnl-genl-3 -lnl-3 -lssl -lcrypto -lpthread
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o airserv-ng.o airserv-ng.c
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude airserv-ng.o common.o osdep/radiotap/radiotap.o -o airserv-ng -Losdep -losdep -lnl-genl-3 -lnl-3
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o airtun-ng.o airtun-ng.c
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude airtun-ng.o common.o crypto.o osdep/radiotap/radiotap.o -o airtun-ng -Losdep -losdep -lnl-genl-3 -lnl-3 -lssl -lcrypto
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o airbase-ng.o airbase-ng.c
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude airbase-ng.o common.o crypto.o osdep/radiotap/radiotap.o -o airbase-ng -Losdep -losdep -lnl-genl-3 -lnl-3 -lssl -lcrypto -lpthread
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o besside-ng.o besside-ng.c
- gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude besside-ng.o crypto.o common.o osdep/radiotap/radiotap.o aircrack-ptw-lib.o -o besside-ng -Losdep -losdep -lnl-genl-3 -lnl-3 -lssl -lcrypto -lz
- make[1]: Leaving directory `/root/aircrack/aircrack-ng-1.2-rc1/src'
- root@kali:~/aircrack/aircrack-ng-1.2-rc1# make install
- make -C src all
- make[1]: Entering directory `/root/aircrack/aircrack-ng-1.2-rc1/src'
- make[1]: Nothing to be done for `all'.
- make[1]: Leaving directory `/root/aircrack/aircrack-ng-1.2-rc1/src'
- make -C src install
- make[1]: Entering directory `/root/aircrack/aircrack-ng-1.2-rc1/src'
- make -C osdep install
- make[2]: Entering directory `/root/aircrack/aircrack-ng-1.2-rc1/src/osdep'
- Building for Linux
- make[3]: Entering directory `/root/aircrack/aircrack-ng-1.2-rc1/src/osdep'
- make[3]: `.os.Linux' is up to date.
- make[3]: Leaving directory `/root/aircrack/aircrack-ng-1.2-rc1/src/osdep'
- make[2]: Leaving directory `/root/aircrack/aircrack-ng-1.2-rc1/src/osdep'
- install -d /usr/local/bin
- install -m 755 aircrack-ng airdecap-ng packetforge-ng ivstools kstats makeivs-ng airdecloak-ng wpaclean besside-ng-crawler /usr/local/bin
- install -d /usr/local/sbin
- install -m 755 aireplay-ng airodump-ng airserv-ng airtun-ng airbase-ng besside-ng /usr/local/sbin
- make[1]: Leaving directory `/root/aircrack/aircrack-ng-1.2-rc1/src'
- make -C scripts install
- make[1]: Entering directory `/root/aircrack/aircrack-ng-1.2-rc1/scripts'
- install -m 755 airodump-ng-oui-update /usr/local/sbin
- install -m 755 airmon-ng airmon-zc /usr/local/sbin
- make[1]: Leaving directory `/root/aircrack/aircrack-ng-1.2-rc1/scripts'
- make -C manpages install
- make[1]: Entering directory `/root/aircrack/aircrack-ng-1.2-rc1/manpages'
- make cleanfiles sqlite=true unstable=true
- make[2]: Entering directory `/root/aircrack/aircrack-ng-1.2-rc1/manpages'
- rm -f /usr/local/share/man/man1/aircrack-ng.1
- rm -f /usr/local/share/man/man1/airdecap-ng.1
- rm -f /usr/local/share/man/man1/ivstools.1
- rm -f /usr/local/share/man/man1/kstats.1
- rm -f /usr/local/share/man/man1/makeivs-ng.1
- rm -f /usr/local/share/man/man1/packetforge-ng.1
- rm -f /usr/local/share/man/man1/airdecloak-ng.1
- rm -f /usr/local/share/man/man1/wpaclean.1
- rm -f /usr/local/share/man/man1/besside-ng-crawler.1
- rm -f /usr/local/share/man/man1/airolib-ng.1
- rm -f /usr/local/share/man/man1/buddy-ng.1
- rm -f /usr/local/share/man/man8/airdriver-ng.8
- rm -f /usr/local/share/man/man8/aireplay-ng.8
- rm -f /usr/local/share/man/man8/airmon-ng.8
- rm -f /usr/local/share/man/man8/airodump-ng.8
- rm -f /usr/local/share/man/man8/airserv-ng.8
- rm -f /usr/local/share/man/man8/airtun-ng.8
- rm -f /usr/local/share/man/man8/airbase-ng.8
- rm -f /usr/local/share/man/man8/airodump-ng-oui-update.8
- rm -f /usr/local/share/man/man8/besside-ng.8
- rm -f /usr/local/share/man/man8/tkiptun-ng.8
- rm -f /usr/local/share/man/man8/easside-ng.8
- rm -f /usr/local/share/man/man8/wesside-ng.8
- rm -f /usr/local/share/man/man8/airmon-zc.8
- make[2]: Leaving directory `/root/aircrack/aircrack-ng-1.2-rc1/manpages'
- install -d /usr/local/share/man/man1
- install -d /usr/local/share/man/man8
- install -m 644 aircrack-ng.1 airdecap-ng.1 ivstools.1 kstats.1 makeivs-ng.1 packetforge-ng.1 airdecloak-ng.1 wpaclean.1 besside-ng-crawler.1 /usr/local/share/man/man1
- install -m 644 airdriver-ng.8 aireplay-ng.8 airmon-ng.8 airodump-ng.8 airserv-ng.8 airtun-ng.8 airbase-ng.8 airodump-ng-oui-update.8 besside-ng.8 /usr/local/share/man/man8
- make[1]: Leaving directory `/root/aircrack/aircrack-ng-1.2-rc1/manpages'
- [*] Run 'airodump-ng-oui-update' as root (or with sudo) to install or update Airodump-ng OUI file (Internet connection required).
- root@kali:~/aircrack/aircrack-ng-1.2-rc1# cd /
- root@kali:/# airmon-ng check kill
- -bash: /usr/sbin/airmon-ng: No such file or directory
- root@kali:/# aireplay-ng
- Aireplay-ng 1.2 rc1 - (C) 2006-2013 Thomas d'Otreppe
- http://www.aircrack-ng.org
- usage: aireplay-ng <options> <replay interface>
- Filter options:
- -b bssid : MAC address, Access Point
- -d dmac : MAC address, Destination
- -s smac : MAC address, Source
- -m len : minimum packet length
- -n len : maximum packet length
- -u type : frame control, type field
- -v subt : frame control, subtype field
- -t tods : frame control, To DS bit
- -f fromds : frame control, From DS bit
- -w iswep : frame control, WEP bit
- -D : disable AP detection
- Replay options:
- -x nbpps : number of packets per second
- -p fctrl : set frame control word (hex)
- -a bssid : set Access Point MAC address
- -c dmac : set Destination MAC address
- -h smac : set Source MAC address
- -g value : change ring buffer size (default: 8)
- -F : choose first matching packet
- Fakeauth attack options:
- -e essid : set target AP SSID
- -o npckts : number of packets per burst (0=auto, default: 1)
- -q sec : seconds between keep-alives
- -Q : send reassociation requests
- -y prga : keystream for shared key auth
- -T n : exit after retry fake auth request n time
- Arp Replay attack options:
- -j : inject FromDS packets
- Fragmentation attack options:
- -k IP : set destination IP in fragments
- -l IP : set source IP in fragments
- Test attack options:
- -B : activates the bitrate test
- Source options:
- -i iface : capture packets from this interface
- -r file : extract packets from this pcap file
- Miscellaneous options:
- -R : disable /dev/rtc usage
- --ignore-negative-one : if the interface's channel can't be determined,
- ignore the mismatch, needed for unpatched cfg80211
- Attack modes (numbers can still be used):
- --deauth count : deauthenticate 1 or all stations (-0)
- --fakeauth delay : fake authentication with AP (-1)
- --interactive : interactive frame selection (-2)
- --arpreplay : standard ARP-request replay (-3)
- --chopchop : decrypt/chopchop WEP packet (-4)
- --fragment : generates valid keystream (-5)
- --caffe-latte : query a client for new IVs (-6)
- --cfrag : fragments against a client (-7)
- --migmode : attacks WPA migration mode (-8)
- --test : tests injection and quality (-9)
- --help : Displays this usage screen
- No replay interface specified.
- root@kali:/# locate airmon-ng
- locate: warning: database `/var/cache/locate/locatedb' is more than 8 days old (actual age is 17.5 days)
- /usr/sbin/airmon-ng
- /usr/share/man/man8/airmon-ng.8.gz
- root@kali:/usr/sbin# export PATH=~/usr/sbin:$PATH
- root@kali:/usr/sbin# airmon-ng
- Interface Chipset Driver
- wlan6 Realtek RTL8187L rtl8187 - [phy1]
- root@kali:/usr/sbin# airmon-ng start wlan6
- Found 3 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!
- -e
- PID Name
- 1512 dhclient
- 1897 NetworkManager
- 1976 wpa_supplicant
- Interface Chipset Driver
- wlan6 Realtek RTL8187L rtl8187 - [phy1]
- (monitor mode enabled on mon0)
- root@kali:/usr/sbin# airmon-ng check kill
- Found 3 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!
- -e
- PID Name
- 1512 dhclient
- 1897 NetworkManager
- 1976 wpa_supplicant
- Killing all those processes...
- root@kali:/usr/sbin# airodump-ng mon0
- CH 6 ][ Elapsed: 36 s ][ 2015-08-16 18:09
- BSSID PWR Beacons #Data, #/s CH MB ENC CIPHER AUTH ESSID
- 00:xx:xx:xx:xx:xx -30 88 2 0 7 54e. WPA2 CCMP PSK dxxxxxxx
- 84:xx:xx:xx:xx:xx -63 11 0 0 1 54e. OPN Fxxxxxxxxxxx
- 84:xx:xx:xx:xx:xx -63 17 0 0 1 54e. WPA2 CCMP PSK Zxxxxxx
- 00:xx:xx:xx:xx:xx -70 7 2 0 11 54e. WPA2 TKIP PSK Dxxxxxxxxxxxxxx
- 00:xx:xx:xx:xx:xx -70 2 1 0 11 54 WPA2 CCMP PSK <length: 14>
- BSSID STATION PWR Rate Lost Frames Probe
- 00:xx:xx:xx:xx:xx xx:xx:xx:xx:xx:xx -1 1e- 0 0 2
- root@kali:/usr/sbin# wifite
- .;' `;,
- .;' ,;' `;, `;, WiFite v2 (r87)
- .;' ,;' ,;' `;, `;, `;,
- :: :: : ( ) : :: :: automated wireless auditor
- ':. ':. ':. /_\ ,:' ,:' ,:'
- ':. ':. /___\ ,:' ,:' designed for Linux
- ':. /_____\ ,:'
- / \
- [+] scanning for wireless devices...
- [+] initializing scan (mon0), updates at 5 sec intervals, CTRL+C when ready.
- [0:00:05] scanning wireless networks. 0 targets and 0 clients found
- [0:01:24] scanning wireless networks. 8 targets and 4 clients found
- [+] scanning (mon0), updates at 5 sec intervals, CTRL+C when ready.
- NUM ESSID CH ENCR POWER WPS? CLIENT
- --- -------------------- -- ---- ----- ---- ------
- 1 dxxxxxxx 7 WPA2 72db no client
- 2 Zxxxxxxx 1 WPA2 37db no client
- 3 axxxxxx 1 WPA2 32db no
- 4 (00:xx:xx:xx:xx:xx) 11 WPA2 31db no
- 5 Zxxxxxxx 6 WPA2 31db no
- 6 Dxxxxxxxxxxx 11 WPA2 31db no
- 7 Gxxxxxxxxx 6 WPA2 30db wps client
- 8 Txxxxxxxxxxxxx 11 WPA2 29db wps
- [0:01:24] scanning wireless networks. 8 targets and 4 clients found
- [+] checking for WPS compatibility... done
- NUM ESSID CH ENCR POWER WPS? CLIENT
- --- -------------------- -- ---- ----- ---- ------
- 1 dxxxxxxxx 7 WPA2 72db no client
- 2 Zxxxxxxxx 1 WPA2 37db no client
- 3 axxxxxx 1 WPA2 32db no
- 4 (xx:xx:xx:xx:xx:xx) 11 WPA2 31db no
- 5 Zxxxxxxxx 6 WPA2 31db no
- 6 Dxxxxxxxxxxxx 11 WPA2 31db no
- 7 Gxxxxxxxxx 6 WPA2 30db wps client
- 8 Txxxxxxxxxxxx 11 WPA2 29db wps
- [+] select target numbers (1-8) separated by commas, or 'all': ^C
- (^C) interrupted
- [+] quitting
- root@kali:/usr/sbin# wifite-ng
- .;' `;,
- .;' ,;' `;, `;, WiFite v2 (r112)
- .;' ,;' ,;' `;, `;, `;,
- :: :: : ( ) : :: :: automated wireless auditor
- ':. ':. ':. /_\ ,:' ,:' ,:'
- ':. ':. /___\ ,:' ,:' designed for Linux
- ':. /_____\ ,:'
- / \
- modified by aanarchyy(aanarchyy@gmail.com)
- Credits to wiire,DataHead,soxrok2212,nxxxu,nuroo
- [+] scanning for wireless devices...
- [+] initializing scan (mon0), updates at 5 sec intervals, CTRL+C when ready.
- [0:00:04] scanning wireless networks. 0 targets and 0 clients found
- [+] scanning (mon0), updates at 5 sec intervals, CTRL+C when ready.
- NUM ESSID CH ENCR POWER WPS? CLIENT
- --- -------------------- -- ---- ----- ---- ------
- 1 dxxxxxxx 7 WPA2 67db no
- 2 Zxxxxxxx 1 WPA2 35db wps
- 3 axxxxx 1 WPA2 32db wps
- 4 Cxxxxxxxxxxxxxx 5 WPA2 32db wps
- 5 Txxxxxxxxxxxx 11 WPA2 30db no
- [0:00:05] scanning wireless networks. 5 targets and 1 client found
- [+] scanning (mon0), updates at 5 sec intervals, CTRL+C when ready.
- NUM ESSID CH ENCR POWER WPS? CLIENT
- --- -------------------- -- ---- ----- ---- ------
- 1 dxxxxxxx 7 WPA2 67db no
- 2 Zxxxxxxx 1 WPA2 35db wps
- 3 axxxxx 1 WPA2 32db wps
- 4 Cxxxxxxxxxxxxx 5 WPA2 32db wps
- 5 Txxxxxxxxxxxx 11 WPA2 30db no
- [0:00:07] scanning wireless networks. 5 targets and 1 client found
- [0:00:44] scanning wireless networks. 7 targets and 1 client found
- [+] checking for WPS compatibility... done
- NUM ESSID CH ENCR POWER WPS? CLIENT
- --- -------------------- -- ---- ----- ---- ------
- 1 xxxxxxxx 7 WPA2 72db no
- 2 Zxxxxxxxx 1 WPA2 37db wps
- 3 Cxxxxxxxxxxxxx 5 WPA2 32db wps
- 4 axxxxxx 1 WPA2 32db wps
- 5 Zxxxxxxx 6 WPA2 31db wps
- 6 Dxxxxxxxxxxxx 11 WPA2 31db no
- 7 Txxxxxxxxxxxx 11 WPA2 30db wps
- [+] select target numbers (1-7) separated by commas, or 'all': 4
- [+] 1 target selected.
- [+] Run 1
- [0:00:00] initializing PixieWPS attack on xxxxxxx (xx:xx:xx:xx:xx:xx)
- [+] E-Nonce found
- [+] PKE hash found
- [+] Manufacturer:
- [+] Model Name: Wireless N Router
- [+] Model Number: xxx-xx1
- [+] Serial: xxxxxxxxxx-xxxx
- [+] PKR hash found
- [+] Authkey found
- [+] E-Hash1 found
- [+] E-Hash2 found
- [+] Cracking using pixiewps...
- [+] Pixiewps attack failed!
- [0:08:20] starting wpa handshake capture on "xxxx"
- [0:07:28] listening for handshake...
- (^C) WPA handshake capture interrupted
- [+] 2 attacks completed:
- [+] 0/2 WPA attacks succeeded
- [+] quitting
- root@kali:/usr/sbin#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement