From a10b6033d78700a26d600c152dabfb6460fdaa14 Mon Sep 17 00:00:00 2001 From: mauricelambert <50479118+mauricelambert@users.noreply.github.com> Date: Mon, 20 Dec 2021 18:22:24 +0100 Subject: [PATCH] [2.4.5] Linux permissions for hardening - Fix: Non UTF-8 content - Linux permissions for hardening --- WebScripts/static/html/WebScripts.html | 4 ++-- WebScripts/static/html/hardening.html | 17 +++++++++-------- WebScripts/static/html/index.html | 4 ++-- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/WebScripts/static/html/WebScripts.html b/WebScripts/static/html/WebScripts.html index ff7da253..64490ddd 100644 --- a/WebScripts/static/html/WebScripts.html +++ b/WebScripts/static/html/WebScripts.html @@ -6,7 +6,7 @@  
WebScripts (version 2.4.5)
 
- 
WebScripts (version 2.4.4)
index
__init__.py

This tools run scripts and display the result in a Web Interface.

@@ -229,7 +229,7 @@ Functions         -
main() -> None
Main function to build the
+
main() -> int
Main function to build the
configurations and launch the server.

diff --git a/WebScripts/static/html/hardening.html b/WebScripts/static/html/hardening.html index 2985dfcd..4918b560 100644 --- a/WebScripts/static/html/hardening.html +++ b/WebScripts/static/html/hardening.html @@ -6,7 +6,7 @@
 
hardening (version 0.3.0)
 
- 
hardening (version 0.2.2)
index
hardening.py

This tools run scripts and display the result in a Web Interface.
@@ -22,13 +22,14 @@        
ctypes
json
-
os
-ntpath
-
pip
+os
+
ntpath
+pip
platform
-
stat
+
re
+stat
sys
-

+

-
 
@@ -91,6 +92,8 @@
audit_venv_modules(server: ~Server) -> hardening.Rule
This function check the virtualenv modules.
+
audits_directory_permissions(server: ~Server, secure_paths: List[str] = None) -> collections.abc.Iterator
This function check owner and permissions on bin directory.
+
audits_file_owner(server: ~Server) -> collections.abc.Iterator
This function check the files owner.
audits_file_rights(server: ~Server) -> collections.abc.Iterator
This function check the files rights.
@@ -101,8 +104,6 @@
audits_scripts_content_type(server: ~Server) -> collections.abc.Iterator
This function check the configuration of the script content type.
-
audits_scripts_directory(server: ~Server) -> collections.abc.Iterator
This function check owner and permissions on bin directory.
-
audits_scripts_logs(server: ~Server) -> collections.abc.Iterator
This function check the configuration of the script log.
audits_scripts_path(server: ~Server) -> collections.abc.Iterator
This function check the configuration of the script path.
diff --git a/WebScripts/static/html/index.html b/WebScripts/static/html/index.html index d2b1b5a7..ff0cd87d 100644 --- a/WebScripts/static/html/index.html +++ b/WebScripts/static/html/index.html @@ -6,7 +6,7 @@  
__init__ (version 2.4.5)
 
- 
__init__ (version 2.4.4)
index
__init__.py

This tools run scripts and display the result in a Web Interface.

@@ -215,7 +215,7 @@ Functions
       
main() -> None
Main function to build the
+
main() -> int
Main function to build the
configurations and launch the server.