Skip to content

[nuclei/nmap] Improve & fix contracts #78

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

Draft
wants to merge 1 commit into
base: release/current
Choose a base branch
from

Conversation

guillaumejparis
Copy link
Member

Proposed changes

Related issues

Checklist

  • I consider the submitted work as finished
  • I tested the code for its functionality using different use cases
  • I added/update the relevant documentation (either on github or on notion)
  • Where necessary I refactored code to improve the overall quality
  • For bug fix -> I implemented a test that covers the bug

Further comments

@guillaumejparis guillaumejparis force-pushed the improvment/contracts_mandatory_fields branch from 75697b6 to 989fc2d Compare June 10, 2025 07:14
@@ -38,7 +38,7 @@ def __init__(self):
},
)
self.helper = OpenBASInjectorHelper(
self.config, open("img/icon-nmap.png", "rb")
self.config, open("nmap/img/nmap.png", "rb")
Copy link
Member

@RomuDeuxfois RomuDeuxfois Jun 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you want to change the path here ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This path would be based on the expected relative path from the python process own working directory. Given the docker file hasn't been changed, I do not recommend changing the path.

Generally we would like to reformat the inner projects (individual injectors) to match what's been done for Nuclei, but that looks out of scope for this PR.

Copy link
Contributor

@antoinemzs antoinemzs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't recommend changing the existing projects structure unless there is a desire to align them with the recommended structure used for nuclei; this has also impacts on the docker container builds, so this looks out of scope for the intended change in OP.

@guillaumejparis guillaumejparis force-pushed the improvment/contracts_mandatory_fields branch from 989fc2d to 974ed8e Compare June 17, 2025 12:35
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

Successfully merging this pull request may close these issues.

3 participants