-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[BUG] Invalid JSON due to scanResult infos #2599
Comments
Thanks for filing the issue. However it worked for me with the latest and greatest:
|
I was able to reproduce the problem (see below). My guess is that @secinto omitted the first part of the JSON file. I problem is that there isn't a comma before ClientProblem2. I don't have time to trace through this in detail at the moment to figure out exactly what is happening. But, my guess is that there was an assumption that I think there are three potential solutions to this problem:
I haven't tried any of these, but I think they would work. The second one is based on the idea that The third potential solution is more general, but would only be needed if in the future there was another function that could be called both before and after I could try (1) or (2) and create a PR if it works. Do you have a preference?
|
Before you open an issue please check which version you are running and whether it is the latest in stable / dev branch
I am running version (
git log | head -1
if running from the git repo. Otherwisetestssl.sh -v | grep from
)bb34248
Before you open an issue please whether this is a known problem by searching the issues
Is related to / couldn't find anything
#2138
Command line / docker command to reproduce
Which was your command line? In addition the target of your scan would be helpful. If you don't want to disclose it publicly:
grep SWCONTACT testssl.sh
.testssl.sh -oJ /checkfix/projects/xxxx.eu/work/ --assume-http --warnings off -6 https://share.xxxx.eu:443
Expected behavior
A clear and concise description of what you would expect to happen.
That it generates a valid JSON (containing the warnings and infos but in a correct manner). Instead the output looks like
Your system (please complete the following information):
Additional context
Add any other context about the problem goes here.
The text was updated successfully, but these errors were encountered: