summaryrefslogtreecommitdiff
path: root/php_suhosin.h
diff options
context:
space:
mode:
authorBen Fuhrmannek2014-07-09 12:47:03 +0200
committerBen Fuhrmannek2014-07-09 12:47:03 +0200
commit63de1053dfda1faca22a84afb82d6b1315b8db6e (patch)
treebd8cb94aad6977de6410b4dbf251672ac016532c /php_suhosin.h
parent93721fdd94f90d48b290749398a26cef277ad129 (diff)
added sql.user_match + username character check
Diffstat (limited to 'php_suhosin.h')
-rw-r--r--php_suhosin.h45
1 files changed, 23 insertions, 22 deletions
diff --git a/php_suhosin.h b/php_suhosin.h
index e5604a7..e85fc38 100644
--- a/php_suhosin.h
+++ b/php_suhosin.h
@@ -76,15 +76,16 @@ ZEND_BEGIN_MODULE_GLOBALS(suhosin)
76 char *filter_action; 76 char *filter_action;
77 char *sql_user_prefix; 77 char *sql_user_prefix;
78 char *sql_user_postfix; 78 char *sql_user_postfix;
79 long sql_comment; 79 char *sql_user_match;
80 long sql_opencomment; 80 long sql_comment;
81 long sql_union; 81 long sql_opencomment;
82 long sql_mselect; 82 long sql_union;
83 long sql_mselect;
83 84
84 long max_execution_depth; 85 long max_execution_depth;
85 zend_bool abort_request; 86 zend_bool abort_request;
86 long executor_include_max_traversal; 87 long executor_include_max_traversal;
87 zend_bool executor_include_allow_writable_files; 88 zend_bool executor_include_allow_writable_files;
88 89
89 90
90 HashTable *include_whitelist; 91 HashTable *include_whitelist;
@@ -152,11 +153,11 @@ ZEND_BEGIN_MODULE_GLOBALS(suhosin)
152 zend_bool upload_remove_binary; 153 zend_bool upload_remove_binary;
153 char *upload_verification_script; 154 char *upload_verification_script;
154 155
155 zend_bool no_more_variables; 156 zend_bool no_more_variables;
156 zend_bool no_more_get_variables; 157 zend_bool no_more_get_variables;
157 zend_bool no_more_post_variables; 158 zend_bool no_more_post_variables;
158 zend_bool no_more_cookie_variables; 159 zend_bool no_more_cookie_variables;
159 zend_bool no_more_uploads; 160 zend_bool no_more_uploads;
160 161
161 162
162 163
@@ -198,8 +199,8 @@ ZEND_BEGIN_MODULE_GLOBALS(suhosin)
198 int (*old_s_destroy)(void **mod_data, const char *key TSRMLS_DC); 199 int (*old_s_destroy)(void **mod_data, const char *key TSRMLS_DC);
199 200
200 BYTE fi[24],ri[24]; 201 BYTE fi[24],ri[24];
201 WORD fkey[120]; 202 WORD fkey[120];
202 WORD rkey[120]; 203 WORD rkey[120];
203 204
204 zend_bool session_encrypt; 205 zend_bool session_encrypt;
205 char* session_cryptkey; 206 char* session_cryptkey;
@@ -247,16 +248,16 @@ ZEND_BEGIN_MODULE_GLOBALS(suhosin)
247 zend_bool mt_is_seeded; 248 zend_bool mt_is_seeded;
248 249
249 /* PERDIR Handling */ 250 /* PERDIR Handling */
250 char *perdir; 251 char *perdir;
251 zend_bool log_perdir; 252 zend_bool log_perdir;
252 zend_bool exec_perdir; 253 zend_bool exec_perdir;
253 zend_bool get_perdir; 254 zend_bool get_perdir;
254 zend_bool post_perdir; 255 zend_bool post_perdir;
255 zend_bool cookie_perdir; 256 zend_bool cookie_perdir;
256 zend_bool request_perdir; 257 zend_bool request_perdir;
257 zend_bool upload_perdir; 258 zend_bool upload_perdir;
258 zend_bool sql_perdir; 259 zend_bool sql_perdir;
259 zend_bool misc_perdir; 260 zend_bool misc_perdir;
260 261
261ZEND_END_MODULE_GLOBALS(suhosin) 262ZEND_END_MODULE_GLOBALS(suhosin)
262 263