mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 13:26:01 +03:00
Libinject was recently updated to support XSS detection. This commit adds initial support to it.
22 lines
267 B
C
22 lines
267 B
C
#ifndef LIBINJECTION_XSS
|
|
#define LIBINJECTION_XSS
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* HEY THIS ISN'T DONE
|
|
*/
|
|
|
|
/* pull in size_t */
|
|
|
|
#include <string.h>
|
|
|
|
int libinjection_is_xss(const char* s, size_t len, int flags);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|