{"action":"created","issue":{"url":"https://api.github.com/repos/drwetter/testssl.sh/issues/1148","repository_url":"https://api.github.com/repos/drwetter/testssl.sh","labels_url":"https://api.github.com/repos/drwetter/testssl.sh/issues/1148/labels{/name}","comments_url":"https://api.github.com/repos/drwetter/testssl.sh/issues/1148/comments","events_url":"https://api.github.com/repos/drwetter/testssl.sh/issues/1148/events","html_url":"https://github.com/drwetter/testssl.sh/issues/1148","id":374141418,"node_id":"MDU6SXNzdWUzNzQxNDE0MTg=","number":1148,"title":"`--file` mode combined w/ *file arguments produces partial output files","user":{"login":"bitsofinfo","id":1743646,"node_id":"MDQ6VXNlcjE3NDM2NDY=","avatar_url":"https://avatars1.githubusercontent.com/u/1743646?v=4","gravatar_id":"","url":"https://api.github.com/users/bitsofinfo","html_url":"https://github.com/bitsofinfo","followers_url":"https://api.github.com/users/bitsofinfo/followers","following_url":"https://api.github.com/users/bitsofinfo/following{/other_user}","gists_url":"https://api.github.com/users/bitsofinfo/gists{/gist_id}","starred_url":"https://api.github.com/users/bitsofinfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitsofinfo/subscriptions","organizations_url":"https://api.github.com/users/bitsofinfo/orgs","repos_url":"https://api.github.com/users/bitsofinfo/repos","events_url":"https://api.github.com/users/bitsofinfo/events{/privacy}","received_events_url":"https://api.github.com/users/bitsofinfo/received_events","type":"User","site_admin":false},"labels":[{"id":543473978,"node_id":"MDU6TGFiZWw1NDM0NzM5Nzg=","url":"https://api.github.com/repos/drwetter/testssl.sh/labels/to%20be%20clarified","name":"to be clarified","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":{"login":"drwetter","id":8036727,"node_id":"MDQ6VXNlcjgwMzY3Mjc=","avatar_url":"https://avatars1.githubusercontent.com/u/8036727?v=4","gravatar_id":"","url":"https://api.github.com/users/drwetter","html_url":"https://github.com/drwetter","followers_url":"https://api.github.com/users/drwetter/followers","following_url":"https://api.github.com/users/drwetter/following{/other_user}","gists_url":"https://api.github.com/users/drwetter/gists{/gist_id}","starred_url":"https://api.github.com/users/drwetter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drwetter/subscriptions","organizations_url":"https://api.github.com/users/drwetter/orgs","repos_url":"https://api.github.com/users/drwetter/repos","events_url":"https://api.github.com/users/drwetter/events{/privacy}","received_events_url":"https://api.github.com/users/drwetter/received_events","type":"User","site_admin":false},"assignees":[{"login":"drwetter","id":8036727,"node_id":"MDQ6VXNlcjgwMzY3Mjc=","avatar_url":"https://avatars1.githubusercontent.com/u/8036727?v=4","gravatar_id":"","url":"https://api.github.com/users/drwetter","html_url":"https://github.com/drwetter","followers_url":"https://api.github.com/users/drwetter/followers","following_url":"https://api.github.com/users/drwetter/following{/other_user}","gists_url":"https://api.github.com/users/drwetter/gists{/gist_id}","starred_url":"https://api.github.com/users/drwetter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drwetter/subscriptions","organizations_url":"https://api.github.com/users/drwetter/orgs","repos_url":"https://api.github.com/users/drwetter/repos","events_url":"https://api.github.com/users/drwetter/events{/privacy}","received_events_url":"https://api.github.com/users/drwetter/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/drwetter/testssl.sh/milestones/4","html_url":"https://github.com/drwetter/testssl.sh/milestone/4","labels_url":"https://api.github.com/repos/drwetter/testssl.sh/milestones/4/labels","id":1475185,"node_id":"MDk6TWlsZXN0b25lMTQ3NTE4NQ==","number":4,"title":"3.0","description":"The upcoming release contains a ROBOT check, full TLS 1.3 support, further socket improvements, proper network connectivity problem treatment, CRL and OCSP checking, OpenSSL 1.1.1 support, exit error code cleanup, JSON findings and IDs are now snappier, \r\na lot more improvements not mentioned and last but not least, lots of fixes.","creator":{"login":"drwetter","id":8036727,"node_id":"MDQ6VXNlcjgwMzY3Mjc=","avatar_url":"https://avatars1.githubusercontent.com/u/8036727?v=4","gravatar_id":"","url":"https://api.github.com/users/drwetter","html_url":"https://github.com/drwetter","followers_url":"https://api.github.com/users/drwetter/followers","following_url":"https://api.github.com/users/drwetter/following{/other_user}","gists_url":"https://api.github.com/users/drwetter/gists{/gist_id}","starred_url":"https://api.github.com/users/drwetter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drwetter/subscriptions","organizations_url":"https://api.github.com/users/drwetter/orgs","repos_url":"https://api.github.com/users/drwetter/repos","events_url":"https://api.github.com/users/drwetter/events{/privacy}","received_events_url":"https://api.github.com/users/drwetter/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":78,"state":"open","created_at":"2015-12-27T17:31:59Z","updated_at":"2018-10-26T07:29:40Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2018-10-25T21:32:39Z","updated_at":"2018-10-26T16:06:42Z","closed_at":null,"author_association":"NONE","body":"Please make sure that you provide enough information so that we understand what your issue is about.\r\n\r\n   \r\n1. testssl version from the banner (testssl.sh -b 2>/dev/null | head -4 | tail -2)\r\n\r\n```\r\ntestssl.sh       2.9.5-7 from https://testssl.sh/\r\n    (727a288 2018-09-20 22:05:28 -- )\r\n```\r\n\r\n2. what exactly was happening, output is needed\r\n\r\nRunning this produces expected files w/ proper content, fully populated\r\n\r\n```\r\n./testssl.sh -S -P -p --fast --htmlfile test.html --csvfile test.csv --jsonfile-pretty test.json https://www.google.com\r\n```\r\n\r\nRunning this produces files with partial data populated.  They are not complete JSON, invalid HTML etc\r\n\r\n```\r\n./testssl.sh --file test.txt\r\n```\r\n\r\nContents of `test.txt`\r\n\r\n```\r\n-S -P -p --fast --htmlfile test.html --csvfile test.csv --jsonfile-pretty test.json https://www.google.com\r\n```\r\n\r\n3. what did you expect instead?\r\n\r\nWhen running in `--file` mode, the contents of the `test.*` files should look no different then when running in non-file mode.\r\n\r\n4. steps to reproduce\r\n\r\nSee above\r\n \r\n    1. openssl version used (testssl.sh -b 2>/dev/null | head -16 | tail -3)\r\n \r\n```\r\ntestssl.sh       2.9.5-7 from https://testssl.sh/\r\n    (727a288 2018-09-20 22:05:28 -- )\r\n```\r\n\r\n    1. your operating system (uname -a)\r\n\r\n`17.6.0 Darwin Kernel Version 17.6.0`\r\n"},"comment":{"url":"https://api.github.com/repos/drwetter/testssl.sh/issues/comments/433459614","html_url":"https://github.com/drwetter/testssl.sh/issues/1148#issuecomment-433459614","issue_url":"https://api.github.com/repos/drwetter/testssl.sh/issues/1148","id":433459614,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzQ1OTYxNA==","user":{"login":"dcooper16","id":16493199,"node_id":"MDQ6VXNlcjE2NDkzMTk5","avatar_url":"https://avatars3.githubusercontent.com/u/16493199?v=4","gravatar_id":"","url":"https://api.github.com/users/dcooper16","html_url":"https://github.com/dcooper16","followers_url":"https://api.github.com/users/dcooper16/followers","following_url":"https://api.github.com/users/dcooper16/following{/other_user}","gists_url":"https://api.github.com/users/dcooper16/gists{/gist_id}","starred_url":"https://api.github.com/users/dcooper16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcooper16/subscriptions","organizations_url":"https://api.github.com/users/dcooper16/orgs","repos_url":"https://api.github.com/users/dcooper16/repos","events_url":"https://api.github.com/users/dcooper16/events{/privacy}","received_events_url":"https://api.github.com/users/dcooper16/received_events","type":"User","site_admin":false},"created_at":"2018-10-26T16:06:42Z","updated_at":"2018-10-26T16:06:42Z","author_association":"CONTRIBUTOR","body":"> I was hoping for a unique outputfile (with unique name or path to it) per tested endpoint. Looking to do mass testing and feeding this upstream where 1 output file (json for example) exists per tested endpoint.\r\n\r\nYou can do this with testssl.sh, just not in the way you were trying. Instead, you need to let testssl.sh create the file names for each of the output files. This can be done using either\r\n\r\n```\r\n./testssl.sh -S -P -p --fast --html --csv --json-pretty --file test.txt\r\n```\r\nor\r\n```\r\n./testssl.sh -S -P -p --fast --htmlfile <HTML output directory> --csvfile <CSV output directory> --jsonfile-pretty <JSON output directory> --file test.txt\r\n```\r\nWhere test.txt just contains the list of endpoints to test.\r\n\r\nIf the file name provided to `--htmlfile`, `--csvfile`, or `--jsonfile-pretty` is a file, then all output will go to that file. But, if the file name is a directory, then a separate file will be created in that directory for each tested input. If `--html` is used, then a separate file will be created in the directory in which the test was run.\r\n\r\nIn the case of the example above, the file names that would be created would be of the form \"www.google.com_p443-20181026-1202.html\", \"www.google.com_p443-20181026-1202.csv\", and \"www.google.com_p443-20181026-1202.json\", where the file name indicates the host name and port of the end point along with the date and time that the test was started."}}
{"actor":{"display_login":"dcooper16"}}