-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f3fdf8
commit 00c35a9
Showing
22 changed files
with
316 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
.build/www/configuration/apache-configuration/conf-available/aliases.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Alias /error-pages/404.html /var/www/error-pages/404.html | ||
Alias /error-pages/oops.jpg /var/www/error-pages/oops.jpg |
1 change: 1 addition & 0 deletions
1
.build/www/configuration/apache-configuration/conf/error-pages.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ErrorDocument 404 /error-pages/404.html |
14 changes: 14 additions & 0 deletions
14
.build/www/configuration/apache-configuration/conf/headers.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#Header unset X-Powered-By | ||
|
||
#Header set X-XSS-Protection "1;mode=block" | ||
#Header set X-Content-Type-Options "nosniff" | ||
#Header set X-Frame-Options "SAMEORIGIN" | ||
#Header set Content-Security-Policy "frame-ancestors 'self';" | ||
|
||
#Header set Cache-Control "no-cache=\"Set-Cookie\"" | ||
#Header unset Pragma | ||
|
||
#<Files *.php> | ||
# Header set Cache-Control "no-store,no-cache" | ||
# Header set Pragma "no-cache" | ||
#</Files> |
17 changes: 17 additions & 0 deletions
17
.build/www/configuration/apache-configuration/error-pages/404.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Page not found</title> | ||
</head> | ||
|
||
<body> | ||
<br /> | ||
<br /> | ||
<div style="text-align:center;font-weight: bold;"> | ||
<img src="/error-pages/oops.jpg" /> | ||
</div> | ||
<br /> | ||
<div style="text-align:center;font-weight:bold;font-size:42px;">We cannot find that resource</div> | ||
<div style="text-align:center;font-weight:bold;font-size:42px;">That's all we know</div> | ||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
93 changes: 93 additions & 0 deletions
93
.build/www/configuration/apache-configuration/sites-available/mutillidae.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
<VirtualHost 127.0.0.1:80> | ||
ServerName mutillidae.localhost | ||
ServerAlias www.mutillidae.localhost mutillidae | ||
DocumentRoot /var/www/mutillidae | ||
Include conf/headers.conf | ||
Include conf/error-pages.conf | ||
|
||
<IfModule dir_module> | ||
DirectoryIndex index.php | ||
</IfModule> | ||
|
||
<Directory /var/www/mutillidae> | ||
AllowOverride All | ||
Options +Indexes +FollowSymLinks +MultiViews | ||
Require all granted | ||
</Directory> | ||
|
||
ErrorLog ${APACHE_LOG_DIR}/mutillidae-error.log | ||
CustomLog ${APACHE_LOG_DIR}/mutillidae-access.log combined | ||
</VirtualHost> | ||
|
||
<VirtualHost 127.0.0.1:443> | ||
ServerName mutillidae.localhost | ||
ServerAlias www.mutillidae.localhost mutillidae | ||
DocumentRoot /var/www/mutillidae | ||
Include conf/headers.conf | ||
Include conf/error-pages.conf | ||
|
||
<IfModule dir_module> | ||
DirectoryIndex index.php | ||
</IfModule> | ||
|
||
<Directory /var/www/mutillidae> | ||
AllowOverride All | ||
Options +Indexes +FollowSymLinks +MultiViews | ||
Require all granted | ||
</Directory> | ||
|
||
ErrorLog ${APACHE_LOG_DIR}/mutillidae-error.log | ||
CustomLog ${APACHE_LOG_DIR}/mutillidae-access.log combined | ||
|
||
SSLEngine On | ||
SSLOptions +StrictRequire | ||
SSLCertificateFile /etc/ssl/certs/mutillidae-selfsigned.crt | ||
SSLCertificateKeyFile /etc/ssl/private/mutillidae-selfsigned.key | ||
SSLProtocol +TLSv1 +TLSv1.1 +TLSv1.2 +TLSv1.3 | ||
</VirtualHost> | ||
|
||
<VirtualHost 127.0.0.2:80> | ||
ServerName cors.mutillidae.localhost | ||
ServerAlias webservice.mutillidae.localhost api.mutillidae.localhost | ||
DocumentRoot /var/www/mutillidae | ||
Include conf/error-pages.conf | ||
|
||
<IfModule dir_module> | ||
DirectoryIndex index.php | ||
</IfModule> | ||
|
||
<Directory /var/www/mutillidae> | ||
AllowOverride All | ||
Options +Indexes +FollowSymLinks +MultiViews | ||
Require all granted | ||
</Directory> | ||
|
||
ErrorLog ${APACHE_LOG_DIR}/cors-mutillidae-error.log | ||
CustomLog ${APACHE_LOG_DIR}/cors-mutillidae-access.log combined | ||
</VirtualHost> | ||
|
||
<VirtualHost 127.0.0.2:443> | ||
ServerName cors.mutillidae.localhost | ||
ServerAlias webservice.mutillidae.localhost api.mutillidae.localhost | ||
DocumentRoot /var/www/mutillidae | ||
Include conf/error-pages.conf | ||
|
||
<IfModule dir_module> | ||
DirectoryIndex index.php | ||
</IfModule> | ||
|
||
<Directory /var/www/mutillidae> | ||
AllowOverride All | ||
Options +Indexes +FollowSymLinks +MultiViews | ||
Require all granted | ||
</Directory> | ||
|
||
ErrorLog ${APACHE_LOG_DIR}/cors-mutillidae-error.log | ||
CustomLog ${APACHE_LOG_DIR}/cors-mutillidae-access.log combined | ||
|
||
SSLEngine On | ||
SSLOptions +StrictRequire | ||
SSLCertificateFile /etc/ssl/certs/mutillidae-selfsigned.crt | ||
SSLCertificateKeyFile /etc/ssl/private/mutillidae-selfsigned.key | ||
SSLProtocol +TLSv1 +TLSv1.1 +TLSv1.2 +TLSv1.3 | ||
</VirtualHost> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
|
||
127.0.0.1 localhost mutillidae.localhost www.mutillidae.localhost mutillidae | ||
127.0.0.2 cors.mutillidae.localhost webservice.mutillidae.localhost api.mutillidae.localhost |
26 changes: 26 additions & 0 deletions
26
.build/www/configuration/https-certificate/mutillidae-selfsigned.crt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIEXzCCA0egAwIBAgIUVTpLNZlka/LtfI5GlvV+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7G1kIHl7c3ouMx3r0WpBFvowHwYDVR0jBBgwFoAUQ9MR7G1k | ||
IHl7c3ouMx3r0WpBFvowDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOC | ||
AQEALyVQXSkHcasurwnawY9/14e2xWTTp3ux8crtfVm0hQlYhK7HNaco/E5enMZr | ||
wgv1SrrIewiEKW6kSbOQ74S7fbjBDDzdOhQjEhASjVzEdwXXa0Zq07Hym1mw8SoK | ||
0zbwj0NI99gN1/wSSU6Je7NEEY8IeirWT7CGoS6/zMaexvX2kXNAcCks9+T4Ymo7 | ||
4fJMBVgXQUNkMndt6wZlc6ZnO7RZcjyziwzyV7J+hFMrzmxeD6JSr0HSkBWkt3ex | ||
lA3KGmfKRbd3bNgqOErRz6lUFSg5PPmJriNftdhTT0HUlkKn+4Dh0kcsJVOMFBou | ||
KhrfFX1Wd7SFm+jmer53NR3pqQ== | ||
-----END CERTIFICATE----- |
28 changes: 28 additions & 0 deletions
28
.build/www/configuration/https-certificate/mutillidae-selfsigned.key
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDRxkV7g4/BGABR | ||
ToijBxuYG7745nQcAKzSYWBHYhRrBd4uflt+mJr/a6HVMClVIkz7FIUaDHwtSOfT | ||
3FlhtBQWVMqIVMUGykNExOfzLW2x4hRKVovb89DUHbPxkLfjVMtqT1SJ8qoW8V8H | ||
d2dz62pHoCeZ/hnGISDsWf4ZhEBKyOu34rcHyVIDCRsu3akpOGp5mkn+YyIbza5v | ||
GZb/76rH6IiEDHKTLdBX8iuSeYfbjzTxIXPqR66jv3/QL5TguvugyudtxgZAFr3U | ||
ksDojYeYNPdIKAoXm+KynsVlP+a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