{"action":"created","issue":{"url":"https://api.github.com/repos/zmap/zmap/issues/297","labels_url":"https://api.github.com/repos/zmap/zmap/issues/297/labels{/name}","comments_url":"https://api.github.com/repos/zmap/zmap/issues/297/comments","events_url":"https://api.github.com/repos/zmap/zmap/issues/297/events","html_url":"https://github.com/zmap/zmap/issues/297","id":111402876,"number":297,"title":"Zmap cannot parse subshell command and thus ignores host argument and scans random internet","user":{"login":"phrag","id":4069639,"avatar_url":"https://avatars.githubusercontent.com/u/4069639?v=3","gravatar_id":"","url":"https://api.github.com/users/phrag","html_url":"https://github.com/phrag","followers_url":"https://api.github.com/users/phrag/followers","following_url":"https://api.github.com/users/phrag/following{/other_user}","gists_url":"https://api.github.com/users/phrag/gists{/gist_id}","starred_url":"https://api.github.com/users/phrag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phrag/subscriptions","organizations_url":"https://api.github.com/users/phrag/orgs","repos_url":"https://api.github.com/users/phrag/repos","events_url":"https://api.github.com/users/phrag/events{/privacy}","received_events_url":"https://api.github.com/users/phrag/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-14T13:52:05Z","updated_at":"2015-10-14T13:54:06Z","closed_at":null,"body":"The following command parses incorrectly and ignores everything after the $(date +%s) subshell command, and thus scans the random internet.\r\n\r\nsudo zmap -d --verbosity=5  -i eth2:1 -p 22 --summary -o Port.SSH-$(date +%s).csv 1.2.3.4/24 5.6.7.8/24 9.10.11.12/24\r\n\r\nThe netblocks are example."},"comment":{"url":"https://api.github.com/repos/zmap/zmap/issues/comments/148056295","html_url":"https://github.com/zmap/zmap/issues/297#issuecomment-148056295","issue_url":"https://api.github.com/repos/zmap/zmap/issues/297","id":148056295,"user":{"login":"zakird","id":201296,"avatar_url":"https://avatars.githubusercontent.com/u/201296?v=3","gravatar_id":"","url":"https://api.github.com/users/zakird","html_url":"https://github.com/zakird","followers_url":"https://api.github.com/users/zakird/followers","following_url":"https://api.github.com/users/zakird/following{/other_user}","gists_url":"https://api.github.com/users/zakird/gists{/gist_id}","starred_url":"https://api.github.com/users/zakird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zakird/subscriptions","organizations_url":"https://api.github.com/users/zakird/orgs","repos_url":"https://api.github.com/users/zakird/repos","events_url":"https://api.github.com/users/zakird/events{/privacy}","received_events_url":"https://api.github.com/users/zakird/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T13:54:06Z","updated_at":"2015-10-14T13:54:06Z","body":"can you paste log with -v5 so we can see how this is being parsed out?"}}