mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 04:34:46 +01:00
rm print
This commit is contained in:
1 parent
db63fc1bf4
commit
07e1c30592
1 file changed
-4
@@ -1,8 +1,6 @@
|
||||
package rules
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"regexp"
|
||||
|
||||
"github.com/zricethezav/gitleaks/v8/cmd/generate/secrets"
|
||||
@@ -20,9 +18,7 @@ func TelegramBotToken() *config.Rule {
|
||||
"telegr",
|
||||
},
|
||||
}
|
||||
fmt.Println("r: ", r.Regex.String())
|
||||
|
||||
// https://regex101.com/r/7fFAhS/1
|
||||
// validate
|
||||
var (
|
||||
validToken = secrets.NewSecret(numeric("8") + ":A" + alphaNumericExtendedShort("34"))
|
||||
|
||||
Reference in new issue
Block a user