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

Report actual protocol such as ssh,http not tcp/udp. #106

Closed
wants to merge 1 commit into from

Conversation

mohsinenar
Copy link
Member

@mohsinenar mohsinenar commented Nov 7, 2024

Nmap was consistently reporting the protocol as either UDP or TCP.

image

This PR fix this issue by reporting the correct value.

Copy link

codecov bot commented Nov 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.66%. Comparing base (1005066) to head (b0a114f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #106      +/-   ##
==========================================
- Coverage   94.68%   94.66%   -0.03%     
==========================================
  Files           9        9              
  Lines         922      918       -4     
==========================================
- Hits          873      869       -4     
  Misses         49       49              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@PiranhaSa PiranhaSa left a comment

Choose a reason for hiding this comment

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

LGTM

@mohsinenar mohsinenar changed the title Nmap should report actual protocol such as ssh,http not tcp. Report actual protocol such as ssh,http not tcp/udp. Nov 7, 2024
agent/generators.py Show resolved Hide resolved
@mohsinenar mohsinenar closed this Nov 7, 2024
@mohsinenar mohsinenar deleted the fix/report-correct-protocol branch November 7, 2024 09:49
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.

4 participants