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

Fix: update MS17-010 for Python3 properly; add debug logging #108

Merged
merged 2 commits into from
Nov 9, 2023

Conversation

Marshall-Hallenbeck
Copy link
Collaborator

It appears like it thinks the entire file has switched because I moved it to be under the NXCModule class so it can reference context.log

Essentially this properly changes strings to be bytes, and makes it so the header lengths are the same so the request is proper.

Also I added a bunch of debug logging so if errors occur in the future we can easily figure out what's going on.

Closes #101

@Marshall-Hallenbeck Marshall-Hallenbeck self-assigned this Nov 8, 2023
@Marshall-Hallenbeck Marshall-Hallenbeck added the bug-fix This Pull Request fixes a bug label Nov 8, 2023
@Marshall-Hallenbeck Marshall-Hallenbeck changed the title Fix: update MS17-010 to for Python3 properly; add debug logging Fix: update MS17-010 for Python3 properly; add debug logging Nov 8, 2023
@mpgn
Copy link
Collaborator

mpgn commented Nov 8, 2023

image

@mpgn mpgn added the tested label Nov 8, 2023
@mpgn mpgn added this to the v1.1.0 milestone Nov 8, 2023
@Marshall-Hallenbeck Marshall-Hallenbeck merged commit ad27442 into develop Nov 9, 2023
2 checks passed
@Marshall-Hallenbeck Marshall-Hallenbeck deleted the issues/101 branch November 9, 2023 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix This Pull Request fixes a bug tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Module ms17-010 is falsely reporting "not vulnerable", despite the target being vulnerable.
2 participants