Merge pull request #9214 from Security-Onion-Solutions/idhskins
Custom IDH HTTP Skins
@@ -54,11 +54,27 @@ block_mgt_ip_idh_services_{{ proto }}_{{ OPENCANARYCONFIG[service~'.port'] }} :
|
||||
# Create a config directory
|
||||
temp:
|
||||
file.directory:
|
||||
- name: /opt/so/conf/idh
|
||||
- name: /opt/so/conf/idh/http-skins
|
||||
- user: 939
|
||||
- group: 939
|
||||
- makedirs: True
|
||||
|
||||
# Copy over default http skins
|
||||
copyoverhttpskins:
|
||||
file.recurse:
|
||||
- name: /opt/so/conf/idh/http-skins
|
||||
- user: 939
|
||||
- group: 939
|
||||
- source: salt://idh/skins/http/opencanary
|
||||
|
||||
# Copy over custom http skins
|
||||
copyovercustomhttpskins:
|
||||
file.recurse:
|
||||
- name: /opt/so/conf/idh/http-skins
|
||||
- user: 939
|
||||
- group: 939
|
||||
- source: salt://idh/skins/http/custom
|
||||
|
||||
# Create a log directory
|
||||
configdir:
|
||||
file.directory:
|
||||
@@ -85,6 +101,7 @@ so-idh:
|
||||
- binds:
|
||||
- /nsm/idh:/var/tmp:rw
|
||||
- /opt/so/conf/idh/opencanary.conf:/etc/opencanaryd/opencanary.conf:ro
|
||||
- /opt/so/conf/idh/http-skins:/usr/local/lib/python3.6/site-packages/opencanary/modules/data/http/skin:ro
|
||||
- watch:
|
||||
- file: opencanary_config
|
||||
- require:
|
||||
@@ -101,4 +118,4 @@ append_so-idh_so-status.conf:
|
||||
test.fail_without_changes:
|
||||
- name: {{sls}}_state_not_allowed
|
||||
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
10
salt/idh/skins/http/opencanary/basicLogin/403.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||||
<html><head>
|
||||
<title>403 Forbidden</title>
|
||||
</head><body>
|
||||
<h1>Forbidden</h1>
|
||||
<p>You don't have permission to access [[URL]]
|
||||
on this server.</p>
|
||||
<hr>
|
||||
<address>[[BANNER]] Server</address>
|
||||
</body></html>
|
||||
9
salt/idh/skins/http/opencanary/basicLogin/404.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||||
<html><head>
|
||||
<title>404 Not Found</title>
|
||||
</head><body>
|
||||
<h1>Not Found</h1>
|
||||
<p>The requested URL [[URL]] was not found on this server.</p>
|
||||
<hr>
|
||||
<address>[[BANNER]] Server</address>
|
||||
</body></html>
|
||||
41
salt/idh/skins/http/opencanary/basicLogin/index.html
Normal file
@@ -0,0 +1,41 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Login</title>
|
||||
<style>
|
||||
body {
|
||||
width: 100%;
|
||||
}
|
||||
.outer {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 25em;
|
||||
height: 100%;
|
||||
}
|
||||
.inner{
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
height: 30em;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class='outer'>
|
||||
<div class='inner'>
|
||||
<h1>Network Storage v5.13</h1>
|
||||
<!--STARTERR-->
|
||||
<h2>Login failed</h2>
|
||||
<!--ENDERR-->
|
||||
<form method="POST">
|
||||
<dl>
|
||||
<dt>Username:</dt>
|
||||
<dd><input type="text" name="username" /></dd>
|
||||
<dt>Password:</dt>
|
||||
<dd><input type="password" name="password" /></dd>
|
||||
<dt></dt>
|
||||
<dd><input type="submit" value="Login" name="btnLogin" /></dd>
|
||||
</dl>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
10
salt/idh/skins/http/opencanary/nasLogin/403.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||||
<html><head>
|
||||
<title>403 Forbidden</title>
|
||||
</head><body>
|
||||
<h1>Forbidden</h1>
|
||||
<p>You don't have permission to access [[URL]]
|
||||
on this server.</p>
|
||||
<hr>
|
||||
<address>[[BANNER]] Server</address>
|
||||
</body></html>
|
||||
9
salt/idh/skins/http/opencanary/nasLogin/404.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||||
<html><head>
|
||||
<title>404 Not Found</title>
|
||||
</head><body>
|
||||
<h1>Not Found</h1>
|
||||
<p>The requested URL [[URL]] was not found on this server.</p>
|
||||
<hr>
|
||||
<address>[[BANNER]] Server</address>
|
||||
</body></html>
|
||||
36
salt/idh/skins/http/opencanary/nasLogin/index.html
Normal file
@@ -0,0 +1 @@
|
||||
.syno-backup-repo-cloud-azure_blob{background-image:url("/webman/3rdparty/addon-azure_blob/images/icon.png") !important}@media (-webkit-min-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3 / 2), (min-resolution: 144dpi){.synohdpack .syno-backup-repo-cloud-azure_blob{background-image:url("/webman/3rdparty/addon-azure_blob/images/icon@2x.png") !important;background-size:32px 32px !important}}@media (-webkit-min-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3 / 2), (min-resolution: 144dpi){.synohdpackdebug .syno-backup-repo-cloud-azure_blob{background-image:url("/webman/3rdparty/addon-azure_blob/images/icon@2x.png") !important;background-size:32px 32px !important;outline:1px red dashed}}.syno-backup-task-cloud-azure_blob{background-image:url("/webman/3rdparty/addon-azure_blob/images/icon.png") !important}@media (-webkit-min-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3 / 2), (min-resolution: 144dpi){.synohdpack .syno-backup-task-cloud-azure_blob{background-image:url("/webman/3rdparty/addon-azure_blob/images/icon@2x.png") !important;background-size:32px 32px !important}}@media (-webkit-min-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3 / 2), (min-resolution: 144dpi){.synohdpackdebug .syno-backup-task-cloud-azure_blob{background-image:url("/webman/3rdparty/addon-azure_blob/images/icon@2x.png") !important;background-size:32px 32px !important;outline:1px red dashed}}
|
||||
1682
salt/idh/skins/http/opencanary/nasLogin/static/css/xtheme-gray.css
Normal file
BIN
salt/idh/skins/http/opencanary/nasLogin/static/fonts/roboto.woff
Normal file
BIN
salt/idh/skins/http/opencanary/nasLogin/static/img/02.jpg
Normal file
|
After Width: | Height: | Size: 299 KiB |
BIN
salt/idh/skins/http/opencanary/nasLogin/static/img/favicon.ico
Normal file
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
BIN
salt/idh/skins/http/opencanary/nasLogin/static/img/icon_tile.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 455 B |
|
After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 8.5 KiB |
|
After Width: | Height: | Size: 907 B |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 343 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 344 B |
|
After Width: | Height: | Size: 823 B |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 644 B |
|
After Width: | Height: | Size: 372 B |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 491 B |
|
After Width: | Height: | Size: 842 B |
|
After Width: | Height: | Size: 6.1 KiB |
|
After Width: | Height: | Size: 972 B |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 137 B |
|
After Width: | Height: | Size: 138 B |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 501 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 372 B |
|
After Width: | Height: | Size: 517 B |
|
After Width: | Height: | Size: 472 B |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 928 B |
|
After Width: | Height: | Size: 6.7 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 35 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 8.3 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 9.3 KiB |
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 590 B |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
|
After Width: | Height: | Size: 8.1 KiB |
|
After Width: | Height: | Size: 7.5 KiB |
|
After Width: | Height: | Size: 698 B |
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 834 B |
|
After Width: | Height: | Size: 318 B |
|
After Width: | Height: | Size: 780 B |
|
After Width: | Height: | Size: 982 B |
|
After Width: | Height: | Size: 680 B |
|
After Width: | Height: | Size: 868 B |