-
sec_check_all_params
-
Check if any field appears to be attacked
-
sec_check_magic_cookie
-
Check for "Magic Cookies" attack
-
sec_check_param
-
Check if a simple field appears to be attacked
-
sec_clean_all
-
Clean the string to avoid XSS, SQL Injection, Directory Traversal and filename/command attacks.
-
sec_clean_cmd
-
Clean the string to avoid filename of command attacks
-
sec_clean_dir
-
Clean the string to avoid Directory Traversal attacks
-
sec_clean_sql
-
Clean the string to avoid SQL Injection attacks
-
sec_clean_xss
-
Clean the string to avoid XSS attacks
-
sec_decrypt
-
Return an string decrypted
-
sec_die
-
The function makes the security actions that are specifieds
-
sec_encrypt
-
Return an encrypted string
-
SEC_ERROR_MESSAGE
-
Unique error message to show. Is unique because different messages makes possible vulnerabilities found.
-
sec_gather_info
-
Gather all possible information
-
sec_gather_nmap_info
-
Gather information with the nmap tool (must be installed, of course)
-
sec_gather_server_info
-
Gather information about the $_SERVER array
-
sec_get_float
-
-
sec_get_int
-
-
sec_is_attack
-
Appears to be an attack?
-
sec_is_directory_traversal
-
Appears to be an Directory Traversal attack?
-
sec_is_sql_injection
-
Appears to be an SQL Injection attack?
-
sec_is_valid_email
-
-
sec_is_xss
-
Appears to be an XSS attack?
-
SEC_MAX_ARGUMENT_LENGTH
-
Maximun length of any checked parameter.
-
sec_paranoic_check
-
Returns true if any meta-character that is stored in $var_meta_characters found
-
sec_paranoid_check_all_params
-
Check if any field appears to be attacked in paranoid mode.
-
sec_paranoid_check_param
-
Check if a simple field appears to be attacked in paranoid mode.
-
sec_paranoid_clean
-
Paranoid check of the passed string.
-
sec_put
-
Return an encrypted string
-
sec_read_cookie
-
Read a param passed in a Cookie and decrypt it
-
sec_read_get
-
Read a param passed using GET method and decrypt it
-
sec_read_post
-
Read a param passed using POST method and decrypt it
-
sec_write_cookie
-
Send an encrypted cookie. To decrypt cookie use the function sec_read_cookie.
-
sec_write_simple_cookie
-
Send an encrypted cookie. To decrypt cookie use the function sec_read_cookie.