Thu, 04 Jan 2024 18:02:25 +0100
Fine tuned the source code documentation template and regenerated the source code documentation.
9325 | 1 | <!DOCTYPE html> |
2 | <html><head> | |
3 | <title>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.tarfileUnsafeMembers</title> | |
4 | <meta charset="UTF-8"> | |
5 | <link rel="stylesheet" href="styles.css"> | |
6 | </head> | |
7 | <body> | |
8 | <a NAME="top" ID="top"></a> | |
9 | <h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.tarfileUnsafeMembers</h1> | |
10 | <p> | |
11 | Module implementing checks for insecure use of 'tarfile.extracall()'. | |
12 | </p> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
13 | |
9325 | 14 | <h3>Global Attributes</h3> |
15 | <table> | |
16 | <tr><td>None</td></tr> | |
17 | </table> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
18 | |
9325 | 19 | <h3>Classes</h3> |
20 | <table> | |
21 | <tr><td>None</td></tr> | |
22 | </table> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
23 | |
9325 | 24 | <h3>Functions</h3> |
25 | <table> | |
26 | <tr> | |
27 | <td><a href="#_getMembersValue">_getMembersValue</a></td> | |
28 | <td>Function to extract the value of the 'members' argument.</td> | |
29 | </tr> | |
30 | <tr> | |
31 | <td><a href="#checkTarfileUnsafeMembers">checkTarfileUnsafeMembers</a></td> | |
10259
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
32 | <td>Function to check for insecure use of 'tarfile.extracall()'.</td> |
9325 | 33 | </tr> |
34 | <tr> | |
35 | <td><a href="#getChecks">getChecks</a></td> | |
36 | <td>Public method to get a dictionary with checks handled by this module.</td> | |
37 | </tr> | |
38 | </table> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
39 | |
9325 | 40 | <hr /> |
41 | <hr /> | |
42 | <a NAME="_getMembersValue" ID="_getMembersValue"></a> | |
43 | <h2>_getMembersValue</h2> | |
44 | <b>_getMembersValue</b>(<i>context</i>) | |
45 | <p> | |
46 | Function to extract the value of the 'members' argument. | |
47 | </p> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
48 | |
9325 | 49 | <dl> |
50 | ||
51 | <dt><i>context</i> (SecurityContext)</dt> | |
52 | <dd> | |
53 | security context object | |
54 | </dd> | |
55 | </dl> | |
56 | <dl> | |
57 | <dt>Return:</dt> | |
58 | <dd> | |
59 | dictionary containing the argument value | |
60 | </dd> | |
61 | </dl> | |
62 | <dl> | |
63 | <dt>Return Type:</dt> | |
64 | <dd> | |
65 | dict | |
66 | </dd> | |
67 | </dl> | |
68 | <div align="right"><a href="#top">Up</a></div> | |
69 | <hr /> | |
70 | <hr /> | |
71 | <a NAME="checkTarfileUnsafeMembers" ID="checkTarfileUnsafeMembers"></a> | |
72 | <h2>checkTarfileUnsafeMembers</h2> | |
73 | <b>checkTarfileUnsafeMembers</b>(<i>reportError, context, config</i>) | |
10259
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
74 | <p> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
75 | Function to check for insecure use of 'tarfile.extracall()'. |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
76 | </p> |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
77 | |
10259
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
78 | <dl> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
79 | |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
80 | <dt><i>reportError</i> (func)</dt> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
81 | <dd> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
82 | function to be used to report errors |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
83 | </dd> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
84 | <dt><i>context</i> (SecurityContext)</dt> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
85 | <dd> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
86 | security context object |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
87 | </dd> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
88 | <dt><i>config</i> (dict)</dt> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
89 | <dd> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
90 | dictionary with configuration data |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
91 | </dd> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10070
diff
changeset
|
92 | </dl> |
9325 | 93 | <div align="right"><a href="#top">Up</a></div> |
94 | <hr /> | |
95 | <hr /> | |
96 | <a NAME="getChecks" ID="getChecks"></a> | |
97 | <h2>getChecks</h2> | |
98 | <b>getChecks</b>(<i></i>) | |
99 | <p> | |
100 | Public method to get a dictionary with checks handled by this module. | |
101 | </p> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
102 | |
9325 | 103 | <dl> |
104 | <dt>Return:</dt> | |
105 | <dd> | |
106 | dictionary containing checker lists containing checker function and | |
107 | list of codes | |
108 | </dd> | |
109 | </dl> | |
110 | <dl> | |
111 | <dt>Return Type:</dt> | |
112 | <dd> | |
113 | dict | |
114 | </dd> | |
115 | </dl> | |
116 | <div align="right"><a href="#top">Up</a></div> | |
117 | <hr /> | |
10479
856476537696
Fine tuned the source code documentation template and regenerated the source code documentation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
118 | </body></html> |