SHARE
TWEET

Initiate rtl8187 + r8187 BackTrack / Linux

wooldog Dec 9th, 2011 465 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2.  
  3. # Initiate RTL8187L.sh
  4. #
  5. #
  6. # Created by Adrian on 7/12/11.
  7. # Modified by Adrian Woolley, DishingTech. All rights reserved. http://dishingtech.blogspot.com
  8.  
  9. # Device busy
  10.  
  11.         sudo iwconfig wlan0
  12.         sudo ifconfig wlan0 down
  13.         sudo iwconfig wlan0 mode monitor
  14.         sudo ifconfig wlan0 up
  15.         sudo iwconfig wlan0
  16.         sudo airodump-ng wlan0
  17.         sleep 30
  18.  
  19.         dmesg| tail -20
  20.         sudo rmmod rtl8187
  21.         sudo rfkill block all
  22.         sudo rfkill unblock all
  23.         sudo modprobe rtl8187
  24.         sudo rfkill unblock all
  25.         sudo ifconfig wlan0 up
  26.         sudo airmon-ng start wlan0
  27.         sudo airmon-ng
  28.         sudo airodump-ng mon0
  29.         sudo ifconfig wlan0 down
  30.         sudo iwconfig wlan0 mode monitor
  31.         sudo ifconfig wlan0 up
  32.         sudo iwconfig wlan0
  33.         sudo aireplay-ng -9 wlan0
RAW Paste Data
Top