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

Adding system folders check and additional binary checks #286

Open
D3vil0p3r opened this issue Nov 26, 2024 · 0 comments
Open

Adding system folders check and additional binary checks #286

D3vil0p3r opened this issue Nov 26, 2024 · 0 comments

Comments

@D3vil0p3r
Copy link

I am using Arch Linux and I'm trying to set up Osmedeus at system-level by building from source.

The only issues I see are pretty naive and are the following:

Currently Osmedeus is searching for osmedeus-base in $HOME folder. Since some users would like to set up Osmedeus at system-level (just think in a laboratory where a single computer is used by more users), can you add a check that checks for osmedeus-base not only on ~/osmedeus-base but also /usr/share/osmedeus-base? This change must be done in cmd/root.go.

Same for ~/nuclei-templates and adding further check for /usr/share/nuclei-templates installed at system level. This change must be done in cmd/health.go.

Same for binaries folder in core/config.go because it would be nice to deal this folder as an array of directories where to check binaries not only in osmedeus-base/binaries but also in /usr/bin. In this manner, a user prevents the installation of a tool that was already installed in the system and placed in the standard /usr/bin directory.

Last but not least, in Arch Linux httpx package renamed its binary as httpx-pd. Could you please add a check not only on httpx binary but also on httpx-pd in cmd/health.go? And be sure that the correct binary is invoked by Osmedeus when needed (i.e., if httpx-pd exists, Osmedeus must invoke httpx-pd; if httpx binary exists, Osmedeus must invoke httpx).

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