Guest User

Untitled

a guest
Apr 3rd, 2014
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.70 KB | None | 0 0
  1. root@toadstool:~# uname -a
  2. Linux toadstool 3.12-kali1-686-pae #1 SMP Debian 3.12.6-2kali1 (2014-01-06) i686 GNU/Linux
  3. root@toadstool:~# echo 'plugging card in'
  4. plugging card in
  5. root@toadstool:~# dmesg | grep rt2
  6. [22083.179252] ieee80211 phy2: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected
  7. [22083.207370] ieee80211 phy2: rt2x00_set_rf: Info - RF chipset 5370 detected
  8. [22083.291821] ieee80211 phy2: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
  9. [22083.291899] rt2800usb 5-6:1.0: firmware: direct-loading firmware rt2870.bin
  10. [22083.291915] ieee80211 phy2: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29
  11. root@toadstool:~# airmon-ng check kill
  12.  
  13.  
  14. Found 3 processes that could cause trouble.
  15. If airodump-ng, aireplay-ng or airtun-ng stops working after
  16. a short period of time, you may want to kill (some of) them!
  17. -e
  18. PID Name
  19. 2494 dhclient
  20. 2569 NetworkManager
  21. 2725 wpa_supplicant
  22. Killing all those processes...
  23. root@toadstool:~# airmon-ng start wlan1
  24.  
  25.  
  26. Interface Chipset Driver
  27.  
  28. wlan0 Atheros AR9285 ath9k - [phy0]
  29. wlan1 Ralink RT2870/3070 rt2800usb - [phy2]
  30. (monitor mode enabled on mon0)
  31.  
  32. root@toadstool:~# airodump-ng --channel 6 mon0
  33.  
  34. CH 6 ][ Elapsed: 12 s ][ 2014-04-03 15:27
  35. CH 6 ][ Elapsed: 12 s ][ 2014-04-03 15:27
  36. CH 6 ][ Elapsed: 2 mins ][ 2014-04-03 15:29 ][ WPA handshake: xx:xx:xx:xx:xx:xx
  37. <trimmed airodump-ng output>
  38.  
  39.  
  40. root@toadstool:~# ifconfig mon0
  41. mon0 Link encap:UNSPEC HWaddr xx-xx-xx-xx-xx-xx-00-00-00-00-00-00-00-00-00-00
  42. UP BROADCAST NOTRAILERS RUNNING PROMISC ALLMULTI MTU:1500 Metric:1
  43. RX packets:18949 errors:0 dropped:1175 overruns:0 frame:0
  44. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  45. collisions:0 txqueuelen:1000
  46. RX bytes:2905472 (2.7 MiB) TX bytes:0 (0.0 B)
  47.  
  48.  
  49. root@toadstool:~# airbase-ng --channel 6 -e testnet mon0 <works!!!>
  50. 15:29:34 Created tap interface at0
  51. 15:29:34 Trying to set MTU on at0 to 1500
  52. 15:29:34 Trying to set MTU on mon0 to 1800
  53. 15:29:34 Access Point with BSSID xx:xx:xx:xx:xx:xx started.
  54. ^C
  55. root@toadstool:~# airbase-ng -c 6 -e testnet mon0 <still works, checking for bad --channel vs -c switch handling>
  56. 15:29:50 Created tap interface at0
  57. 15:29:50 Trying to set MTU on at0 to 1500
  58. 15:29:50 Access Point with BSSID xx:xx:xx:xx:xx:xx started.
  59. ^C
  60. root@toadstool:~# airmon-ng stop mon0
  61.  
  62.  
  63. Interface Chipset Driver
  64.  
  65. wlan0 Atheros AR9285 ath9k - [phy0]
  66. mon0 Ralink RT2870/3070 rt2800usb - [phy2] (removed)
  67. wlan1 Ralink RT2870/3070 rt2800usb - [phy2]
  68.  
  69. root@toadstool:~# ifconfig
  70. eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
  71. inet addr:x.x.x.x Bcast:x.x.x.x Mask:x.x.x.x
  72. inet6 addr: xxxx::xxxx:xxxx:xxxx:xxxx/64 Scope:Link
  73. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  74. RX packets:49530 errors:0 dropped:0 overruns:0 frame:0
  75. TX packets:14954 errors:0 dropped:0 overruns:0 carrier:1
  76. collisions:0 txqueuelen:1000
  77. RX bytes:8043803 (7.6 MiB) TX bytes:1249553 (1.1 MiB)
  78.  
  79. lo Link encap:Local Loopback
  80. inet addr:127.0.0.1 Mask:255.0.0.0
  81. inet6 addr: ::1/128 Scope:Host
  82. UP LOOPBACK RUNNING MTU:65536 Metric:1
  83. RX packets:948697 errors:0 dropped:0 overruns:0 frame:0
  84. TX packets:948697 errors:0 dropped:0 overruns:0 carrier:0
  85. collisions:0 txqueuelen:0
  86. RX bytes:147579461 (140.7 MiB) TX bytes:147579461 (140.7 MiB)
  87.  
  88. root@toadstool:~# ifconfig wlan1 up
  89. root@toadstool:~# ifconfig wlan1
  90. wlan1 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
  91. UP BROADCAST MULTICAST MTU:1500 Metric:1
  92. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  93. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  94. collisions:0 txqueuelen:1000
  95. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  96.  
  97. root@toadstool:~# airmon-ng check
  98. root@toadstool:~# airmon-ng check kill
  99. root@toadstool:~# airmon-ng start wlan1 6
  100.  
  101.  
  102. Interface Chipset Driver
  103.  
  104. wlan0 Atheros AR9285 ath9k - [phy0]
  105. wlan1 Ralink RT2870/3070 rt2800usb - [phy2]
  106. (monitor mode enabled on mon0)
  107.  
  108. root@toadstool:~# airbase-ng -c 6 -e testnet mon0
  109. 15:31:24 Created tap interface at0
  110. 15:31:24 Trying to set MTU on at0 to 1500
  111. 15:31:24 Trying to set MTU on mon0 to 1800
  112. 15:31:24 Access Point with BSSID xx:xx:xx:xx:xx:xx started.
  113. Error: Got channel -1, expected a value > 0.
Advertisement
Add Comment
Please, Sign In to add comment