-
Notifications
You must be signed in to change notification settings - Fork 1.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
testssl.sh/testssl.sh -t smtp -pretty-json - multiple servers #598
Comments
I think the latter but you gotta throw more info in here ;), see https://github.com/drwetter/testssl.sh/wiki/Bug-reporting. At least the cmd line and your expectation. IP is the bottom, cmd line incl. host see top. |
testssl version from the banner (testssl.sh -b 2>/dev/null | head -4 | tail -2)
target IP
openssl version used (testssl.sh -b 2>/dev/null | head -16 | tail -3)
Your operating system (uname -a)
what was happening (output is useful!) and what did you expect happening:
}` In the whole output there is no indication of the actual server(s) tested, and no way to distinguish the results for the different servers. expecting: (note that mailbox.org is just a random example and has nothing to do with me, i am not even a customer there) |
Ok, got ya. Thx
--
Sent via mobile. Excuse my brevity, my typos and the autocorrection
Am 26. Jan. 2017, 08:10, um 08:10, rzmf <notifications@github.com> schrieb:
…testssl version from the banner (testssl.sh -b 2>/dev/null | head -4 |
tail -2)
`$ ./testssl.sh -b 2>/dev/null | head -4 | tail -2
testssl.sh 2.9dev from https://testssl.sh/dev/
(bc31639 2017-01-24 20:26:05 -- )
`
target IP
testssl.sh command line
`./testssl.sh -t smtp --jsonfile-pretty ../out/test --mx mailbox.org`
openssl version used (testssl.sh -b 2>/dev/null | head -16 | tail -3)
`testssl.sh -b 2>/dev/null | head -16 | tail -3`
`
Using "OpenSSL 1.0.2-chacha (1.0.2i-dev)" [~183 ciphers]
on ......:$PWD/bin/openssl.Linux.x86_64
(built: "Jun 22 19:32:29 2016", platform: "linux-x86_64")
`
Your operating system (uname -a)
`Linux ....... 3.10.0-514.2.2.el7.x86_64 #1 SMP Tue Dec 6 23:06:41 UTC
2016 x86_64 x86_64 x86_64 GNU/Linux`
what was happening (output is useful!) and what did you expect
happening:
`{
"Invocation" : "testssl.sh -t smtp --jsonfile-pretty ../out/test --mx
mailbox.org",
"at" : "l.....................:$PWD/bin/openssl.Linux.x86_64",
"version" : "2.9dev bc31639 from 2017-01-24",
"openssl" : "1.0.2-chacha from Jun 22 19:32:29 2016",
"target host" : "",
"port" : "25",
"startTime" : "1485413349",
"scanResult" : {
"service" : [
],
"protocols" : [
{
"id" : "sslv2",
"severity" : "OK",
"finding" : "SSLv2 is not offered"
..................... repeated for each MX .....
"service" : [
],
"protocols" : [
{
"id" : "sslv2",
"severity" : "OK",
"finding" : "SSLv2 is not offered"
}`
In the whole output there is no indication of the actual server(s)
tested, and no way to distinguish the results for the different
servers.
expecting:
useful json for parsing out cipher & other infos _per_ MX host
(note that mailbox.org is just a random example and has nothing to do
with me, i am not even a customer there)
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#598 (comment)
|
The problem is in --json-pretty, cos it does not support multiple servers. you won't have this problem with --json. Each block has an ip address:
P.S.: i ll take a look if it is possible to add this feature for json-pretty. |
the charming thing with |
If a scan is performed against a domain with multiple Mailservers the generated json is imho not very useful:
`
"scanResult" : {
`
no way to match any info out of serverDefaults to a specific host or do i have a false understanding of the output?
The text was updated successfully, but these errors were encountered: