PHP test suite - XSS, SQLi 1.0.0 Test suite #114
DownloadDescription
Synthetic PHP test cases focusing on SQL injection (SQLi).
Displaying test cases 7201 - 7225 of 248592 in total
-
Source: filter_input_prm__<c>(INPUT_GET)_<s>(t)_<c>(FILTER_SANITIZE_SPECIAL_CHARS) Sanitization: preg_replace_prm__<s>(_'_)_<s>() Dataflow: assignment Context: sql_plain Sink: pg_query_prm__<$>(db)
-
Source: filter_input_prm__<c>(INPUT_GET)_<s>(t)_<c>(FILTER_SANITIZE_NUMBER_FLOAT) Sanitization: is_numeric Dataflow: assignment Context: xss_html_param Sink: vprintf_prm__<s>(This%s)
-
Source: filter_input_prm__<c>(INPUT_GET)_<s>(t)_<c>(FILTER_SANITIZE_URL) Sanitization: htmlentities_prm__<c>(ENT_NOQUOTES) Dataflow: assignment Context: sql_quotes Sink: mysqli_multi_query_prm__<$>(db)
-
Source: filter_input_array_prm__<c>(INPUT_GET)_<array>(<ae_k>(<s>(t),<c>(FILTER_UNSAFE_RAW))) Sanitization: str_ireplace_prm__<s>(')_<s>() Dataflow: assignment Context: xss_javascript_no_enclosure Sink: trigger_error_prm__<c>(E_USER_ERROR)
-
Source: filter_input_array_prm__<c>(INPUT_GET)_<array>(<ae_k>(<s>(t),<c>(FILTER_SANITIZE_URL))) Sanitization: str_replace_prm__<array>(<ae>(<s>(")), <ae>(<s>(')), <ae>(<s>(\<)) , <ae>(<s>(\>)))_<s>() Dataflow: assignment Context: xss_plain Sink: user_error_prm_
-
Source: _COOKIE Sanitization: filter_var_prm__<c>(FILTER_SANITIZE_SPECIAL_CHARS) Dataflow: assignment Context: xss_apostrophe Sink: trigger_error_prm__<c>(E_USER_ERROR)
-
Source: filter_input_array_prm__<c>(INPUT_GET)_<array>(<ae_k>(<s>(t),<c>(FILTER_SANITIZE_NUMBER_INT))) Sanitization: strstr_prm__<s>(1) Dataflow: assignment Context: xss_quotes Sink: print_func
-
Source: filter_input_array_prm__<c>(INPUT_GET)_<array>(<ae_k>(<s>(t),<c>(FILTER_SANITIZE_ADD_SLASHES))) Sanitization: json_encode_prm__<c>(ENT_COMPAT) Dataflow: assignment Context: xss_javascript Sink: echo_func
-
Source: filter_input_prm__<c>(INPUT_GET)_<s>(t)_<c>(FILTER_SANITIZE_ADD_SLASHES) Sanitization: hash_hmac_prm__<s>(md5)_<s>(salt) Dataflow: assignment Context: xss_quotes Sink: trigger_error_prm__<c>(E_USER_ERROR)
-
Source: filter_input_prm__<c>(INPUT_GET)_<s>(t)_<c>(FILTER_SANITIZE_URL) Sanitization: preg_match_prm__<s>(_^[0-9]*$_) Dataflow: assignment Context: xss_javascript_no_enclosure Sink: vprintf_prm__<s>(This%d)
-
Source: filter_input_prm__<c>(INPUT_GET)_<s>(t)_<c>(FILTER_SANITIZE_EMAIL) Sanitization: gzcompress_prm_ Dataflow: assignment Context: xss_javascript Sink: trigger_error_prm__<c>(E_USER_ERROR)
-
Source: filter_input_prm__<c>(INPUT_GET)_<s>(t)_<c>(FILTER_SANITIZE_NUMBER_INT) Sanitization: rawurlencode Dataflow: assignment Context: sql_quotes Sink: mysqli_multi_query_method_prm__<$>(db)
-
Source: filter_input_array_prm__<c>(INPUT_GET)_<array>(<ae_k>(<s>(t),<c>(FILTER_UNSAFE_RAW))) Sanitization: sizeof_prm__<c>(COUNT_NORMAL) Dataflow: assignment Context: xss_quotes Sink: printf_func_prm__<s>(Print this: %s)
-
Source: filter_input_prm__<c>(INPUT_GET)_<s>(t)_<c>(FILTER_SANITIZE_NUMBER_FLOAT) Sanitization: filter_var_prm__<c>(FILTER_SANITIZE_SPECIAL_CHARS) Dataflow: assignment Context: xss_quotes Sink: echo_func
-
Source: _GET Sanitization: is_int Dataflow: assignment Context: xss_plain Sink: echo_func
-
Source: filter_input_array_prm__<c>(INPUT_GET)_<array>(<ae_k>(<s>(t),<c>(FILTER_SANITIZE_NUMBER_INT))) Sanitization: str_word_count_prm__<i>(1) Dataflow: assignment Context: xss_javascript Sink: exit
-
Source: filter_input_prm__<c>(INPUT_GET)_<s>(t)_<c>(FILTER_SANITIZE_NUMBER_FLOAT) Sanitization: htmlentities_prm__<c>(ENT_QUOTES) Dataflow: assignment Context: sql_apostrophe Sink: sqlsrv_query_prm__<$>(db)
-
Source: filter_input_prm__<c>(INPUT_GET)_<s>(t)_<c>(FILTER_SANITIZE_URL) Sanitization: htmlspecialchars_prm__<c>(ENT_QUOTES) Dataflow: assignment Context: xss_html_param Sink: vprintf_prm__<s>(This%d)
-
Source: filter_input_array_prm__<c>(INPUT_GET)_<array>(<ae_k>(<s>(t),<c>(FILTER_SANITIZE_FULL_SPECIAL_CHARS))) Sanitization: preg_replace_prm__<s>(_'_)_<s>() Dataflow: assignment Context: xss_apostrophe Sink: printf_func_prm__<s>(Print this: %d)
-
Source: apache_request_headers Sanitization: sscanf_prm__<s>(foo %s) Dataflow: assignment Context: xss_html_param Sink: echo_func
-
Source: filter_input_prm__<c>(INPUT_GET)_<s>(t)_<c>(FILTER_SANITIZE_EMAIL) Sanitization: htmlentities_1 Dataflow: assignment Context: xss_quotes Sink: print_func
-
Source: filter_input_array_prm__<c>(INPUT_GET)_<array>(<ae_k>(<s>(t),<c>(FILTER_SANITIZE_SPECIAL_CHARS))) Sanitization: substr_count_prm__<s>(needle) Dataflow: assignment Context: xss_html_param_a Sink: user_error_prm_
-
Source: getallheaders Sanitization: http_build_query_prm_ Dataflow: assignment Context: xss_html_param Sink: vprintf_prm__<s>(This%d)
-
Source: _POST Sanitization: strpos_prm__<s>(needle) Dataflow: assignment Context: xss_javascript_no_enclosure Sink: printf_func_prm__<s>(Print this: %s)
-
Source: filter_input_array_prm__<c>(INPUT_GET)_<array>(<ae_k>(<s>(t),<c>(FILTER_SANITIZE_EMAIL))) Sanitization: gettype_check_prm__<s>(boolean) Dataflow: assignment Context: sql_apostrophe Sink: mysqli_multi_query_method_prm__<$>(db)