-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmain.go
51 lines (41 loc) · 794 Bytes
/
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package main
import (
"Warden/Console"
"fmt"
)
func test() {
ris := [](map[string]string){}
res := make(map[string]string)
res["test"] = "123"
ris = append(ris, res)
fmt.Print(ris)
}
func main() {
//Redis.Saveip("1.1.8.8")
//Redis.Redis_test()
//Elasticsearch.Estest()
//Crawl.Getdata("http://192.168.20.30")
Console.Console()
//gethosts, err := Console.Gethosts("203.93.136.0/22")
//if err != nil {
// return
//}
//for _, num := range gethosts {
// println(num)
//Warden_api.Querytest()
//test()
//Console.Getip()
//Redis.Getip()
//Console.Ipread()
//Wash.GetAddress("27.211.25.204")
//address:=GetAddress(ip)
//Console.Mynmap()
//Console.Ipread()
//
//func checkErr(err error) {
// if err != nil {
// fmt.Println(err.Error())
// return
// }
//
}