injectionutils

package
v1.3.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const MaxCacheDataSize = 1 << 20

Variables

This section is empty.

Functions

func DetectSQLInjection

func DetectSQLInjection(input string, isStrict bool) bool

DetectSQLInjection detect sql injection in string

func DetectSQLInjectionCache

func DetectSQLInjectionCache(input string, isStrict bool, cacheLife int) bool

DetectSQLInjectionCache detect sql injection in string with cache

func DetectXSS

func DetectXSS(input string, isStrict bool) bool

DetectXSS detect XSS in string

func DetectXSSCache

func DetectXSSCache(input string, isStrict bool, cacheLife int) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL