5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedPassword</h1> |
9 <h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedPassword</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing checks for potentially hardcoded passwords. |
11 Module implementing checks for potentially hardcoded passwords. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
|
15 <table> |
|
16 <tr><td>RE_CANDIDATES</td></tr> |
|
17 <tr><td>RE_WORDS</td></tr> |
|
18 </table> |
15 |
19 |
16 <table> |
|
17 <tr><td>RE_CANDIDATES</td></tr><tr><td>RE_WORDS</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
20 <h3>Classes</h3> |
20 |
|
21 <table> |
21 <table> |
22 <tr><td>None</td></tr> |
22 <tr><td>None</td></tr> |
23 </table> |
23 </table> |
|
24 |
24 <h3>Functions</h3> |
25 <h3>Functions</h3> |
25 |
|
26 <table> |
26 <table> |
27 |
|
28 <tr> |
27 <tr> |
29 <td><a href="#checkHardcodedPasswordAsDefault">checkHardcodedPasswordAsDefault</a></td> |
28 <td><a href="#checkHardcodedPasswordAsDefault">checkHardcodedPasswordAsDefault</a></td> |
30 <td>Function to check for use of hard-coded password argument defaults.</td> |
29 <td>Function to check for use of hard-coded password argument defaults.</td> |
31 </tr> |
30 </tr> |
32 <tr> |
31 <tr> |
40 <tr> |
39 <tr> |
41 <td><a href="#getChecks">getChecks</a></td> |
40 <td><a href="#getChecks">getChecks</a></td> |
42 <td>Public method to get a dictionary with checks handled by this module.</td> |
41 <td>Public method to get a dictionary with checks handled by this module.</td> |
43 </tr> |
42 </tr> |
44 </table> |
43 </table> |
|
44 |
45 <hr /> |
45 <hr /> |
46 <hr /> |
46 <hr /> |
47 <a NAME="checkHardcodedPasswordAsDefault" ID="checkHardcodedPasswordAsDefault"></a> |
47 <a NAME="checkHardcodedPasswordAsDefault" ID="checkHardcodedPasswordAsDefault"></a> |
48 <h2>checkHardcodedPasswordAsDefault</h2> |
48 <h2>checkHardcodedPasswordAsDefault</h2> |
49 <b>checkHardcodedPasswordAsDefault</b>(<i>reportError, context, config</i>) |
49 <b>checkHardcodedPasswordAsDefault</b>(<i>reportError, context, config</i>) |
50 |
|
51 <p> |
50 <p> |
52 Function to check for use of hard-coded password argument defaults. |
51 Function to check for use of hard-coded password argument defaults. |
53 </p> |
52 </p> |
|
53 |
54 <dl> |
54 <dl> |
55 |
55 |
56 <dt><i>reportError</i> (func)</dt> |
56 <dt><i>reportError</i> (func)</dt> |
57 <dd> |
57 <dd> |
58 function to be used to report errors |
58 function to be used to report errors |
70 <hr /> |
70 <hr /> |
71 <hr /> |
71 <hr /> |
72 <a NAME="checkHardcodedPasswordAsFunctionArg" ID="checkHardcodedPasswordAsFunctionArg"></a> |
72 <a NAME="checkHardcodedPasswordAsFunctionArg" ID="checkHardcodedPasswordAsFunctionArg"></a> |
73 <h2>checkHardcodedPasswordAsFunctionArg</h2> |
73 <h2>checkHardcodedPasswordAsFunctionArg</h2> |
74 <b>checkHardcodedPasswordAsFunctionArg</b>(<i>reportError, context, config</i>) |
74 <b>checkHardcodedPasswordAsFunctionArg</b>(<i>reportError, context, config</i>) |
75 |
|
76 <p> |
75 <p> |
77 Function to check for use of hard-coded password function arguments. |
76 Function to check for use of hard-coded password function arguments. |
78 </p> |
77 </p> |
|
78 |
79 <dl> |
79 <dl> |
80 |
80 |
81 <dt><i>reportError</i> (func)</dt> |
81 <dt><i>reportError</i> (func)</dt> |
82 <dd> |
82 <dd> |
83 function to be used to report errors |
83 function to be used to report errors |
95 <hr /> |
95 <hr /> |
96 <hr /> |
96 <hr /> |
97 <a NAME="checkHardcodedPasswordAsString" ID="checkHardcodedPasswordAsString"></a> |
97 <a NAME="checkHardcodedPasswordAsString" ID="checkHardcodedPasswordAsString"></a> |
98 <h2>checkHardcodedPasswordAsString</h2> |
98 <h2>checkHardcodedPasswordAsString</h2> |
99 <b>checkHardcodedPasswordAsString</b>(<i>reportError, context, config</i>) |
99 <b>checkHardcodedPasswordAsString</b>(<i>reportError, context, config</i>) |
100 |
|
101 <p> |
100 <p> |
102 Function to check for use of hardcoded password strings. |
101 Function to check for use of hardcoded password strings. |
103 </p> |
102 </p> |
|
103 |
104 <dl> |
104 <dl> |
105 |
105 |
106 <dt><i>reportError</i> (func)</dt> |
106 <dt><i>reportError</i> (func)</dt> |
107 <dd> |
107 <dd> |
108 function to be used to report errors |
108 function to be used to report errors |