Skip to content

Instantly share code, notes, and snippets.

View riswandans's full-sized avatar
😀

Riswanda N.S riswandans

😀
  • New York
View GitHub Profile
@riswandans
riswandans / fix_wifi.sh
Created May 9, 2016 07:31
Lenovo fix wifi always disconnect or disabled on ubuntu (like distro elementary freya, linux mint, etc)
# 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
@riswandans
riswandans / setup-routersploit.sh
Last active April 3, 2021 23:30
Auto installation RouterSploit on Ubuntu, Debian, Redhat, CentOS, OSX
#!/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"