InstallMe.sh 756 B

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