{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/kontaxis/snidump/pulls/2","id":79199614,"html_url":"https://github.com/kontaxis/snidump/pull/2","diff_url":"https://github.com/kontaxis/snidump/pull/2.diff","patch_url":"https://github.com/kontaxis/snidump/pull/2.patch","issue_url":"https://api.github.com/repos/kontaxis/snidump/issues/2","number":2,"state":"open","locked":false,"title":"drop privs when run as root, nicer (IMHO) logging","user":{"login":"indigoid","id":2129707,"avatar_url":"https://avatars.githubusercontent.com/u/2129707?v=3","gravatar_id":"","url":"https://api.github.com/users/indigoid","html_url":"https://github.com/indigoid","followers_url":"https://api.github.com/users/indigoid/followers","following_url":"https://api.github.com/users/indigoid/following{/other_user}","gists_url":"https://api.github.com/users/indigoid/gists{/gist_id}","starred_url":"https://api.github.com/users/indigoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indigoid/subscriptions","organizations_url":"https://api.github.com/users/indigoid/orgs","repos_url":"https://api.github.com/users/indigoid/repos","events_url":"https://api.github.com/users/indigoid/events{/privacy}","received_events_url":"https://api.github.com/users/indigoid/received_events","type":"User","site_admin":false},"body":"first PR of the changes I've made to make `snidump` more suitable for my own purposes. can probably move the `drop_privileges()` invocation a bit earlier in execution\r\n\r\ntested on OSX","created_at":"2016-07-28T13:53:19Z","updated_at":"2016-07-28T13:53:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kontaxis/snidump/pulls/2/commits","review_comments_url":"https://api.github.com/repos/kontaxis/snidump/pulls/2/comments","review_comment_url":"https://api.github.com/repos/kontaxis/snidump/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kontaxis/snidump/issues/2/comments","statuses_url":"https://api.github.com/repos/kontaxis/snidump/statuses/e119d355668bf9905d66e602bfb588094d51365a","head":{"label":"indigoid:feature-drop-privileges","ref":"feature-drop-privileges","sha":"e119d355668bf9905d66e602bfb588094d51365a","user":{"login":"indigoid","id":2129707,"avatar_url":"https://avatars.githubusercontent.com/u/2129707?v=3","gravatar_id":"","url":"https://api.github.com/users/indigoid","html_url":"https://github.com/indigoid","followers_url":"https://api.github.com/users/indigoid/followers","following_url":"https://api.github.com/users/indigoid/following{/other_user}","gists_url":"https://api.github.com/users/indigoid/gists{/gist_id}","starred_url":"https://api.github.com/users/indigoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indigoid/subscriptions","organizations_url":"https://api.github.com/users/indigoid/orgs","repos_url":"https://api.github.com/users/indigoid/repos","events_url":"https://api.github.com/users/indigoid/events{/privacy}","received_events_url":"https://api.github.com/users/indigoid/received_events","type":"User","site_admin":false},"repo":{"id":64391965,"name":"snidump","full_name":"indigoid/snidump","owner":{"login":"indigoid","id":2129707,"avatar_url":"https://avatars.githubusercontent.com/u/2129707?v=3","gravatar_id":"","url":"https://api.github.com/users/indigoid","html_url":"https://github.com/indigoid","followers_url":"https://api.github.com/users/indigoid/followers","following_url":"https://api.github.com/users/indigoid/following{/other_user}","gists_url":"https://api.github.com/users/indigoid/gists{/gist_id}","starred_url":"https://api.github.com/users/indigoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indigoid/subscriptions","organizations_url":"https://api.github.com/users/indigoid/orgs","repos_url":"https://api.github.com/users/indigoid/repos","events_url":"https://api.github.com/users/indigoid/events{/privacy}","received_events_url":"https://api.github.com/users/indigoid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/indigoid/snidump","description":"This is a tcpdump-like program for printing TLS SNI and HTTP/1.1 Host fields in live or captured traffic.","fork":true,"url":"https://api.github.com/repos/indigoid/snidump","forks_url":"https://api.github.com/repos/indigoid/snidump/forks","keys_url":"https://api.github.com/repos/indigoid/snidump/keys{/key_id}","collaborators_url":"https://api.github.com/repos/indigoid/snidump/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/indigoid/snidump/teams","hooks_url":"https://api.github.com/repos/indigoid/snidump/hooks","issue_events_url":"https://api.github.com/repos/indigoid/snidump/issues/events{/number}","events_url":"https://api.github.com/repos/indigoid/snidump/events","assignees_url":"https://api.github.com/repos/indigoid/snidump/assignees{/user}","branches_url":"https://api.github.com/repos/indigoid/snidump/branches{/branch}","tags_url":"https://api.github.com/repos/indigoid/snidump/tags","blobs_url":"https://api.github.com/repos/indigoid/snidump/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/indigoid/snidump/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/indigoid/snidump/git/refs{/sha}","trees_url":"https://api.github.com/repos/indigoid/snidump/git/trees{/sha}","statuses_url":"https://api.github.com/repos/indigoid/snidump/statuses/{sha}","languages_url":"https://api.github.com/repos/indigoid/snidump/languages","stargazers_url":"https://api.github.com/repos/indigoid/snidump/stargazers","contributors_url":"https://api.github.com/repos/indigoid/snidump/contributors","subscribers_url":"https://api.github.com/repos/indigoid/snidump/subscribers","subscription_url":"https://api.github.com/repos/indigoid/snidump/subscription","commits_url":"https://api.github.com/repos/indigoid/snidump/commits{/sha}","git_commits_url":"https://api.github.com/repos/indigoid/snidump/git/commits{/sha}","comments_url":"https://api.github.com/repos/indigoid/snidump/comments{/number}","issue_comment_url":"https://api.github.com/repos/indigoid/snidump/issues/comments{/number}","contents_url":"https://api.github.com/repos/indigoid/snidump/contents/{+path}","compare_url":"https://api.github.com/repos/indigoid/snidump/compare/{base}...{head}","merges_url":"https://api.github.com/repos/indigoid/snidump/merges","archive_url":"https://api.github.com/repos/indigoid/snidump/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/indigoid/snidump/downloads","issues_url":"https://api.github.com/repos/indigoid/snidump/issues{/number}","pulls_url":"https://api.github.com/repos/indigoid/snidump/pulls{/number}","milestones_url":"https://api.github.com/repos/indigoid/snidump/milestones{/number}","notifications_url":"https://api.github.com/repos/indigoid/snidump/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/indigoid/snidump/labels{/name}","releases_url":"https://api.github.com/repos/indigoid/snidump/releases{/id}","deployments_url":"https://api.github.com/repos/indigoid/snidump/deployments","created_at":"2016-07-28T12:00:46Z","updated_at":"2016-07-28T12:00:48Z","pushed_at":"2016-07-28T13:50:59Z","git_url":"git://github.com/indigoid/snidump.git","ssh_url":"git@github.com:indigoid/snidump.git","clone_url":"https://github.com/indigoid/snidump.git","svn_url":"https://github.com/indigoid/snidump","homepage":"","size":682,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kontaxis:master","ref":"master","sha":"d6fa064ee83a96a7651ab1bc19dd9ec8e328c58e","user":{"login":"kontaxis","id":6628990,"avatar_url":"https://avatars.githubusercontent.com/u/6628990?v=3","gravatar_id":"","url":"https://api.github.com/users/kontaxis","html_url":"https://github.com/kontaxis","followers_url":"https://api.github.com/users/kontaxis/followers","following_url":"https://api.github.com/users/kontaxis/following{/other_user}","gists_url":"https://api.github.com/users/kontaxis/gists{/gist_id}","starred_url":"https://api.github.com/users/kontaxis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kontaxis/subscriptions","organizations_url":"https://api.github.com/users/kontaxis/orgs","repos_url":"https://api.github.com/users/kontaxis/repos","events_url":"https://api.github.com/users/kontaxis/events{/privacy}","received_events_url":"https://api.github.com/users/kontaxis/received_events","type":"User","site_admin":false},"repo":{"id":47481667,"name":"snidump","full_name":"kontaxis/snidump","owner":{"login":"kontaxis","id":6628990,"avatar_url":"https://avatars.githubusercontent.com/u/6628990?v=3","gravatar_id":"","url":"https://api.github.com/users/kontaxis","html_url":"https://github.com/kontaxis","followers_url":"https://api.github.com/users/kontaxis/followers","following_url":"https://api.github.com/users/kontaxis/following{/other_user}","gists_url":"https://api.github.com/users/kontaxis/gists{/gist_id}","starred_url":"https://api.github.com/users/kontaxis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kontaxis/subscriptions","organizations_url":"https://api.github.com/users/kontaxis/orgs","repos_url":"https://api.github.com/users/kontaxis/repos","events_url":"https://api.github.com/users/kontaxis/events{/privacy}","received_events_url":"https://api.github.com/users/kontaxis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kontaxis/snidump","description":"This is a tcpdump-like program for printing TLS SNI and HTTP/1.1 Host fields in live or captured traffic.","fork":false,"url":"https://api.github.com/repos/kontaxis/snidump","forks_url":"https://api.github.com/repos/kontaxis/snidump/forks","keys_url":"https://api.github.com/repos/kontaxis/snidump/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kontaxis/snidump/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kontaxis/snidump/teams","hooks_url":"https://api.github.com/repos/kontaxis/snidump/hooks","issue_events_url":"https://api.github.com/repos/kontaxis/snidump/issues/events{/number}","events_url":"https://api.github.com/repos/kontaxis/snidump/events","assignees_url":"https://api.github.com/repos/kontaxis/snidump/assignees{/user}","branches_url":"https://api.github.com/repos/kontaxis/snidump/branches{/branch}","tags_url":"https://api.github.com/repos/kontaxis/snidump/tags","blobs_url":"https://api.github.com/repos/kontaxis/snidump/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kontaxis/snidump/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kontaxis/snidump/git/refs{/sha}","trees_url":"https://api.github.com/repos/kontaxis/snidump/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kontaxis/snidump/statuses/{sha}","languages_url":"https://api.github.com/repos/kontaxis/snidump/languages","stargazers_url":"https://api.github.com/repos/kontaxis/snidump/stargazers","contributors_url":"https://api.github.com/repos/kontaxis/snidump/contributors","subscribers_url":"https://api.github.com/repos/kontaxis/snidump/subscribers","subscription_url":"https://api.github.com/repos/kontaxis/snidump/subscription","commits_url":"https://api.github.com/repos/kontaxis/snidump/commits{/sha}","git_commits_url":"https://api.github.com/repos/kontaxis/snidump/git/commits{/sha}","comments_url":"https://api.github.com/repos/kontaxis/snidump/comments{/number}","issue_comment_url":"https://api.github.com/repos/kontaxis/snidump/issues/comments{/number}","contents_url":"https://api.github.com/repos/kontaxis/snidump/contents/{+path}","compare_url":"https://api.github.com/repos/kontaxis/snidump/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kontaxis/snidump/merges","archive_url":"https://api.github.com/repos/kontaxis/snidump/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kontaxis/snidump/downloads","issues_url":"https://api.github.com/repos/kontaxis/snidump/issues{/number}","pulls_url":"https://api.github.com/repos/kontaxis/snidump/pulls{/number}","milestones_url":"https://api.github.com/repos/kontaxis/snidump/milestones{/number}","notifications_url":"https://api.github.com/repos/kontaxis/snidump/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kontaxis/snidump/labels{/name}","releases_url":"https://api.github.com/repos/kontaxis/snidump/releases{/id}","deployments_url":"https://api.github.com/repos/kontaxis/snidump/deployments","created_at":"2015-12-06T03:04:39Z","updated_at":"2016-07-28T12:00:34Z","pushed_at":"2016-07-28T13:53:19Z","git_url":"git://github.com/kontaxis/snidump.git","ssh_url":"git@github.com:kontaxis/snidump.git","clone_url":"https://github.com/kontaxis/snidump.git","svn_url":"https://github.com/kontaxis/snidump","homepage":"","size":682,"stargazers_count":3,"watchers_count":3,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kontaxis/snidump/pulls/2"},"html":{"href":"https://github.com/kontaxis/snidump/pull/2"},"issue":{"href":"https://api.github.com/repos/kontaxis/snidump/issues/2"},"comments":{"href":"https://api.github.com/repos/kontaxis/snidump/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/kontaxis/snidump/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/kontaxis/snidump/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kontaxis/snidump/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/kontaxis/snidump/statuses/e119d355668bf9905d66e602bfb588094d51365a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":9,"additions":190,"deletions":98,"changed_files":6}}
{"actor":{"display_login":"indigoid"}}