Skip to content

Commit

Permalink
[2.4.5] Linux permissions for hardening
Browse files Browse the repository at this point in the history
 - Fix: Non UTF-8 content
 - Linux permissions for hardening
  • Loading branch information
mauricelambert authored Dec 20, 2021
1 parent a7343a7 commit a10b603
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions WebScripts/static/html/WebScripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#9286C2">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>WebScripts</strong></big></big> (version 2.4.4)</font></td
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>WebScripts</strong></big></big> (version 2.4.5)</font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="__init__.py">__init__.py</a></font></td></tr></table>
<p><tt>This&nbsp;tools&nbsp;run&nbsp;scripts&nbsp;and&nbsp;display&nbsp;the&nbsp;result&nbsp;in&nbsp;a&nbsp;Web&nbsp;Interface.</tt></p>
Expand Down Expand Up @@ -229,7 +229,7 @@
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>

<tr><td bgcolor="#A57927"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt><a name="-main"><strong>main</strong></a>() -&gt; None</dt><dd><tt>Main&nbsp;function&nbsp;to&nbsp;build&nbsp;the<br>
<td width="100%"><dl><dt><a name="-main"><strong>main</strong></a>() -&gt; int</dt><dd><tt>Main&nbsp;function&nbsp;to&nbsp;build&nbsp;the<br>
configurations&nbsp;and&nbsp;launch&nbsp;the&nbsp;server.</tt></dd></dl>
</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
Expand Down
17 changes: 9 additions & 8 deletions WebScripts/static/html/hardening.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#9286C2">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>hardening</strong></big></big> (version 0.2.2)</font></td
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>hardening</strong></big></big> (version 0.3.0)</font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="hardening.py">hardening.py</a></font></td></tr></table>
<p><tt>This&nbsp;tools&nbsp;run&nbsp;scripts&nbsp;and&nbsp;display&nbsp;the&nbsp;result&nbsp;in&nbsp;a&nbsp;Web&nbsp;Interface.<br>
Expand All @@ -22,13 +22,14 @@
<tr><td bgcolor="#75B4AD"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ctypes.html">ctypes</a><br>
<a href="json.html">json</a><br>
</td><td width="25%" valign=top><a href="os.html">os</a><br>
<a href="ntpath.html">ntpath</a><br>
</td><td width="25%" valign=top><a href="pip.html">pip</a><br>
<a href="os.html">os</a><br>
</td><td width="25%" valign=top><a href="ntpath.html">ntpath</a><br>
<a href="pip.html">pip</a><br>
<a href="platform.html">platform</a><br>
</td><td width="25%" valign=top><a href="stat.html">stat</a><br>
</td><td width="25%" valign=top><a href="re.html">re</a><br>
<a href="stat.html">stat</a><br>
<a href="sys.html">sys</a><br>
</td></tr></table></td></tr></table><p>
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#C89B48">
<td colspan=3 valign=bottom>&nbsp;<br>
Expand Down Expand Up @@ -91,6 +92,8 @@

<dl><dt><a name="Audit-audit_venv_modules"><strong>audit_venv_modules</strong></a>(server: ~Server) -&gt; hardening.Rule</dt><dd><tt>This&nbsp;function&nbsp;check&nbsp;the&nbsp;virtualenv&nbsp;modules.</tt></dd></dl>

<dl><dt><a name="Audit-audits_directory_permissions"><strong>audits_directory_permissions</strong></a>(server: ~Server, secure_paths: List[str] = None) -&gt; collections.abc.Iterator</dt><dd><tt>This&nbsp;function&nbsp;check&nbsp;owner&nbsp;and&nbsp;permissions&nbsp;on&nbsp;bin&nbsp;directory.</tt></dd></dl>

<dl><dt><a name="Audit-audits_file_owner"><strong>audits_file_owner</strong></a>(server: ~Server) -&gt; collections.abc.Iterator</dt><dd><tt>This&nbsp;function&nbsp;check&nbsp;the&nbsp;files&nbsp;owner.</tt></dd></dl>

<dl><dt><a name="Audit-audits_file_rights"><strong>audits_file_rights</strong></a>(server: ~Server) -&gt; collections.abc.Iterator</dt><dd><tt>This&nbsp;function&nbsp;check&nbsp;the&nbsp;files&nbsp;rights.</tt></dd></dl>
Expand All @@ -101,8 +104,6 @@

<dl><dt><a name="Audit-audits_scripts_content_type"><strong>audits_scripts_content_type</strong></a>(server: ~Server) -&gt; collections.abc.Iterator</dt><dd><tt>This&nbsp;function&nbsp;check&nbsp;the&nbsp;configuration&nbsp;of&nbsp;the&nbsp;script&nbsp;content&nbsp;type.</tt></dd></dl>

<dl><dt><a name="Audit-audits_scripts_directory"><strong>audits_scripts_directory</strong></a>(server: ~Server) -&gt; collections.abc.Iterator</dt><dd><tt>This&nbsp;function&nbsp;check&nbsp;owner&nbsp;and&nbsp;permissions&nbsp;on&nbsp;bin&nbsp;directory.</tt></dd></dl>

<dl><dt><a name="Audit-audits_scripts_logs"><strong>audits_scripts_logs</strong></a>(server: ~Server) -&gt; collections.abc.Iterator</dt><dd><tt>This&nbsp;function&nbsp;check&nbsp;the&nbsp;configuration&nbsp;of&nbsp;the&nbsp;script&nbsp;log.</tt></dd></dl>

<dl><dt><a name="Audit-audits_scripts_path"><strong>audits_scripts_path</strong></a>(server: ~Server) -&gt; collections.abc.Iterator</dt><dd><tt>This&nbsp;function&nbsp;check&nbsp;the&nbsp;configuration&nbsp;of&nbsp;the&nbsp;script&nbsp;path.</tt></dd></dl>
Expand Down
4 changes: 2 additions & 2 deletions WebScripts/static/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#9286C2">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>__init__</strong></big></big> (version 2.4.4)</font></td
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>__init__</strong></big></big> (version 2.4.5)</font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="__init__.py">__init__.py</a></font></td></tr></table>
<p><tt>This&nbsp;tools&nbsp;run&nbsp;scripts&nbsp;and&nbsp;display&nbsp;the&nbsp;result&nbsp;in&nbsp;a&nbsp;Web&nbsp;Interface.</tt></p>
Expand Down Expand Up @@ -215,7 +215,7 @@
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>

<tr><td bgcolor="#A57927"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt><a name="-main"><strong>main</strong></a>() -&gt; None</dt><dd><tt>Main&nbsp;function&nbsp;to&nbsp;build&nbsp;the<br>
<td width="100%"><dl><dt><a name="-main"><strong>main</strong></a>() -&gt; int</dt><dd><tt>Main&nbsp;function&nbsp;to&nbsp;build&nbsp;the<br>
configurations&nbsp;and&nbsp;launch&nbsp;the&nbsp;server.</tt></dd></dl>
</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
Expand Down

0 comments on commit a10b603

Please sign in to comment.