Skip to content

Instantly share code, notes, and snippets.

@wrfly
Created August 27, 2015 13:11
Show Gist options
  • Save wrfly/08da52c72904de2400e7 to your computer and use it in GitHub Desktop.
Save wrfly/08da52c72904de2400e7 to your computer and use it in GitHub Desktop.
a bash script for kali_2 to support MT7601 ( XiaoDu WIFI; 360 WIFI; and more.)
#!/bin/bash
# By-WrFly
cp /etc/apt/sources.list /etc/apt/sources.list.bak
echo "
deb-src http://http.kali.org/kali sana main non-free contrib
deb-src http://security.kali.org/kali-security sana/updates main contrib non-free
deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free
" > /etc/apt/sources.list
apt-get update
apt-get install linux-headers-4.0.0.-kali-all-amd64
cd ~/Desktop
git clone https://github.com/porjo/mt7601.git
cd mt7601/src
make
mkdir -p /etc/Wireless/RT2870STA/
cp RT2870STA.dat /etc/Wireless/RT2870STA/
insmod os/linux/mt7601Usta.ko
make install
@adversigns
Copy link

I’m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment