InstallMe.sh 702 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #!/bin/sh -e
  2. if [ "$(id -u)" != "0" ]; then
  3. echo "Run As Root!" 1>&2
  4. exit 1
  5. fi
  6. apt-get update -y && apt-get upgrade -y
  7. apt install tmux iptables git guacamole php dnsmasq apache2 dnsmasq-base python hostapd macchanger -y
  8. git clone https://github.com/adamff24/PwrDeauther.git
  9. bash /PwrDeauther/install.sh
  10. cp -f hostapd.conf /etc/hostapd/
  11. cp -f dnsmasq.conf /etc/
  12. cp -Rf html /var/www/
  13. chown -R www-data:www-data /var/www/html
  14. chown root:www-data /var/www/html/.htaccess
  15. cp -f override.conf /etc/apache2/conf-available/
  16. cd /etc/apache2/conf-enabled
  17. ln -s ../conf-available/override.conf override.conf
  18. cd /etc/apache2/mods-enabled
  19. ln -s ../mods-available/rewrite.load rewrite.load