We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I encounter an issue when running the tool, "invalid argument to Int63n". This is my command that I ran: kr scan https://test-api.com -w routes-large.kite -x 10 -d 2 Os: MacOs m2 Error output: panic: invalid argument to Int63n goroutine 1 [running]: math/rand.(*Rand).Int63n(0x14000d51c98?, 0x102554408?) /opt/homebrew/opt/go/libexec/src/math/rand/rand.go:122 +0xe4 math/rand.Int63n(0xffffffffffffffff) /opt/homebrew/opt/go/libexec/src/math/rand/rand.go:443 +0x28 github.com/assetnote/kiterunner/pkg/proute.IntCrumb.RawValue({0x8000000000000000, 0x7fffffffffffffff, 0x0, 0x0, {0x140019450ea, 0x5}}, {0x60?, 0x12d76d500?, 0x20?}) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/pkg/proute/crumb.go:143 +0x7c github.com/assetnote/kiterunner/pkg/proute.IntCrumb.Value({0x8000000000000000, 0x7fffffffffffffff, 0x0, 0x0, {0x140019450ea, 0x5}}, {0x14081d05f20?, 0x102cb8ac0?, 0x1?}) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/pkg/proute/crumb.go:124 +0x44 github.com/assetnote/kiterunner/pkg/proute.ObjectCrumb.Value({{0x140019450cc, 0x4}, {0x1403e9b0700, 0xd, 0x10}}, {0x14081d1f2a0, 0x2, 0x2}) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/pkg/proute/crumb.go:385 +0x630 github.com/assetnote/kiterunner/pkg/proute.ObjectCrumb.Value({{0x102b3d8a7, 0x4}, {0x14047a57650, 0x1, 0x1}}, {0x14081beebf0, 0x1, 0x1}) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/pkg/proute/crumb.go:385 +0x630 github.com/assetnote/kiterunner/pkg/proute.Route.Body({{0x140018edb00, 0x17}, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x0}, {0x0, 0x0, ...}, ...}, ...) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/pkg/proute/route.go:133 +0x34c github.com/assetnote/kiterunner/pkg/proute.Route.ToKiterunner({{0x140018edb00, 0x17}, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x0}, {0x0, 0x0, ...}, ...}, ...) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/pkg/proute/kiterunner.go:80 +0x4e8 github.com/assetnote/kiterunner/pkg/proute.ToKiterunnerRoutes({{0x14001944e30, 0xd}, {0x14001921410, 0x28}, {0x14047a98008, 0x3e, 0x46}, {0x0, 0x0, 0x0}, ...}) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/pkg/proute/kiterunner.go:29 +0xdc github.com/assetnote/kiterunner/cmd/kiterunner/cmd.init.func6.LoadKitebuilderFile.9(0x1400034c000) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/internal/scan/options.go:456 +0x2e0 github.com/assetnote/kiterunner/internal/scan.ScanDomainOrFile({0x102d8d460, 0x14000166b40}, {0x16d8bb798?, 0x10255cdb4?}, {0x14000d53c88, 0x15, 0x14000037af8?}) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/internal/scan/scan.go:61 +0x1ec github.com/assetnote/kiterunner/cmd/kiterunner/cmd.init.func6(0x14000148d00?, {0x140001fdab0?, 0x4?, 0x102b3d7f3?}) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/cmd/kiterunner/cmd/scan.go:120 +0x5d4 github.com/spf13/cobra.(*Command).execute(0x10325a560, {0x140001fda40, 0x7, 0x7}) /Users/nathans/go/pkg/mod/github.com/spf13/[email protected]/command.go:856 +0x550 github.com/spf13/cobra.(*Command).ExecuteC(0x10325a060) /Users/nathans/go/pkg/mod/github.com/spf13/[email protected]/command.go:960 +0x310 github.com/spf13/cobra.(*Command).Execute(...) /Users/nathans/go/pkg/mod/github.com/spf13/[email protected]/command.go:897 github.com/assetnote/kiterunner/cmd/kiterunner/cmd.Execute() /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/cmd/kiterunner/cmd/root.go:37 +0x24 main.main() /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/cmd/kiterunner/main.go:5 +0x1c Thank you for help
kr scan https://test-api.com -w routes-large.kite -x 10 -d 2
panic: invalid argument to Int63n goroutine 1 [running]: math/rand.(*Rand).Int63n(0x14000d51c98?, 0x102554408?) /opt/homebrew/opt/go/libexec/src/math/rand/rand.go:122 +0xe4 math/rand.Int63n(0xffffffffffffffff) /opt/homebrew/opt/go/libexec/src/math/rand/rand.go:443 +0x28 github.com/assetnote/kiterunner/pkg/proute.IntCrumb.RawValue({0x8000000000000000, 0x7fffffffffffffff, 0x0, 0x0, {0x140019450ea, 0x5}}, {0x60?, 0x12d76d500?, 0x20?}) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/pkg/proute/crumb.go:143 +0x7c github.com/assetnote/kiterunner/pkg/proute.IntCrumb.Value({0x8000000000000000, 0x7fffffffffffffff, 0x0, 0x0, {0x140019450ea, 0x5}}, {0x14081d05f20?, 0x102cb8ac0?, 0x1?}) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/pkg/proute/crumb.go:124 +0x44 github.com/assetnote/kiterunner/pkg/proute.ObjectCrumb.Value({{0x140019450cc, 0x4}, {0x1403e9b0700, 0xd, 0x10}}, {0x14081d1f2a0, 0x2, 0x2}) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/pkg/proute/crumb.go:385 +0x630 github.com/assetnote/kiterunner/pkg/proute.ObjectCrumb.Value({{0x102b3d8a7, 0x4}, {0x14047a57650, 0x1, 0x1}}, {0x14081beebf0, 0x1, 0x1}) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/pkg/proute/crumb.go:385 +0x630 github.com/assetnote/kiterunner/pkg/proute.Route.Body({{0x140018edb00, 0x17}, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x0}, {0x0, 0x0, ...}, ...}, ...) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/pkg/proute/route.go:133 +0x34c github.com/assetnote/kiterunner/pkg/proute.Route.ToKiterunner({{0x140018edb00, 0x17}, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x0}, {0x0, 0x0, ...}, ...}, ...) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/pkg/proute/kiterunner.go:80 +0x4e8 github.com/assetnote/kiterunner/pkg/proute.ToKiterunnerRoutes({{0x14001944e30, 0xd}, {0x14001921410, 0x28}, {0x14047a98008, 0x3e, 0x46}, {0x0, 0x0, 0x0}, ...}) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/pkg/proute/kiterunner.go:29 +0xdc github.com/assetnote/kiterunner/cmd/kiterunner/cmd.init.func6.LoadKitebuilderFile.9(0x1400034c000) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/internal/scan/options.go:456 +0x2e0 github.com/assetnote/kiterunner/internal/scan.ScanDomainOrFile({0x102d8d460, 0x14000166b40}, {0x16d8bb798?, 0x10255cdb4?}, {0x14000d53c88, 0x15, 0x14000037af8?}) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/internal/scan/scan.go:61 +0x1ec github.com/assetnote/kiterunner/cmd/kiterunner/cmd.init.func6(0x14000148d00?, {0x140001fdab0?, 0x4?, 0x102b3d7f3?}) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/cmd/kiterunner/cmd/scan.go:120 +0x5d4 github.com/spf13/cobra.(*Command).execute(0x10325a560, {0x140001fda40, 0x7, 0x7}) /Users/nathans/go/pkg/mod/github.com/spf13/[email protected]/command.go:856 +0x550 github.com/spf13/cobra.(*Command).ExecuteC(0x10325a060) /Users/nathans/go/pkg/mod/github.com/spf13/[email protected]/command.go:960 +0x310 github.com/spf13/cobra.(*Command).Execute(...) /Users/nathans/go/pkg/mod/github.com/spf13/[email protected]/command.go:897 github.com/assetnote/kiterunner/cmd/kiterunner/cmd.Execute() /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/cmd/kiterunner/cmd/root.go:37 +0x24 main.main() /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/cmd/kiterunner/main.go:5 +0x1c
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I encounter an issue when running the tool, "invalid argument to Int63n".
This is my command that I ran:
kr scan https://test-api.com -w routes-large.kite -x 10 -d 2
Os: MacOs m2
Error output:
panic: invalid argument to Int63n goroutine 1 [running]: math/rand.(*Rand).Int63n(0x14000d51c98?, 0x102554408?) /opt/homebrew/opt/go/libexec/src/math/rand/rand.go:122 +0xe4 math/rand.Int63n(0xffffffffffffffff) /opt/homebrew/opt/go/libexec/src/math/rand/rand.go:443 +0x28 github.com/assetnote/kiterunner/pkg/proute.IntCrumb.RawValue({0x8000000000000000, 0x7fffffffffffffff, 0x0, 0x0, {0x140019450ea, 0x5}}, {0x60?, 0x12d76d500?, 0x20?}) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/pkg/proute/crumb.go:143 +0x7c github.com/assetnote/kiterunner/pkg/proute.IntCrumb.Value({0x8000000000000000, 0x7fffffffffffffff, 0x0, 0x0, {0x140019450ea, 0x5}}, {0x14081d05f20?, 0x102cb8ac0?, 0x1?}) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/pkg/proute/crumb.go:124 +0x44 github.com/assetnote/kiterunner/pkg/proute.ObjectCrumb.Value({{0x140019450cc, 0x4}, {0x1403e9b0700, 0xd, 0x10}}, {0x14081d1f2a0, 0x2, 0x2}) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/pkg/proute/crumb.go:385 +0x630 github.com/assetnote/kiterunner/pkg/proute.ObjectCrumb.Value({{0x102b3d8a7, 0x4}, {0x14047a57650, 0x1, 0x1}}, {0x14081beebf0, 0x1, 0x1}) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/pkg/proute/crumb.go:385 +0x630 github.com/assetnote/kiterunner/pkg/proute.Route.Body({{0x140018edb00, 0x17}, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x0}, {0x0, 0x0, ...}, ...}, ...) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/pkg/proute/route.go:133 +0x34c github.com/assetnote/kiterunner/pkg/proute.Route.ToKiterunner({{0x140018edb00, 0x17}, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x0}, {0x0, 0x0, ...}, ...}, ...) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/pkg/proute/kiterunner.go:80 +0x4e8 github.com/assetnote/kiterunner/pkg/proute.ToKiterunnerRoutes({{0x14001944e30, 0xd}, {0x14001921410, 0x28}, {0x14047a98008, 0x3e, 0x46}, {0x0, 0x0, 0x0}, ...}) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/pkg/proute/kiterunner.go:29 +0xdc github.com/assetnote/kiterunner/cmd/kiterunner/cmd.init.func6.LoadKitebuilderFile.9(0x1400034c000) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/internal/scan/options.go:456 +0x2e0 github.com/assetnote/kiterunner/internal/scan.ScanDomainOrFile({0x102d8d460, 0x14000166b40}, {0x16d8bb798?, 0x10255cdb4?}, {0x14000d53c88, 0x15, 0x14000037af8?}) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/internal/scan/scan.go:61 +0x1ec github.com/assetnote/kiterunner/cmd/kiterunner/cmd.init.func6(0x14000148d00?, {0x140001fdab0?, 0x4?, 0x102b3d7f3?}) /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/cmd/kiterunner/cmd/scan.go:120 +0x5d4 github.com/spf13/cobra.(*Command).execute(0x10325a560, {0x140001fda40, 0x7, 0x7}) /Users/nathans/go/pkg/mod/github.com/spf13/[email protected]/command.go:856 +0x550 github.com/spf13/cobra.(*Command).ExecuteC(0x10325a060) /Users/nathans/go/pkg/mod/github.com/spf13/[email protected]/command.go:960 +0x310 github.com/spf13/cobra.(*Command).Execute(...) /Users/nathans/go/pkg/mod/github.com/spf13/[email protected]/command.go:897 github.com/assetnote/kiterunner/cmd/kiterunner/cmd.Execute() /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/cmd/kiterunner/cmd/root.go:37 +0x24 main.main() /Users/nathans/Documents/Tools/recon/kiterunner-1.0.2/cmd/kiterunner/main.go:5 +0x1c
Thank you for help
The text was updated successfully, but these errors were encountered: