Remove debug logs from previous PR
This commit is contained in:
committed by
Brendan Le Glaunec
parent
a2af1329d7
commit
ebce965730
@@ -55,16 +55,6 @@ func RunNmap(targets, ports string, resultFilePath string, nmapSpeed int, enable
|
||||
targets,
|
||||
)
|
||||
|
||||
fmt.Println(
|
||||
"nmap",
|
||||
fmt.Sprintf("-T%d", nmapSpeed),
|
||||
"-A",
|
||||
"-p",
|
||||
ports,
|
||||
"-oX",
|
||||
resultFilePath,
|
||||
targets)
|
||||
|
||||
// Pipe stdout to be able to write the logs in realtime
|
||||
stdout, err := cmd.StdoutPipe()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user