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

SIGKILL on PDCP_API_KEY environment #500

Open
dwisiswant0 opened this issue Aug 26, 2024 · 0 comments
Open

SIGKILL on PDCP_API_KEY environment #500

dwisiswant0 opened this issue Aug 26, 2024 · 0 comments

Comments

@dwisiswant0
Copy link
Member

Steps to Reproduce

$ export PDCP_API_KEY="x"
$ nuclei
SIGILL: illegal instruction
PC=0xbeeeb4 m=0 sigcode=2
instruction bytes: 0xc4 0x50 0x5d 0xc3 0x48 0x8d 0x15 0x61 0x90 0x9a 0x1 0x90 0x48 0x39 0xd6 0xf

goroutine 1 gp=0xc0000061c0 m=0 mp=0x4ea0f00 [running, locked to thread]:
github.com/projectdiscovery/utils/env.GetEnvOrDefault[...]({0x2b96032, 0x5?}, {0x0?, 0x0})
	/home/dw1/.go/pkg/mod/github.com/projectdiscovery/utils@v0.2.4/env/env.go:62 +0xb4 fp=0xc00111fde8 sp=0xc00111fd88 pc=0xbeeeb4
github.com/projectdiscovery/asnmap/libs.init()
	/home/dw1/.go/pkg/mod/github.com/projectdiscovery/asnmap@v1.1.1/libs/client.go:30 +0x2e fp=0xc00111fe20 sp=0xc00111fde8 pc=0x13f794e
runtime.doInit1(0x4ae71e0)
	/usr/local/go/src/runtime/proc.go:7176 +0xe8 fp=0xc00111ff50 sp=0xc00111fe20 pc=0x450e88
runtime.doInit(...)
	/usr/local/go/src/runtime/proc.go:7143
runtime.main()
	/usr/local/go/src/runtime/proc.go:253 +0x350 fp=0xc00111ffe0 sp=0xc00111ff50 pc=0x4424f0
runtime.goexit({})
	/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00111ffe8 sp=0xc00111ffe0 pc=0x47a861

goroutine 2 gp=0xc000006c40 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc0000a4fa8 sp=0xc0000a4f88 pc=0x44288e
runtime.goparkunlock(...)
	/usr/local/go/src/runtime/proc.go:408
runtime.forcegchelper()
	/usr/local/go/src/runtime/proc.go:326 +0xb3 fp=0xc0000a4fe0 sp=0xc0000a4fa8 pc=0x4426f3
runtime.goexit({})
	/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000a4fe8 sp=0xc0000a4fe0 pc=0x47a861
created by runtime.init.6 in goroutine 1
	/usr/local/go/src/runtime/proc.go:314 +0x1a

goroutine 3 gp=0xc000007180 m=nil [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc0000a5780 sp=0xc0000a5760 pc=0x44288e
runtime.goparkunlock(...)
	/usr/local/go/src/runtime/proc.go:408
runtime.bgsweep(0xc0000ce000)
	/usr/local/go/src/runtime/mgcsweep.go:318 +0xdf fp=0xc0000a57c8 sp=0xc0000a5780 pc=0x42c3df
runtime.gcenable.gowrap1()
	/usr/local/go/src/runtime/mgc.go:203 +0x25 fp=0xc0000a57e0 sp=0xc0000a57c8 pc=0x420cc5
runtime.goexit({})
	/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000a57e8 sp=0xc0000a57e0 pc=0x47a861
created by runtime.gcenable in goroutine 1
	/usr/local/go/src/runtime/mgc.go:203 +0x66

goroutine 4 gp=0xc000007340 m=nil [GC scavenge wait]:
runtime.gopark(0x10000?, 0x35e77d0?, 0x0?, 0x0?, 0x0?)
	/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc0000a5f78 sp=0xc0000a5f58 pc=0x44288e
runtime.goparkunlock(...)
	/usr/local/go/src/runtime/proc.go:408
runtime.(*scavengerState).park(0x4e9c3c0)
	/usr/local/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc0000a5fa8 sp=0xc0000a5f78 pc=0x429d69
runtime.bgscavenge(0xc0000ce000)
	/usr/local/go/src/runtime/mgcscavenge.go:658 +0x59 fp=0xc0000a5fc8 sp=0xc0000a5fa8 pc=0x42a319
runtime.gcenable.gowrap2()
	/usr/local/go/src/runtime/mgc.go:204 +0x25 fp=0xc0000a5fe0 sp=0xc0000a5fc8 pc=0x420c65
runtime.goexit({})
	/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000a5fe8 sp=0xc0000a5fe0 pc=0x47a861
created by runtime.gcenable in goroutine 1
	/usr/local/go/src/runtime/mgc.go:204 +0xa5

goroutine 5 gp=0xc000007c00 m=nil [finalizer wait]:
runtime.gopark(0xc0000a4648?, 0x414085?, 0xa8?, 0x1?, 0xc0000061c0?)
	/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc0000a4620 sp=0xc0000a4600 pc=0x44288e
runtime.runfinq()
	/usr/local/go/src/runtime/mfinal.go:194 +0x107 fp=0xc0000a47e0 sp=0xc0000a4620 pc=0x41fd07
runtime.goexit({})
	/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000a47e8 sp=0xc0000a47e0 pc=0x47a861
created by runtime.createfing in goroutine 1
	/usr/local/go/src/runtime/mfinal.go:164 +0x3d

goroutine 6 gp=0xc00049a000 m=nil [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc0000a6750 sp=0xc0000a6730 pc=0x44288e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000a67e0 sp=0xc0000a6750 pc=0x422da5
runtime.goexit({})
	/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000a67e8 sp=0xc0000a67e0 pc=0x47a861
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1234 +0x1c

goroutine 18 gp=0xc000102700 m=nil [GC worker (idle)]:
runtime.gopark(0x6de6355072a1?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc0000a0750 sp=0xc0000a0730 pc=0x44288e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000a07e0 sp=0xc0000a0750 pc=0x422da5
runtime.goexit({})
	/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000a07e8 sp=0xc0000a07e0 pc=0x47a861
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1234 +0x1c

goroutine 19 gp=0xc0001028c0 m=nil [GC worker (idle)]:
runtime.gopark(0x6de635506bc6?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc0000a0f50 sp=0xc0000a0f30 pc=0x44288e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000a0fe0 sp=0xc0000a0f50 pc=0x422da5
runtime.goexit({})
	/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000a0fe8 sp=0xc0000a0fe0 pc=0x47a861
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1234 +0x1c

goroutine 20 gp=0xc000102a80 m=nil [GC worker (idle)]:
runtime.gopark(0x6de6355235a0?, 0x3?, 0xf7?, 0x23?, 0x0?)
	/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc0000a1750 sp=0xc0000a1730 pc=0x44288e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000a17e0 sp=0xc0000a1750 pc=0x422da5
runtime.goexit({})
	/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000a17e8 sp=0xc0000a17e0 pc=0x47a861
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1234 +0x1c

goroutine 21 gp=0xc000102c40 m=nil [GC worker (idle)]:
runtime.gopark(0x6de63550708d?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc0000a1f50 sp=0xc0000a1f30 pc=0x44288e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000a1fe0 sp=0xc0000a1f50 pc=0x422da5
runtime.goexit({})
	/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000a1fe8 sp=0xc0000a1fe0 pc=0x47a861
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1234 +0x1c

goroutine 22 gp=0xc000102e00 m=nil [GC worker (idle)]:
runtime.gopark(0x6de635507dcb?, 0x1?, 0xca?, 0x4c?, 0x0?)
	/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc0000a2750 sp=0xc0000a2730 pc=0x44288e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000a27e0 sp=0xc0000a2750 pc=0x422da5
runtime.goexit({})
	/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000a27e8 sp=0xc0000a27e0 pc=0x47a861
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1234 +0x1c

goroutine 23 gp=0xc000102fc0 m=nil [GC worker (idle)]:
runtime.gopark(0x6de635508009?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc0000a2f50 sp=0xc0000a2f30 pc=0x44288e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000a2fe0 sp=0xc0000a2f50 pc=0x422da5
runtime.goexit({})
	/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000a2fe8 sp=0xc0000a2fe0 pc=0x47a861
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1234 +0x1c

goroutine 24 gp=0xc000103180 m=nil [GC worker (idle)]:
runtime.gopark(0x6de63551bb5d?, 0x1?, 0xe7?, 0x30?, 0x0?)
	/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc0000a3750 sp=0xc0000a3730 pc=0x44288e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000a37e0 sp=0xc0000a3750 pc=0x422da5
runtime.goexit({})
	/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000a37e8 sp=0xc0000a37e0 pc=0x47a861
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1234 +0x1c

goroutine 25 gp=0xc000103340 m=nil [GC worker (idle)]:
runtime.gopark(0x4f0c2c0?, 0x1?, 0xb4?, 0x9b?, 0x0?)
	/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc0000a3f50 sp=0xc0000a3f30 pc=0x44288e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000a3fe0 sp=0xc0000a3f50 pc=0x422da5
runtime.goexit({})
	/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000a3fe8 sp=0xc0000a3fe0 pc=0x47a861
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1234 +0x1c

goroutine 34 gp=0xc000502000 m=nil [GC worker (idle)]:
runtime.gopark(0x6de635508393?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc000508750 sp=0xc000508730 pc=0x44288e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0005087e0 sp=0xc000508750 pc=0x422da5
runtime.goexit({})
	/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0005087e8 sp=0xc0005087e0 pc=0x47a861
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1234 +0x1c

goroutine 35 gp=0xc0005021c0 m=nil [GC worker (idle)]:
runtime.gopark(0x6de635507114?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc000508f50 sp=0xc000508f30 pc=0x44288e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000508fe0 sp=0xc000508f50 pc=0x422da5
runtime.goexit({})
	/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000508fe8 sp=0xc000508fe0 pc=0x47a861
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1234 +0x1c

goroutine 26 gp=0xc000103500 m=nil [GC worker (idle)]:
runtime.gopark(0x6de635506d26?, 0x1?, 0x1c?, 0x73?, 0x0?)
	/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc000504750 sp=0xc000504730 pc=0x44288e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0005047e0 sp=0xc000504750 pc=0x422da5
runtime.goexit({})
	/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0005047e8 sp=0xc0005047e0 pc=0x47a861
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1234 +0x1c

goroutine 36 gp=0xc000502380 m=nil [GC worker (idle)]:
runtime.gopark(0x4f0c2c0?, 0x1?, 0xc1?, 0x8b?, 0x0?)
	/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc000509750 sp=0xc000509730 pc=0x44288e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0005097e0 sp=0xc000509750 pc=0x422da5
runtime.goexit({})
	/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0005097e8 sp=0xc0005097e0 pc=0x47a861
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1234 +0x1c

goroutine 27 gp=0xc0001036c0 m=nil [GC worker (idle)]:
runtime.gopark(0x6de635507525?, 0x0?, 0x0?, 0x0?, 0x0?)
	/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc000504f50 sp=0xc000504f30 pc=0x44288e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000504fe0 sp=0xc000504f50 pc=0x422da5
runtime.goexit({})
	/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000504fe8 sp=0xc000504fe0 pc=0x47a861
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1234 +0x1c

goroutine 37 gp=0xc000502540 m=nil [GC worker (idle)]:
runtime.gopark(0x6de6355072fe?, 0x3?, 0x59?, 0x2a?, 0x0?)
	/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc000509f50 sp=0xc000509f30 pc=0x44288e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000509fe0 sp=0xc000509f50 pc=0x422da5
runtime.goexit({})
	/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000509fe8 sp=0xc000509fe0 pc=0x47a861
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1234 +0x1c

goroutine 28 gp=0xc000103880 m=nil [GC worker (idle)]:
runtime.gopark(0x6de6355237ca?, 0x3?, 0x12?, 0x3?, 0x0?)
	/usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc000505750 sp=0xc000505730 pc=0x44288e
runtime.gcBgMarkWorker()
	/usr/local/go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0005057e0 sp=0xc000505750 pc=0x422da5
runtime.goexit({})
	/usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0005057e8 sp=0xc0005057e0 pc=0x47a861
created by runtime.gcBgMarkStartWorkers in goroutine 1
	/usr/local/go/src/runtime/mgc.go:1234 +0x1c

rax    0xc0000140dd
rbx    0x1
rcx    0x361efa0
rdx    0x35f3dd0
rdi    0x1
rsi    0x2597f20
rbp    0xc00111fdd8
rsp    0xc00111fd88
r8     0xc0000140d0
r9     0x2b96032
r10    0x10
r11    0x0
r12    0x0
r13    0x0
r14    0xc0000061c0
r15    0x1249249249
rip    0xbeeeb4
rflags 0x10282
cs     0x33
fs     0x0
gs     0x0

Workaround

unset PDCP_API_KEY

Environment

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Pop
Description:	Pop!_OS 22.04 LTS
Release:	22.04
Codename:	jammy
$ uname -a
Linux pop 6.9.3-76060903-generic #202405300957~1721174657~22.04~abb7c06 SMP PREEMPT_DYNAMIC Wed J x86_64 x86_64 x86_64 GNU/Linux
@projectdiscovery projectdiscovery deleted a comment Aug 26, 2024
@Mzack9999 Mzack9999 changed the title SIGILL on PDCP_API_KEY environment SIGKILL on PDCP_API_KEY environment Sep 4, 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

1 participant