Skip to content

Commit fbc2348

Browse files
committed
1
1 parent 0f80eb7 commit fbc2348

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

engine/shodan.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ func TodoShodan() []string {
4444
}
4545
wg.Wait()
4646

47-
//fmt.Println(string(resp))
4847
return SumSlice1
4948

5049
}
@@ -69,6 +68,8 @@ func SendReq1(key string, num int) []string {
6968
return SendReq1(ones.GetToken("shodan"), num)
7069
}
7170

71+
//fmt.Println(string(resp))
72+
7273
var shodan ones.ShodanInfo
7374
_ = json.Unmarshal(resp, &shodan)
7475

engine/zoomeye.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ func TodoZoomeye() []string {
4444
}
4545
wg.Wait()
4646

47-
//fmt.Println(string(resp.Body()))
4847
return SumSlice
4948

5049
}
5150

51+
// SendReq https://www.zoomeye.org/doc
5252
func SendReq(key string, num int) []string {
5353
zoomeyeRecursion += 1
5454
if zoomeyeRecursion % ones.Recursion == 0 {
@@ -71,6 +71,8 @@ func SendReq(key string, num int) []string {
7171
os.Exit(3)
7272
}
7373

74+
//fmt.Println(string(resp.Body()))
75+
7476
var zoomeye ones.ZoomInfo
7577
_ = json.Unmarshal(resp.Body(), &zoomeye)
7678

@@ -85,5 +87,4 @@ func SendReq(key string, num int) []string {
8587
return resp2
8688
}
8789

88-
8990
}

0 commit comments

Comments
 (0)