mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2025-12-06 06:58:54 +08:00
feat:remove ldp debug info
This commit is contained in:
@@ -2,16 +2,14 @@ package utils
|
||||
|
||||
import (
|
||||
"SamWaf/global"
|
||||
"fmt"
|
||||
)
|
||||
|
||||
func DeSenText(inStr string) string {
|
||||
|
||||
if outStr, results, err := global.GWAF_DLP.Deidentify(inStr); err == nil {
|
||||
fmt.Printf("\t1. Deidentify( inStr: %s )\n", inStr)
|
||||
fmt.Printf("\toutStr: %s\n", outStr)
|
||||
//fmt.Printf("\t1. Deidentify( inStr: %s )\n", inStr)
|
||||
//fmt.Printf("\toutStr: %s\n", outStr)
|
||||
global.GWAF_DLP.ShowResults(results)
|
||||
//fmt.Println()
|
||||
return outStr
|
||||
}
|
||||
return inStr
|
||||
|
||||
Reference in New Issue
Block a user