{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/BishopFox/cve-2016-1764/pulls/1","id":65869379,"html_url":"https://github.com/BishopFox/cve-2016-1764/pull/1","diff_url":"https://github.com/BishopFox/cve-2016-1764/pull/1.diff","patch_url":"https://github.com/BishopFox/cve-2016-1764/pull/1.patch","issue_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/issues/1","number":1,"state":"open","locked":false,"title":"Clean up filename string before calling basename","user":{"login":"EricZeiberg","id":4945312,"avatar_url":"https://avatars.githubusercontent.com/u/4945312?v=3","gravatar_id":"","url":"https://api.github.com/users/EricZeiberg","html_url":"https://github.com/EricZeiberg","followers_url":"https://api.github.com/users/EricZeiberg/followers","following_url":"https://api.github.com/users/EricZeiberg/following{/other_user}","gists_url":"https://api.github.com/users/EricZeiberg/gists{/gist_id}","starred_url":"https://api.github.com/users/EricZeiberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricZeiberg/subscriptions","organizations_url":"https://api.github.com/users/EricZeiberg/orgs","repos_url":"https://api.github.com/users/EricZeiberg/repos","events_url":"https://api.github.com/users/EricZeiberg/events{/privacy}","received_events_url":"https://api.github.com/users/EricZeiberg/received_events","type":"User","site_admin":false},"body":"I haven't tested this throughly with other setups but I had to include this line to get it to work for me. \r\n\r\nI cant seem to see a case where filename is not \"chat.db/\", which when passed into `os.path.basename()` returns nothing. Removing the trailing slash allows basename to return \"chat.db\". ","created_at":"2016-04-09T03:24:38Z","updated_at":"2016-04-09T03:24:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/pulls/1/commits","review_comments_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/pulls/1/comments","review_comment_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/issues/1/comments","statuses_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/statuses/b1601b062a1db528c8e5ed4bdcf68f9fc8d54183","head":{"label":"EricZeiberg:patch-1","ref":"patch-1","sha":"b1601b062a1db528c8e5ed4bdcf68f9fc8d54183","user":{"login":"EricZeiberg","id":4945312,"avatar_url":"https://avatars.githubusercontent.com/u/4945312?v=3","gravatar_id":"","url":"https://api.github.com/users/EricZeiberg","html_url":"https://github.com/EricZeiberg","followers_url":"https://api.github.com/users/EricZeiberg/followers","following_url":"https://api.github.com/users/EricZeiberg/following{/other_user}","gists_url":"https://api.github.com/users/EricZeiberg/gists{/gist_id}","starred_url":"https://api.github.com/users/EricZeiberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricZeiberg/subscriptions","organizations_url":"https://api.github.com/users/EricZeiberg/orgs","repos_url":"https://api.github.com/users/EricZeiberg/repos","events_url":"https://api.github.com/users/EricZeiberg/events{/privacy}","received_events_url":"https://api.github.com/users/EricZeiberg/received_events","type":"User","site_admin":false},"repo":{"id":55823815,"name":"cve-2016-1764","full_name":"EricZeiberg/cve-2016-1764","owner":{"login":"EricZeiberg","id":4945312,"avatar_url":"https://avatars.githubusercontent.com/u/4945312?v=3","gravatar_id":"","url":"https://api.github.com/users/EricZeiberg","html_url":"https://github.com/EricZeiberg","followers_url":"https://api.github.com/users/EricZeiberg/followers","following_url":"https://api.github.com/users/EricZeiberg/following{/other_user}","gists_url":"https://api.github.com/users/EricZeiberg/gists{/gist_id}","starred_url":"https://api.github.com/users/EricZeiberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricZeiberg/subscriptions","organizations_url":"https://api.github.com/users/EricZeiberg/orgs","repos_url":"https://api.github.com/users/EricZeiberg/repos","events_url":"https://api.github.com/users/EricZeiberg/events{/privacy}","received_events_url":"https://api.github.com/users/EricZeiberg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EricZeiberg/cve-2016-1764","description":"Recovery of Plaintext iMessage Data Without Breaking Crypto","fork":true,"url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764","forks_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/forks","keys_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/teams","hooks_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/hooks","issue_events_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/issues/events{/number}","events_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/events","assignees_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/assignees{/user}","branches_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/branches{/branch}","tags_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/tags","blobs_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/git/refs{/sha}","trees_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/statuses/{sha}","languages_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/languages","stargazers_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/stargazers","contributors_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/contributors","subscribers_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/subscribers","subscription_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/subscription","commits_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/commits{/sha}","git_commits_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/git/commits{/sha}","comments_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/comments{/number}","issue_comment_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/issues/comments{/number}","contents_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/contents/{+path}","compare_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/merges","archive_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/downloads","issues_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/issues{/number}","pulls_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/pulls{/number}","milestones_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/milestones{/number}","notifications_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/labels{/name}","releases_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/releases{/id}","deployments_url":"https://api.github.com/repos/EricZeiberg/cve-2016-1764/deployments","created_at":"2016-04-09T03:21:32Z","updated_at":"2016-04-09T03:21:32Z","pushed_at":"2016-04-09T03:22:18Z","git_url":"git://github.com/EricZeiberg/cve-2016-1764.git","ssh_url":"git@github.com:EricZeiberg/cve-2016-1764.git","clone_url":"https://github.com/EricZeiberg/cve-2016-1764.git","svn_url":"https://github.com/EricZeiberg/cve-2016-1764","homepage":"","size":389,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"BishopFox:master","ref":"master","sha":"0545797cda3d810d7bf9f1608ad66f7b6c48ee5b","user":{"login":"BishopFox","id":4523757,"avatar_url":"https://avatars.githubusercontent.com/u/4523757?v=3","gravatar_id":"","url":"https://api.github.com/users/BishopFox","html_url":"https://github.com/BishopFox","followers_url":"https://api.github.com/users/BishopFox/followers","following_url":"https://api.github.com/users/BishopFox/following{/other_user}","gists_url":"https://api.github.com/users/BishopFox/gists{/gist_id}","starred_url":"https://api.github.com/users/BishopFox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BishopFox/subscriptions","organizations_url":"https://api.github.com/users/BishopFox/orgs","repos_url":"https://api.github.com/users/BishopFox/repos","events_url":"https://api.github.com/users/BishopFox/events{/privacy}","received_events_url":"https://api.github.com/users/BishopFox/received_events","type":"Organization","site_admin":false},"repo":{"id":55790953,"name":"cve-2016-1764","full_name":"BishopFox/cve-2016-1764","owner":{"login":"BishopFox","id":4523757,"avatar_url":"https://avatars.githubusercontent.com/u/4523757?v=3","gravatar_id":"","url":"https://api.github.com/users/BishopFox","html_url":"https://github.com/BishopFox","followers_url":"https://api.github.com/users/BishopFox/followers","following_url":"https://api.github.com/users/BishopFox/following{/other_user}","gists_url":"https://api.github.com/users/BishopFox/gists{/gist_id}","starred_url":"https://api.github.com/users/BishopFox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BishopFox/subscriptions","organizations_url":"https://api.github.com/users/BishopFox/orgs","repos_url":"https://api.github.com/users/BishopFox/repos","events_url":"https://api.github.com/users/BishopFox/events{/privacy}","received_events_url":"https://api.github.com/users/BishopFox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BishopFox/cve-2016-1764","description":"Recovery of Plaintext iMessage Data Without Breaking Crypto","fork":true,"url":"https://api.github.com/repos/BishopFox/cve-2016-1764","forks_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/forks","keys_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/teams","hooks_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/hooks","issue_events_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/issues/events{/number}","events_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/events","assignees_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/assignees{/user}","branches_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/branches{/branch}","tags_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/tags","blobs_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/git/refs{/sha}","trees_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/statuses/{sha}","languages_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/languages","stargazers_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/stargazers","contributors_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/contributors","subscribers_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/subscribers","subscription_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/subscription","commits_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/commits{/sha}","git_commits_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/git/commits{/sha}","comments_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/comments{/number}","issue_comment_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/issues/comments{/number}","contents_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/contents/{+path}","compare_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/merges","archive_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/downloads","issues_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/issues{/number}","pulls_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/pulls{/number}","milestones_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/milestones{/number}","notifications_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/labels{/name}","releases_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/releases{/id}","deployments_url":"https://api.github.com/repos/BishopFox/cve-2016-1764/deployments","created_at":"2016-04-08T15:49:15Z","updated_at":"2016-04-09T01:22:50Z","pushed_at":"2016-04-08T23:07:04Z","git_url":"git://github.com/BishopFox/cve-2016-1764.git","ssh_url":"git@github.com:BishopFox/cve-2016-1764.git","clone_url":"https://github.com/BishopFox/cve-2016-1764.git","svn_url":"https://github.com/BishopFox/cve-2016-1764","homepage":"","size":389,"stargazers_count":17,"watchers_count":17,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BishopFox/cve-2016-1764/pulls/1"},"html":{"href":"https://github.com/BishopFox/cve-2016-1764/pull/1"},"issue":{"href":"https://api.github.com/repos/BishopFox/cve-2016-1764/issues/1"},"comments":{"href":"https://api.github.com/repos/BishopFox/cve-2016-1764/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/BishopFox/cve-2016-1764/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/BishopFox/cve-2016-1764/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BishopFox/cve-2016-1764/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/BishopFox/cve-2016-1764/statuses/b1601b062a1db528c8e5ed4bdcf68f9fc8d54183"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}