naabu api error #1614
ruidanwang
started this conversation in
General
naabu api error
#1614
Replies: 4 comments
-
|
Could you provide the repro steps? Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
i'm sure installed libpcap library for packet capturing. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I couldn't repro the issue, see: package main
import (
"context"
"log"
"github.com/projectdiscovery/goflags"
"github.com/projectdiscovery/naabu/v2/pkg/result"
"github.com/projectdiscovery/naabu/v2/pkg/runner"
)
func main() {
options := runner.Options{
Host: goflags.StringSlice{"scanme.sh"},
ScanType: "s",
OnResult: func(hr *result.HostResult) {
log.Println(hr.Host, hr.Ports)
},
Ports: "80",
}
naabuRunner, err := runner.NewRunner(&options)
if err != nil {
log.Fatal(err)
}
defer naabuRunner.Close()
naabuRunner.RunEnumeration(context.Background())
}$ go run .
[INF] Host discovery disabled: less than two ports were specified
[INF] Running CONNECT scan with non root privileges
scanme.sh:80
[INF] Found 1 ports on host scanme.sh (128.199.158.128)
2026/01/04 16:04:33 scanme.sh [80] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
when i use naabu as library,and follow sample program the error is :
github.com/projectdiscovery/[email protected]/crypto/ztls.go:59:46: conn.GetHeartbleedLog undefined (type *"github.com/zmap/zcrypto/tls".Conn has no field or method GetHeartbleedLog)
Beta Was this translation helpful? Give feedback.
All reactions