{"action":"closed","issue":{"url":"https://api.github.com/repos/jmmcatee/cracklord/issues/115","repository_url":"https://api.github.com/repos/jmmcatee/cracklord","labels_url":"https://api.github.com/repos/jmmcatee/cracklord/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/jmmcatee/cracklord/issues/115/comments","events_url":"https://api.github.com/repos/jmmcatee/cracklord/issues/115/events","html_url":"https://github.com/jmmcatee/cracklord/issues/115","id":157493938,"number":115,"title":"Command's arguments and OS interpretation ","user":{"login":"ytronics","id":16799278,"avatar_url":"https://avatars.githubusercontent.com/u/16799278?v=3","gravatar_id":"","url":"https://api.github.com/users/ytronics","html_url":"https://github.com/ytronics","followers_url":"https://api.github.com/users/ytronics/followers","following_url":"https://api.github.com/users/ytronics/following{/other_user}","gists_url":"https://api.github.com/users/ytronics/gists{/gist_id}","starred_url":"https://api.github.com/users/ytronics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ytronics/subscriptions","organizations_url":"https://api.github.com/users/ytronics/orgs","repos_url":"https://api.github.com/users/ytronics/repos","events_url":"https://api.github.com/users/ytronics/events{/privacy}","received_events_url":"https://api.github.com/users/ytronics/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-05-30T12:31:54Z","updated_at":"2016-06-21T06:14:52Z","closed_at":"2016-06-21T06:14:52Z","body":"Hello,\r\nI am writing in your forum about a strange problem with command's arguments in my tool. \r\nTake a look on my issue:\r\nThe fragment from my source is:\r\n// Process the arguments for the command and add them together\r\n    args = append(args,config.BinPath)                                          // run se_forana\r\n    args = append(args,\"-f\", filename)                                             // target file name  \r\n    args = append(args,\"-v\", verboseSet)                                        // Verbosity\r\n    **args = append(args,\"--parameters\",\"'\")**                                      // Set parameters\r\n    args = append(args,\"--mode\",\"dict\")                                         // Dictionary mode\r\n    args = append(args,\"--machine\", machineSet)                                 // Machine number\r\n    args = append(args,\"--dict-file\", dictPath)                                 // Dictionary set \r\n    args = append(args,\"--outfile\", filepath.Join(f.wd, \"forensic-pass.batch\")) // Output file\r\n    **args = append(args,\"'\")**\r\n\r\nThe running command seems correct as I expect:\r\nRunning command:                              argument=[............ -f filename4 -v 2 --parameters ' --mode dict --machine 0 --dict-file /mnt/dicts/FullListPass.txt --outfile /home/...../......./36ab48ab-da9c-44a0-b595-9729de8050bb/forensic-pass.batch ']\r\n\r\nThe problem is that the single quotes in my command. Linux OS does not recognize single quotes in the command generated by Cracklord. While there is no problem when I execute this command in Linux terminal. \r\n\r\nWould it be possible to suggest me a workaround or a tip to fix the issue with single quotes in my command?\r\n\r\nThanks in advance!\r\n\r\nBest regards,\r\n \r\n"}}
{"actor":{"display_login":"ytronics"}}