InstallMe.sh 832 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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 apache2 iptables git php dnsmasq apache2 dnsmasq-base python hostapd mdk3 macchanger -y
  8. curl -fsSL https://get.docker.com -o get-docker.sh
  9. sudo sh get-docker.sh
  10. docker pull capsulecode/singlefile
  11. docker tag capsulecode/singlefile singlefile
  12. git clone https://github.com/adamff24/PwrDeauther.git
  13. cp -f hostapd.conf /etc/hostapd/
  14. cp -f dnsmasq.conf /etc/
  15. cp -Rf html /var/www/
  16. chown -R www-data:www-data /var/www/html
  17. chown root:www-data /var/www/html/.htaccess
  18. cp -f override.conf /etc/apache2/conf-available/
  19. cd /etc/apache2/conf-enabled
  20. ln -s ../conf-available/override.conf override.conf
  21. cd /etc/apache2/mods-enabled
  22. ln -s ../mods-available/rewrite.load rewrite.load