Skip to content
New issue

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

same issue multiple time runtime error #153

Closed
khanjanny opened this issue Oct 25, 2023 · 2 comments
Closed

same issue multiple time runtime error #153

khanjanny opened this issue Oct 25, 2023 · 2 comments

Comments

@khanjanny
Copy link

khanjanny commented Oct 25, 2023

Basic Scan

scan4all -l ips.txt -csv -o out.csv

after running portscan it throwing this error.

error log:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0xe8f50f]

goroutine 138842775 [running]:
github.com/hktalent/scan4all/lib/util.(*CheckerTools).Check(0x0, {0xc01f1f0d40, 0x2, 0x2})
	/home/khan/Desktop/tools/scan4all/lib/util/checkerImp.go:80 +0x2f
github.com/hktalent/scan4all/lib/util.CheckResp({0xc00d57d980, 0x25}, {0xc00b391928, 0x1, 0x7f42d04d7310?})
	/home/khan/Desktop/tools/scan4all/lib/util/checkerImp.go:120 +0x54
github.com/hktalent/scan4all/lib/util.GetLimitReader(0xc00ae61b90)
	/home/khan/Desktop/tools/scan4all/lib/util/util.go:192 +0x55
github.com/hktalent/scan4all/lib/util.GetResponse.func1(0xc00ae61b90, {0x0?, 0x0?}, {0xc?, 0xc011bd3290?})
	/home/khan/Desktop/tools/scan4all/lib/util/util.go:214 +0x1ed
github.com/hktalent/PipelineHttp.(*PipelineHttp).DoGetWithClient4SetHd(0xc00a1cabb0, 0x0?, {0xc011bd3290, 0x25}, {0x20e96f5, 0x3}, {0x584d3c0, 0xc02a4cec00}, 0xc00b391ca8, 0xc00b391cd0, ...)
	/home/khan/Desktop/tools/scan4all/vendor/github.com/hktalent/PipelineHttp/PipelineHttp.go:277 +0xa1c
github.com/hktalent/scan4all/lib/util.GetResponse({0x0, 0x0}, {0x0, 0x0}, {0xc011bd3290, 0x25}, {0x20e96f5, 0x3}, {0x0, 0x0}, ...)
	/home/khan/Desktop/tools/scan4all/lib/util/util.go:205 +0x294
github.com/hktalent/scan4all/lib/util.HttpRequset({0xc011bd3290, 0x25}, {0x20e96f5?, 0x1?}, {0x0?, 0x1da5e40?}, 0xa5?, 0x7f42c89b6618?)
	/home/khan/Desktop/tools/scan4all/lib/util/util.go:244 +0x65
github.com/hktalent/scan4all/lib/util.TestIsWeb01({0xc00b50588a, 0x19})
	/home/khan/Desktop/tools/scan4all/lib/util/config.go:489 +0x3a5
github.com/hktalent/scan4all/lib/util.TestIsWeb(0xc00086e730)
	/home/khan/Desktop/tools/scan4all/lib/util/util.go:254 +0xad
github.com/hktalent/scan4all/webScan.CheckUrls(0x0?)
	/home/khan/Desktop/tools/scan4all/webScan/webScanUrls.go:46 +0x9e
github.com/hktalent/scan4all/pkg/naabu/v2/pkg/runner.(*Runner).Httpxrun.func1.1()
	/home/khan/Desktop/tools/scan4all/pkg/naabu/v2/pkg/runner/runner.go:91 +0x25
github.com/hktalent/scan4all/lib/util.DoSyncFunc.func1()
	/home/khan/Desktop/tools/scan4all/lib/util/Const.go:79 +0xe9
created by github.com/hktalent/scan4all/lib/util.DoSyncFunc
	/home/khan/Desktop/tools/scan4all/lib/util/Const.go:71 +0x6a
@ahisec
Copy link

ahisec commented Nov 1, 2023

我也遇到了一样的错误

@V4V0ID
Copy link

V4V0ID commented Dec 11, 2023

same error here

Environment:

Arm64 Kali Linux Nethunter Chroot on Oneplus8Pro Android 12

一样的报错

环境是Kali Linux 基于ARM64 的chroot环境 运行在安卓12上

`panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x60 pc=0x12ad038]

goroutine 58 [running]:
github.com/hktalent/scan4all/pkg/hydra.DoParseXml({0x4007230000, 0x2e30f}, 0x2e30f?)
/v/scan4all/pkg/hydra/doNmapResult.go:77 +0x648
github.com/hktalent/scan4all/pkg/hydra.DoNmapRst(0x1c5b240?)
/v/scan4all/pkg/hydra/doNmapResult.go:174 +0x1ec
github.com/hktalent/scan4all/pkg/naabu/v2/pkg/runner.(*Runner).DoTargets(0x400058a8c0)
/v/scan4all/pkg/naabu/v2/pkg/runner/targets.go:215 +0x948
github.com/hktalent/scan4all/pkg/naabu/v2/pkg/runner.(*Runner).PreProcessTargets(0x400058a8c0)
/v/scan4all/pkg/naabu/v2/pkg/runner/targets.go:244 +0x38
github.com/hktalent/scan4all/pkg/naabu/v2/pkg/runner.(*Runner).Load(0x400058a8c0)
/v/scan4all/pkg/naabu/v2/pkg/runner/targets.go:38 +0x5c
github.com/hktalent/scan4all/pkg/naabu/v2/pkg/runner.(*Runner).RunEnumeration(0x400058a8c0)
/v/scan4all/pkg/naabu/v2/pkg/runner/runner.go:239 +0x18c
main.main.StartScan.func2()
/v/scan4all/lib/api/main.go:85 +0x4f0
github.com/hktalent/scan4all/lib/util.DoSyncFunc.func1()
/v/scan4all/lib/util/Const.go:79 +0xe0
created by github.com/hktalent/scan4all/lib/util.DoSyncFunc in goroutine 1
/v/scan4all/lib/util/Const.go:71 +0x70`

myxxx23 pushed a commit that referenced this issue Dec 21, 2023
Superoldman96 pushed a commit to Superoldman96/scan4all that referenced this issue Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants