projectdiscovery / pdtm

ProjectDiscovery's Open Source Tool Manager
https://projectdiscovery.io
MIT License
677 stars 49 forks source link

Use go install for tools with dynamic linked libraries #201

Closed Mzack9999 closed 9 months ago

Mzack9999 commented 9 months ago

Please describe your feature request:

Tools such as naabu and katana are dynamically linked against c libraries (libpcap and tree-sitter respectively). When these tools are executed on systems with a different c toolset, they fail because the version might be different (glibc). The preferred way of installing these tools should be via go install, as it will ensure that compiler and linker are consistent with the runtime c toolset available on the system.

Having pdtm installed in most cases implies already the presence of go on the system (it's the recommended way to install pdtm).

Ref: https://github.com/projectdiscovery/pdtm/issues/8#issuecomment-1362005549

dogancanbakir commented 9 months ago

Related: https://github.com/projectdiscovery/pdtm/pull/194

dogancanbakir commented 9 months ago

Depends on: https://github.com/projectdiscovery/pdtm-api/issues/164 and https://github.com/projectdiscovery/pdtm/pull/194