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 mis-identification of Sphinx Search service #387

Merged
merged 5 commits into from
Sep 11, 2019

Conversation

jjnicola
Copy link
Member

@jjnicola jjnicola commented Sep 9, 2019

It was detected as MySQL in nasl_builtin_find_service.c

It was detected as MySQL in nasl_builtin_find_service.c
to make this regex a little bit more strict and to avoid false detection.
Also, remove some parentheses which make part of the pattern optional,
because it allowed to match other undesirable strings/words.
@jjnicola jjnicola requested a review from cfi-gb September 10, 2019 10:36
Internally the function replace Null char with 'x'
@jjnicola jjnicola merged commit 5c1151e into greenbone:master Sep 11, 2019
@jjnicola jjnicola deleted the sphinx branch September 11, 2019 12:44
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.

2 participants