Skip to content
Snippets Groups Projects
Commit 72e43919 authored by mazenovi's avatar mazenovi
Browse files

tee phpinfo and sudo ln decorder-ssl

parent 79ae6e6c
Branches
No related tags found
No related merge requests found
......@@ -79,13 +79,13 @@ echo "for any changes to take affect you need to restart apache"
sudo apache2ctl restart
echo "create https://0.0.0.0/info.php to see phpinfo page (ensure php is correctly configured)"
sudo echo '<?php phpinfo();' > /var/www/html/info.php
echo '<?php phpinfo();' | sudo tee --append /var/www/html/info.php
echo "git clone ssl-decoder in /vagrant and alias it to response to https://0.0.0.0/ssl"
sudo rm -rf /vagrant/ssl-decoder
sudo git clone https://github.com/RaymiiOrg/ssl-decoder.git /vagrant/ssl-decoder
sudo rm -rf /var/www/html/ssl
ln -s /vagrant/ssl-decoder /var/www/html/ssl
sudo ln -s /vagrant/ssl-decoder /var/www/html/ssl
sudo chown www-data /var/www/html/ssl/results/
echo "you can check your ssl configuration on https://127.0.0.1:8443/ssl/?host=127.0.0.1&port=443&fastcheck=0"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment