1
0
mirror of https://github.com/zu1k/nali.git synced 2025-01-23 05:39:03 +08:00
nali/internal/tools/iptools_test.go

13 lines
178 B
Go
Raw Normal View History

2020-07-21 17:23:38 +08:00
package tools
2020-07-17 10:52:36 +08:00
import (
"fmt"
"testing"
)
func TestIP4Re(t *testing.T) {
str := "aaa1.1.11.23a36.36.32.200"
fmt.Println(GetIP4FromString(str))
fmt.Println(ValidIP4(str))
}