| 123456789101112131415161718192021222324252627282930313233343536373839 |
- #!/bin/sh -e
- if [ "$(id -u)" != "0" ]; then
- echo "Run As Root!" 1>&2
- exit 1
- fi
- apt-get update -y && apt-get upgrade -y
- apt install tmux iptables git php dnsmasq apache2 dnsmasq-base python docker hostapd mdk3 macchanger -y
- docker pull capsulecode/singlefile
- docker tag capsulecode/singlefile singlefile
- git clone https://github.com/adamff24/PwrDeauther.git
- cp -f hostapd.conf /etc/hostapd/
- cp -f dnsmasq.conf /etc/
- cp -Rf html /var/www/
- chown -R www-data:www-data /var/www/html
- chown root:www-data /var/www/html/.htaccess
- cp -f override.conf /etc/apache2/conf-available/
- cd /etc/apache2/conf-enabled
- ln -s ../conf-available/override.conf override.conf
- cd /etc/apache2/mods-enabled
- ln -s ../mods-available/rewrite.load rewrite.load
|