File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ func TodoShodan() []string {
44
44
}
45
45
wg .Wait ()
46
46
47
- //fmt.Println(string(resp))
48
47
return SumSlice1
49
48
50
49
}
@@ -69,6 +68,8 @@ func SendReq1(key string, num int) []string {
69
68
return SendReq1 (ones .GetToken ("shodan" ), num )
70
69
}
71
70
71
+ //fmt.Println(string(resp))
72
+
72
73
var shodan ones.ShodanInfo
73
74
_ = json .Unmarshal (resp , & shodan )
74
75
Original file line number Diff line number Diff line change @@ -44,11 +44,11 @@ func TodoZoomeye() []string {
44
44
}
45
45
wg .Wait ()
46
46
47
- //fmt.Println(string(resp.Body()))
48
47
return SumSlice
49
48
50
49
}
51
50
51
+ // SendReq https://www.zoomeye.org/doc
52
52
func SendReq (key string , num int ) []string {
53
53
zoomeyeRecursion += 1
54
54
if zoomeyeRecursion % ones .Recursion == 0 {
@@ -71,6 +71,8 @@ func SendReq(key string, num int) []string {
71
71
os .Exit (3 )
72
72
}
73
73
74
+ //fmt.Println(string(resp.Body()))
75
+
74
76
var zoomeye ones.ZoomInfo
75
77
_ = json .Unmarshal (resp .Body (), & zoomeye )
76
78
@@ -85,5 +87,4 @@ func SendReq(key string, num int) []string {
85
87
return resp2
86
88
}
87
89
88
-
89
90
}
You can’t perform that action at this time.
0 commit comments