docker-vulnerable-dvwa/main.sh
2018-10-12 15:49:58 +00:00

16 lines
231 B
Bash
Executable File

#!/bin/bash
chown -R mysql:mysql /var/lib/mysql /var/run/mysqld
echo '[+] Starting mysql...'
service mysql start
echo '[+] Starting apache'
service apache2 start
while true
do
tail -f /var/log/apache2/*.log
exit 0
done