{"action":"closed","number":49,"pull_request":{"url":"https://api.github.com/repos/malwaredllc/byob/pulls/49","id":220757956,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwNzU3OTU2","html_url":"https://github.com/malwaredllc/byob/pull/49","diff_url":"https://github.com/malwaredllc/byob/pull/49.diff","patch_url":"https://github.com/malwaredllc/byob/pull/49.patch","issue_url":"https://api.github.com/repos/malwaredllc/byob/issues/49","number":49,"state":"closed","locked":false,"title":"Replace md5 library with hashlib","user":{"login":"joren485","id":7031489,"node_id":"MDQ6VXNlcjcwMzE0ODk=","avatar_url":"https://avatars0.githubusercontent.com/u/7031489?v=4","gravatar_id":"","url":"https://api.github.com/users/joren485","html_url":"https://github.com/joren485","followers_url":"https://api.github.com/users/joren485/followers","following_url":"https://api.github.com/users/joren485/following{/other_user}","gists_url":"https://api.github.com/users/joren485/gists{/gist_id}","starred_url":"https://api.github.com/users/joren485/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joren485/subscriptions","organizations_url":"https://api.github.com/users/joren485/orgs","repos_url":"https://api.github.com/users/joren485/repos","events_url":"https://api.github.com/users/joren485/events{/privacy}","received_events_url":"https://api.github.com/users/joren485/received_events","type":"User","site_admin":false},"body":"The `md5` library is deprecated in Python 2 and does not exist in Python 3.\r\n\r\nThe [Python 2 docs](https://docs.python.org/2/library/md5.html) says:\r\n> Deprecated since version 2.5: Use the `hashlib` module instead.\r\n\r\nIf we try to import the module we get errors:\r\n```\r\n$ python2 -W error\r\nPython 2.7.15 (default, Jun 27 2018, 13:05:28) \r\n[GCC 8.1.1 20180531] on linux2\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import md5\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/usr/lib/python2.7/md5.py\", line 8, in <module>\r\n    DeprecationWarning, 2)\r\nDeprecationWarning: the md5 module is deprecated; use hashlib instead\r\n```\r\n\r\n```\r\n$ python3 -W error\r\nPython 3.7.0 (default, Sep 15 2018, 19:13:07) \r\n[GCC 8.2.1 20180831] on linux\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import md5\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\nModuleNotFoundError: No module named 'md5'\r\n```\r\n","created_at":"2018-10-05T16:29:44Z","updated_at":"2018-10-05T16:33:15Z","closed_at":"2018-10-05T16:33:15Z","merged_at":"2018-10-05T16:33:15Z","merge_commit_sha":"56f1d8089112cce9e83a1add365843d107d6676d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/malwaredllc/byob/pulls/49/commits","review_comments_url":"https://api.github.com/repos/malwaredllc/byob/pulls/49/comments","review_comment_url":"https://api.github.com/repos/malwaredllc/byob/pulls/comments{/number}","comments_url":"https://api.github.com/repos/malwaredllc/byob/issues/49/comments","statuses_url":"https://api.github.com/repos/malwaredllc/byob/statuses/93d963dcccd9af0226c8906f697ce71730dc5f87","head":{"label":"joren485:md5_hashlib","ref":"md5_hashlib","sha":"93d963dcccd9af0226c8906f697ce71730dc5f87","user":{"login":"joren485","id":7031489,"node_id":"MDQ6VXNlcjcwMzE0ODk=","avatar_url":"https://avatars0.githubusercontent.com/u/7031489?v=4","gravatar_id":"","url":"https://api.github.com/users/joren485","html_url":"https://github.com/joren485","followers_url":"https://api.github.com/users/joren485/followers","following_url":"https://api.github.com/users/joren485/following{/other_user}","gists_url":"https://api.github.com/users/joren485/gists{/gist_id}","starred_url":"https://api.github.com/users/joren485/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joren485/subscriptions","organizations_url":"https://api.github.com/users/joren485/orgs","repos_url":"https://api.github.com/users/joren485/repos","events_url":"https://api.github.com/users/joren485/events{/privacy}","received_events_url":"https://api.github.com/users/joren485/received_events","type":"User","site_admin":false},"repo":{"id":151695597,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE2OTU1OTc=","name":"byob","full_name":"joren485/byob","private":false,"owner":{"login":"joren485","id":7031489,"node_id":"MDQ6VXNlcjcwMzE0ODk=","avatar_url":"https://avatars0.githubusercontent.com/u/7031489?v=4","gravatar_id":"","url":"https://api.github.com/users/joren485","html_url":"https://github.com/joren485","followers_url":"https://api.github.com/users/joren485/followers","following_url":"https://api.github.com/users/joren485/following{/other_user}","gists_url":"https://api.github.com/users/joren485/gists{/gist_id}","starred_url":"https://api.github.com/users/joren485/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joren485/subscriptions","organizations_url":"https://api.github.com/users/joren485/orgs","repos_url":"https://api.github.com/users/joren485/repos","events_url":"https://api.github.com/users/joren485/events{/privacy}","received_events_url":"https://api.github.com/users/joren485/received_events","type":"User","site_admin":false},"html_url":"https://github.com/joren485/byob","description":"BYOB (Build Your Own Botnet)","fork":true,"url":"https://api.github.com/repos/joren485/byob","forks_url":"https://api.github.com/repos/joren485/byob/forks","keys_url":"https://api.github.com/repos/joren485/byob/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joren485/byob/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joren485/byob/teams","hooks_url":"https://api.github.com/repos/joren485/byob/hooks","issue_events_url":"https://api.github.com/repos/joren485/byob/issues/events{/number}","events_url":"https://api.github.com/repos/joren485/byob/events","assignees_url":"https://api.github.com/repos/joren485/byob/assignees{/user}","branches_url":"https://api.github.com/repos/joren485/byob/branches{/branch}","tags_url":"https://api.github.com/repos/joren485/byob/tags","blobs_url":"https://api.github.com/repos/joren485/byob/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joren485/byob/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joren485/byob/git/refs{/sha}","trees_url":"https://api.github.com/repos/joren485/byob/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joren485/byob/statuses/{sha}","languages_url":"https://api.github.com/repos/joren485/byob/languages","stargazers_url":"https://api.github.com/repos/joren485/byob/stargazers","contributors_url":"https://api.github.com/repos/joren485/byob/contributors","subscribers_url":"https://api.github.com/repos/joren485/byob/subscribers","subscription_url":"https://api.github.com/repos/joren485/byob/subscription","commits_url":"https://api.github.com/repos/joren485/byob/commits{/sha}","git_commits_url":"https://api.github.com/repos/joren485/byob/git/commits{/sha}","comments_url":"https://api.github.com/repos/joren485/byob/comments{/number}","issue_comment_url":"https://api.github.com/repos/joren485/byob/issues/comments{/number}","contents_url":"https://api.github.com/repos/joren485/byob/contents/{+path}","compare_url":"https://api.github.com/repos/joren485/byob/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joren485/byob/merges","archive_url":"https://api.github.com/repos/joren485/byob/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joren485/byob/downloads","issues_url":"https://api.github.com/repos/joren485/byob/issues{/number}","pulls_url":"https://api.github.com/repos/joren485/byob/pulls{/number}","milestones_url":"https://api.github.com/repos/joren485/byob/milestones{/number}","notifications_url":"https://api.github.com/repos/joren485/byob/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joren485/byob/labels{/name}","releases_url":"https://api.github.com/repos/joren485/byob/releases{/id}","deployments_url":"https://api.github.com/repos/joren485/byob/deployments","created_at":"2018-10-05T09:01:28Z","updated_at":"2018-10-05T15:57:11Z","pushed_at":"2018-10-05T16:31:00Z","git_url":"git://github.com/joren485/byob.git","ssh_url":"git@github.com:joren485/byob.git","clone_url":"https://github.com/joren485/byob.git","svn_url":"https://github.com/joren485/byob","homepage":"","size":1305,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"malwaredllc:master","ref":"master","sha":"aa98f2df47a5f426d5e9e2d17dcaa30bc56b0fe2","user":{"login":"malwaredllc","id":30509968,"node_id":"MDQ6VXNlcjMwNTA5OTY4","avatar_url":"https://avatars0.githubusercontent.com/u/30509968?v=4","gravatar_id":"","url":"https://api.github.com/users/malwaredllc","html_url":"https://github.com/malwaredllc","followers_url":"https://api.github.com/users/malwaredllc/followers","following_url":"https://api.github.com/users/malwaredllc/following{/other_user}","gists_url":"https://api.github.com/users/malwaredllc/gists{/gist_id}","starred_url":"https://api.github.com/users/malwaredllc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malwaredllc/subscriptions","organizations_url":"https://api.github.com/users/malwaredllc/orgs","repos_url":"https://api.github.com/users/malwaredllc/repos","events_url":"https://api.github.com/users/malwaredllc/events{/privacy}","received_events_url":"https://api.github.com/users/malwaredllc/received_events","type":"User","site_admin":false},"repo":{"id":114619595,"node_id":"MDEwOlJlcG9zaXRvcnkxMTQ2MTk1OTU=","name":"byob","full_name":"malwaredllc/byob","private":false,"owner":{"login":"malwaredllc","id":30509968,"node_id":"MDQ6VXNlcjMwNTA5OTY4","avatar_url":"https://avatars0.githubusercontent.com/u/30509968?v=4","gravatar_id":"","url":"https://api.github.com/users/malwaredllc","html_url":"https://github.com/malwaredllc","followers_url":"https://api.github.com/users/malwaredllc/followers","following_url":"https://api.github.com/users/malwaredllc/following{/other_user}","gists_url":"https://api.github.com/users/malwaredllc/gists{/gist_id}","starred_url":"https://api.github.com/users/malwaredllc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malwaredllc/subscriptions","organizations_url":"https://api.github.com/users/malwaredllc/orgs","repos_url":"https://api.github.com/users/malwaredllc/repos","events_url":"https://api.github.com/users/malwaredllc/events{/privacy}","received_events_url":"https://api.github.com/users/malwaredllc/received_events","type":"User","site_admin":false},"html_url":"https://github.com/malwaredllc/byob","description":"BYOB (Build Your Own Botnet)","fork":false,"url":"https://api.github.com/repos/malwaredllc/byob","forks_url":"https://api.github.com/repos/malwaredllc/byob/forks","keys_url":"https://api.github.com/repos/malwaredllc/byob/keys{/key_id}","collaborators_url":"https://api.github.com/repos/malwaredllc/byob/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/malwaredllc/byob/teams","hooks_url":"https://api.github.com/repos/malwaredllc/byob/hooks","issue_events_url":"https://api.github.com/repos/malwaredllc/byob/issues/events{/number}","events_url":"https://api.github.com/repos/malwaredllc/byob/events","assignees_url":"https://api.github.com/repos/malwaredllc/byob/assignees{/user}","branches_url":"https://api.github.com/repos/malwaredllc/byob/branches{/branch}","tags_url":"https://api.github.com/repos/malwaredllc/byob/tags","blobs_url":"https://api.github.com/repos/malwaredllc/byob/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/malwaredllc/byob/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/malwaredllc/byob/git/refs{/sha}","trees_url":"https://api.github.com/repos/malwaredllc/byob/git/trees{/sha}","statuses_url":"https://api.github.com/repos/malwaredllc/byob/statuses/{sha}","languages_url":"https://api.github.com/repos/malwaredllc/byob/languages","stargazers_url":"https://api.github.com/repos/malwaredllc/byob/stargazers","contributors_url":"https://api.github.com/repos/malwaredllc/byob/contributors","subscribers_url":"https://api.github.com/repos/malwaredllc/byob/subscribers","subscription_url":"https://api.github.com/repos/malwaredllc/byob/subscription","commits_url":"https://api.github.com/repos/malwaredllc/byob/commits{/sha}","git_commits_url":"https://api.github.com/repos/malwaredllc/byob/git/commits{/sha}","comments_url":"https://api.github.com/repos/malwaredllc/byob/comments{/number}","issue_comment_url":"https://api.github.com/repos/malwaredllc/byob/issues/comments{/number}","contents_url":"https://api.github.com/repos/malwaredllc/byob/contents/{+path}","compare_url":"https://api.github.com/repos/malwaredllc/byob/compare/{base}...{head}","merges_url":"https://api.github.com/repos/malwaredllc/byob/merges","archive_url":"https://api.github.com/repos/malwaredllc/byob/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/malwaredllc/byob/downloads","issues_url":"https://api.github.com/repos/malwaredllc/byob/issues{/number}","pulls_url":"https://api.github.com/repos/malwaredllc/byob/pulls{/number}","milestones_url":"https://api.github.com/repos/malwaredllc/byob/milestones{/number}","notifications_url":"https://api.github.com/repos/malwaredllc/byob/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/malwaredllc/byob/labels{/name}","releases_url":"https://api.github.com/repos/malwaredllc/byob/releases{/id}","deployments_url":"https://api.github.com/repos/malwaredllc/byob/deployments","created_at":"2017-12-18T09:10:12Z","updated_at":"2018-10-05T16:32:40Z","pushed_at":"2018-10-05T16:33:15Z","git_url":"git://github.com/malwaredllc/byob.git","ssh_url":"git@github.com:malwaredllc/byob.git","clone_url":"https://github.com/malwaredllc/byob.git","svn_url":"https://github.com/malwaredllc/byob","homepage":"","size":1306,"stargazers_count":1925,"watchers_count":1925,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":277,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":277,"open_issues":3,"watchers":1925,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/malwaredllc/byob/pulls/49"},"html":{"href":"https://github.com/malwaredllc/byob/pull/49"},"issue":{"href":"https://api.github.com/repos/malwaredllc/byob/issues/49"},"comments":{"href":"https://api.github.com/repos/malwaredllc/byob/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/malwaredllc/byob/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/malwaredllc/byob/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/malwaredllc/byob/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/malwaredllc/byob/statuses/93d963dcccd9af0226c8906f697ce71730dc5f87"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"malwaredllc","id":30509968,"node_id":"MDQ6VXNlcjMwNTA5OTY4","avatar_url":"https://avatars0.githubusercontent.com/u/30509968?v=4","gravatar_id":"","url":"https://api.github.com/users/malwaredllc","html_url":"https://github.com/malwaredllc","followers_url":"https://api.github.com/users/malwaredllc/followers","following_url":"https://api.github.com/users/malwaredllc/following{/other_user}","gists_url":"https://api.github.com/users/malwaredllc/gists{/gist_id}","starred_url":"https://api.github.com/users/malwaredllc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malwaredllc/subscriptions","organizations_url":"https://api.github.com/users/malwaredllc/orgs","repos_url":"https://api.github.com/users/malwaredllc/repos","events_url":"https://api.github.com/users/malwaredllc/events{/privacy}","received_events_url":"https://api.github.com/users/malwaredllc/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":5,"deletions":5,"changed_files":2}}
{"actor":{"display_login":"malwaredllc"}}