This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# work with Lenovo G40, etc | |
sudo apt-get remove --purge bcmwl-kernel-source | |
sudo apt-get install linux-firmware-nonfree | |
sudo modprobe -r ideapad-laptop | |
sudo rfkill unblock all | |
sudo rfkill list all | |
sudo modprobe -r rtl8723be | |
sudo echo "options rtl8723be swenc=1" >> /etc/modprobe.d/rtl8723be.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git clone https://github.com/reverse-shell/routersploit | |
if [ -f /etc/lsb-release ]; then | |
os=$(lsb_release -s -d) | |
sudo apt-get install -y python-dev python-pip libncurses5-dev libffi-dev | |
elif [ -f /etc/debian_version ]; then | |
os="Debian $(cat /etc/debian_version)" | |
sudo apt-get install -y python-dev python-pip libncurses5-dev libffi-dev | |
elif [ -f /etc/redhat-release ]; then | |
os="cat /etc/redhat-release" |