connect wireless with command

来源:互联网 发布:淘宝卖家店名 编辑:程序博客网 时间:2024/06/06 00:17
root@security:/home/offensive# ifconfig wlan0 up
root@security:/home/offensive# airmon-ng start wlan0
root@security:/home/offensive# iwconfig
lo        no wireless extensions.

mon0      IEEE 802.11bgn  Mode:Monitor  Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:on
          
wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated   
          Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:off
          
eth0      no wireless extensions.
 root@security:/home/offensive# airodump-ng mon0
 CH  7 ][ Elapsed: 0 s ][ 2014-09-11 10:13                                         
                                                                                           
 BSSID              PWR  Beacons    #Data, #/s  CH  MB   ENC  CIPHER AUTH ESSID  
                                                                                  
 C0:61:18:E4:EB:CC  -61        1        1    0  11  54e. WPA2 CCMP   PSK bjbjbjbj                                                                         
 20:DC:E6:9A:8F:CC  -61        3        0    0  11  54e. WPA2 CCMP   PSK  houzhihua                                                                        
 00:90:4C:7E:00:64  -60        3        0    0  11  54   WEP  WEP         Tiger                                                                            
 C8:3A:35:2C:49:60  -61        2        0    0   8  54e. WPA  CCMP   PSK  Tenda_2C4960                                                                     
 C8:3A:35:48:AA:E8  -61        2        0    0   7  54e  WPA  CCMP   PSK  Tenda_48AAE8                                                                     
 1C:FA:68:45:9E:F0  -60        2        0    0   6  54e. WPA2 CCMP   PSK  TP-LINK_459EF0                                                                   
 B0:48:7A:58:D6:16  -61        4        0    0   4  54e. WPA2 CCMP   PSK  magymiao                                                                         
 0C:82:68:4B:52:D0  -61        5        0    0  11  54e. WPA2 CCMP   PSK  air                                                                              
 1C:FA:68:5F:75:60  -60        7        0    0   6  22e. WPA2 CCMP   PSK  4001001111                                                                       
 00:21:27:7A:52:36  -61        4        0    0   6  54 . WPA2 CCMP   PSK  TP-LINK_7A5236                                                                   
 78:A1:06:31:21:04  -60       11        0    0   6  54e. WPA2 CCMP   PSK  freeeeeeee                                                                       
 20:DC:E6:C4:8C:24  -60       10        0    0   6  54e. WPA2 CCMP   PSK  TP                                                                               
 C4:CA:D9:75:23:D0  -61        2        0    0   1  54e. OPN  ChinaNet                                                                                                                                                
 

root@security:/home/offensive# wpa_passphrase freeeeeeee >> /etc/wpa_supplicant/wpa_supplicant.conf
password
root@security:/home/offensive# cat /etc/wpa_supplicant/wpa_supplicant.conf

network={
        ssid="freeeeeeee"
        #psk="password"
        psk=c516763f8072dde7f0dadfc8bb28fed317dea36913ee7c52683e2b134cd35cb7
}
 root@security:/home/offensive# cat /etc/wpa_supplicant/wifi_connect.sh
#!/bin/sh

# wpa_passphrase ESSID
wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -D wext && dhclient wlan0


Recommend:
http://uceka.com/2013/12/31/wps-pin-cracker-wpawpa2-hack-in-5-second/
http://uceka.com/2013/01/25/wps-ile-wireless-hackwpa-wpa2-2/

0 0
原创粉丝点击
热门问题 老师的惩罚 人脸识别 我在镇武司摸鱼那些年 重生之率土为王 我在大康的咸鱼生活 盘龙之生命进化 天生仙种 凡人之先天五行 春回大明朝 姑娘不必设防,我是瞎子 开业第一天不吉利怎么办 美容店开业第一天没人怎么办 淘宝店铺没有人访问怎么办 淘宝店铺没有人问怎么办 淘宝申请退款后店铺关闭怎么办 宝贝详情怎么改不了怎么办 改详情页后被删除宝贝怎么办 淘宝网商贷生意不好还不了怎么办 英国遗失在酒店物品怎么办 班福法则首位是0怎么办 同事能力比你强怎么办 新买的木板床响怎么办 笔记本键盘驱动坏了怎么办 云柜快递超时了怎么办 毕业设计被老师发现抄的怎么办 地板颜色太深了怎么办 皮质鞋子破皮了怎么办 吃了蜘蛛丝会怎么办 南京高二分班不公平怎么办? 高中分班考试没考好怎么办 实木门上的伸缩缝太深怎么办 mac点关机没反应怎么办 被压倒扁的易拉罐怎么办 白色车漏底漆了怎么办 客厅对着卧室门怎么办 老公不上进还懒怎么办 二胡按弦手指分不开怎么办 酷塑做完后疼痛怎么办 冷冻治疗后水泡破了怎么办 冷冻治疗的水泡破了怎么办? 冷冻治疗水泡破了怎么办 脚上冷冻后起泡怎么办 刺猴冷冻后起泡怎么办 隔壁太吵怎么办阴招 楼上有小孩太吵怎么办 捷达小水管睹了怎么办 楼房下水管冻了怎么办 一楼地面很潮湿怎么办 新房子地面有裂缝怎么办 地砖下面的下水管漏水怎么办 速冻饺子冻在一起了怎么办