{"action":"created","issue":{"url":"https://api.github.com/repos/Ettercap/ettercap/issues/752","repository_url":"https://api.github.com/repos/Ettercap/ettercap","labels_url":"https://api.github.com/repos/Ettercap/ettercap/issues/752/labels{/name}","comments_url":"https://api.github.com/repos/Ettercap/ettercap/issues/752/comments","events_url":"https://api.github.com/repos/Ettercap/ettercap/issues/752/events","html_url":"https://github.com/Ettercap/ettercap/issues/752","id":175167701,"number":752,"title":"FATAL: Cannot open * for writing","user":{"login":"hktalent","id":18223385,"avatar_url":"https://avatars.githubusercontent.com/u/18223385?v=3","gravatar_id":"","url":"https://api.github.com/users/hktalent","html_url":"https://github.com/hktalent","followers_url":"https://api.github.com/users/hktalent/followers","following_url":"https://api.github.com/users/hktalent/following{/other_user}","gists_url":"https://api.github.com/users/hktalent/gists{/gist_id}","starred_url":"https://api.github.com/users/hktalent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hktalent/subscriptions","organizations_url":"https://api.github.com/users/hktalent/orgs","repos_url":"https://api.github.com/users/hktalent/repos","events_url":"https://api.github.com/users/hktalent/events{/privacy}","received_events_url":"https://api.github.com/users/hktalent/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-06T06:12:46Z","updated_at":"2016-09-11T07:46:24Z","closed_at":"2016-09-11T07:46:24Z","body":"sudo ettercap -i en0 -k /Users/xiatian/allHosts.txt -Tq\r\n\r\nis error :\r\nettercap 0.8.2 copyright 2001-2015 Ettercap Development Team\r\n\r\nListening on:\r\n   en0 -> B8:E8:56:02:4E:8C\r\n\t  192.168.29.211/255.255.254.0\r\n\t  fe80::bae8:56ff:fe02:4e8c/64\r\n\r\nSSL dissection needs a valid 'redir_command_on' script in the etter.conf file\r\nPrivileges dropped to EUID 65534 EGID 65534...\r\n\r\n  33 plugins\r\n  42 protocol dissectors\r\n  57 ports monitored\r\n20388 mac vendor fingerprint\r\n1766 tcp OS fingerprint\r\n2182 known services\r\n\r\nRandomizing 511 hosts for scanning...\r\nScanning the whole netmask for 511 hosts...\r\n* |==================================================>| 100.00 %\r\n\r\nDHCP: [20:16:D8:F5:C3:00] REQUEST 192.168.29.55\r\n203 hosts added to the hosts list...\r\n\r\nFATAL: Cannot open /Users/ok/allHosts.txt for writing"},"comment":{"url":"https://api.github.com/repos/Ettercap/ettercap/issues/comments/246167148","html_url":"https://github.com/Ettercap/ettercap/issues/752#issuecomment-246167148","issue_url":"https://api.github.com/repos/Ettercap/ettercap/issues/752","id":246167148,"user":{"login":"koeppea","id":4201853,"avatar_url":"https://avatars.githubusercontent.com/u/4201853?v=3","gravatar_id":"","url":"https://api.github.com/users/koeppea","html_url":"https://github.com/koeppea","followers_url":"https://api.github.com/users/koeppea/followers","following_url":"https://api.github.com/users/koeppea/following{/other_user}","gists_url":"https://api.github.com/users/koeppea/gists{/gist_id}","starred_url":"https://api.github.com/users/koeppea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koeppea/subscriptions","organizations_url":"https://api.github.com/users/koeppea/orgs","repos_url":"https://api.github.com/users/koeppea/repos","events_url":"https://api.github.com/users/koeppea/events{/privacy}","received_events_url":"https://api.github.com/users/koeppea/received_events","type":"User","site_admin":false},"created_at":"2016-09-11T07:46:24Z","updated_at":"2016-09-11T07:46:24Z","body":"Hi,\r\n\r\nthis is due to the dropping of privileges after the privileged actions have been done.\r\nThe EUID and GUID ettercap is dropping to are configured in the **etter.conf** and default to the UID of the *nobody* user:\r\n```\r\n[privs]\r\nec_uid = 65534                # nobody is the default\r\nec_gid = 65534                # nobody is the default\r\n```\r\nSo you can change these values to **0** which is anyway required if you perform SSL interception. This way the file you want to create in your home directory would by owned by *root*.\r\nIf you want the file being owned by your actual user, you need to find out your EUID/GUID using the command `id` and set these numbers for _ec_uid_ and _ec_gid_ in the **etter.conf**."}}
{"actor":{"display_login":"koeppea"}}