mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2026-11-02 19:21:44 +08:00
14 lines
247 B
Go
14 lines
247 B
Go
package libinjection
|
|
|
|
import (
|
|
"github.com/corazawaf/libinjection-go"
|
|
)
|
|
|
|
func IsXSS(input string) bool {
|
|
return libinjection.IsXSS(input)
|
|
}
|
|
func IsSQLiNotReturnPrint(input string) bool {
|
|
result, _ := libinjection.IsSQLi(input)
|
|
return result
|
|
}
|