Skip to content

This Repository is a collection of different ethical hacking tools and malware's for penetration testing and research purpose written in python, ruby, rust, c++, go and c.

2.0 KB
Raw Blame
<IfModule mod_ssl.c>

        NameVirtualHost *:443
        <VirtualHost *:443>
                DocumentRoot "/var/www/html"
                ServerName 52.196.116.69

                ErrorLog ${APACHE_LOG_DIR}/error.log
                CustomLog ${APACHE_LOG_DIR}/access.log combined

                SSLEngine on
                SSLCertificateFile      /etc/ssl/certs/mycrt.crt
                SSLCertificateKeyFile /etc/ssl/private/mykey.key


               <Directory /var/www/html>
                        Options FollowSymLinks
                        Options -Indexes
                        AllowOverride all
                        Require all granted
                </Directory>


                <FilesMatch "\.(cgi|shtml|phtml|php)$">
                                SSLOptions +StdEnvVars
                </FilesMatch>



        </VirtualHost>
        <VirtualHost *:443>
                ServerAdmin webmaster@localhost
                DocumentRoot /secret/
                ServerName very-secret-area-for-ctf.orange.tw


                ErrorLog ${APACHE_LOG_DIR}/error.log
                CustomLog ${APACHE_LOG_DIR}/access.log combined
                SSLEngine on

                SSLCertificateFile      /etc/ssl/certs/mycrt.crt
                SSLCertificateKeyFile /etc/ssl/private/mykey.key


               <Directory /secret/>
                        Options FollowSymLinks
                        AllowOverride None
                        Require all granted
                </Directory>


                <FilesMatch "\.(cgi|shtml|phtml|php)$">
                                SSLOptions +StdEnvVars
                </FilesMatch>



                BrowserMatch "MSIE [2-6]" \
                                nokeepalive ssl-unclean-shutdown \
                                downgrade-1.0 force-response-1.0
                # MSIE 7 and newer should be able to use keepalive
                BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown

        </VirtualHost>
</IfModule>