docker-vulnerable-dvwa/main.sh

16 lines
231 B
Bash
Raw Normal View History

2017-01-02 20:02:09 +00:00
#!/bin/bash
2018-10-12 15:49:58 +00:00
chown -R mysql:mysql /var/lib/mysql /var/run/mysqld
2017-01-02 20:02:09 +00:00
echo '[+] Starting mysql...'
service mysql start
echo '[+] Starting apache'
service apache2 start
while true
do
tail -f /var/log/apache2/*.log
2017-01-02 21:03:54 +00:00
exit 0
2017-01-02 20:02:09 +00:00
done