Skip to content

Commit

Permalink
removed debug instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
Mzack9999 committed Jun 6, 2020
1 parent f378a62 commit 8a6ffb0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/scan/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package scan

import (
"fmt"
"log"
"math"
"math/rand"
"net"
Expand Down Expand Up @@ -144,7 +143,6 @@ func (s *Scanner) ScanSyn(wordlist map[int]struct{}) (map[int]struct{}, error) {
if !ok {
continue
}
log.Println(addr.String(), s.host.String(), rawPort, tcp.DstPort, tcp.SrcPort, "syn", tcp.SYN, "ack", tcp.ACK)
// We consider only incoming packets
if tcp.DstPort != layers.TCPPort(rawPort) {
continue
Expand Down

0 comments on commit 8a6ffb0

Please sign in to comment.