25 |
25 |
26 <table> |
26 <table> |
27 |
27 |
28 <tr> |
28 <tr> |
29 <td><a href="#checkDjangoExtraUsed">checkDjangoExtraUsed</a></td> |
29 <td><a href="#checkDjangoExtraUsed">checkDjangoExtraUsed</a></td> |
30 <td>Function to check for potential SQL injection on extra function.</td> |
30 <td></td> |
31 </tr> |
31 </tr> |
32 <tr> |
32 <tr> |
33 <td><a href="#checkDjangoRawSqlUsed">checkDjangoRawSqlUsed</a></td> |
33 <td><a href="#checkDjangoRawSqlUsed">checkDjangoRawSqlUsed</a></td> |
34 <td>Function to check for potential SQL injection on RawSQL function.</td> |
34 <td></td> |
35 </tr> |
35 </tr> |
36 <tr> |
36 <tr> |
37 <td><a href="#getChecks">getChecks</a></td> |
37 <td><a href="#getChecks">getChecks</a></td> |
38 <td>Public method to get a dictionary with checks handled by this module.</td> |
38 <td>Public method to get a dictionary with checks handled by this module.</td> |
39 </tr> |
39 </tr> |
46 <hr /> |
46 <hr /> |
47 <a NAME="checkDjangoExtraUsed" ID="checkDjangoExtraUsed"></a> |
47 <a NAME="checkDjangoExtraUsed" ID="checkDjangoExtraUsed"></a> |
48 <h2>checkDjangoExtraUsed</h2> |
48 <h2>checkDjangoExtraUsed</h2> |
49 <b>checkDjangoExtraUsed</b>(<i>reportError, context, config</i>) |
49 <b>checkDjangoExtraUsed</b>(<i>reportError, context, config</i>) |
50 |
50 |
51 <p> |
|
52 Function to check for potential SQL injection on extra function. |
|
53 </p> |
|
54 <dl> |
|
55 |
|
56 <dt><i>reportError</i> (func)</dt> |
|
57 <dd> |
|
58 function to be used to report errors |
|
59 </dd> |
|
60 <dt><i>context</i> (SecurityContext)</dt> |
|
61 <dd> |
|
62 security context object |
|
63 </dd> |
|
64 <dt><i>config</i> (dict)</dt> |
|
65 <dd> |
|
66 dictionary with configuration data |
|
67 </dd> |
|
68 </dl> |
|
69 <div align="right"><a href="#top">Up</a></div> |
51 <div align="right"><a href="#top">Up</a></div> |
70 <hr /> |
52 <hr /> |
71 <hr /> |
53 <hr /> |
72 <a NAME="checkDjangoRawSqlUsed" ID="checkDjangoRawSqlUsed"></a> |
54 <a NAME="checkDjangoRawSqlUsed" ID="checkDjangoRawSqlUsed"></a> |
73 <h2>checkDjangoRawSqlUsed</h2> |
55 <h2>checkDjangoRawSqlUsed</h2> |
74 <b>checkDjangoRawSqlUsed</b>(<i>reportError, context, config</i>) |
56 <b>checkDjangoRawSqlUsed</b>(<i>reportError, context, config</i>) |
75 |
57 |
76 <p> |
|
77 Function to check for potential SQL injection on RawSQL function. |
|
78 </p> |
|
79 <dl> |
|
80 |
|
81 <dt><i>reportError</i> (func)</dt> |
|
82 <dd> |
|
83 function to be used to report errors |
|
84 </dd> |
|
85 <dt><i>context</i> (SecurityContext)</dt> |
|
86 <dd> |
|
87 security context object |
|
88 </dd> |
|
89 <dt><i>config</i> (dict)</dt> |
|
90 <dd> |
|
91 dictionary with configuration data |
|
92 </dd> |
|
93 </dl> |
|
94 <div align="right"><a href="#top">Up</a></div> |
58 <div align="right"><a href="#top">Up</a></div> |
95 <hr /> |
59 <hr /> |
96 <hr /> |
60 <hr /> |
97 <a NAME="getChecks" ID="getChecks"></a> |
61 <a NAME="getChecks" ID="getChecks"></a> |
98 <h2>getChecks</h2> |
62 <h2>getChecks</h2> |