{"action":"created","comment":{"url":"https://api.github.com/repos/peter50216/pwntools-ruby/pulls/comments/133627655","pull_request_review_id":56829806,"id":133627655,"diff_hunk":"@@ -265,6 +265,33 @@ def b64d(s)\n         s.unpack('m0')[0]\n       end\n \n+      # Find two strings that will xor into a given string, while only using a given alphabet.\n+      #\n+      # @param [String, Integer] data\n+      #   The desired string.\n+      # @param [String] avoid\n+      #   The list of disallowed characters. Defaults to nulls and newlines.\n+      #\n+      # @return [String, String]","path":"lib/pwnlib/util/fiddling.rb","position":11,"original_position":11,"commit_id":"1b097c9e43561a8a8882b29a304520454ce7fe9f","original_commit_id":"1b097c9e43561a8a8882b29a304520454ce7fe9f","user":{"login":"david942j","id":4191701,"avatar_url":"https://avatars0.githubusercontent.com/u/4191701?v=4","gravatar_id":"","url":"https://api.github.com/users/david942j","html_url":"https://github.com/david942j","followers_url":"https://api.github.com/users/david942j/followers","following_url":"https://api.github.com/users/david942j/following{/other_user}","gists_url":"https://api.github.com/users/david942j/gists{/gist_id}","starred_url":"https://api.github.com/users/david942j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david942j/subscriptions","organizations_url":"https://api.github.com/users/david942j/orgs","repos_url":"https://api.github.com/users/david942j/repos","events_url":"https://api.github.com/users/david942j/events{/privacy}","received_events_url":"https://api.github.com/users/david942j/received_events","type":"User","site_admin":false},"body":"`(String, String)`","created_at":"2017-08-17T05:48:14Z","updated_at":"2017-08-17T05:48:14Z","html_url":"https://github.com/peter50216/pwntools-ruby/pull/18#discussion_r133627655","pull_request_url":"https://api.github.com/repos/peter50216/pwntools-ruby/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/peter50216/pwntools-ruby/pulls/comments/133627655"},"html":{"href":"https://github.com/peter50216/pwntools-ruby/pull/18#discussion_r133627655"},"pull_request":{"href":"https://api.github.com/repos/peter50216/pwntools-ruby/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/peter50216/pwntools-ruby/pulls/18","id":106315609,"html_url":"https://github.com/peter50216/pwntools-ruby/pull/18","diff_url":"https://github.com/peter50216/pwntools-ruby/pull/18.diff","patch_url":"https://github.com/peter50216/pwntools-ruby/pull/18.patch","issue_url":"https://api.github.com/repos/peter50216/pwntools-ruby/issues/18","number":18,"state":"open","locked":false,"title":"shellcraft for i386 and amd64","user":{"login":"david942j","id":4191701,"avatar_url":"https://avatars0.githubusercontent.com/u/4191701?v=4","gravatar_id":"","url":"https://api.github.com/users/david942j","html_url":"https://github.com/david942j","followers_url":"https://api.github.com/users/david942j/followers","following_url":"https://api.github.com/users/david942j/following{/other_user}","gists_url":"https://api.github.com/users/david942j/gists{/gist_id}","starred_url":"https://api.github.com/users/david942j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david942j/subscriptions","organizations_url":"https://api.github.com/users/david942j/orgs","repos_url":"https://api.github.com/users/david942j/repos","events_url":"https://api.github.com/users/david942j/events{/privacy}","received_events_url":"https://api.github.com/users/david942j/received_events","type":"User","site_admin":false},"body":"1. implement `shellcraft.(i386|amd64).linux.sh`\r\n2. create x86/ for common shellcodes of i386 and amd64\r\n\r\n<!-- Reviewable:start -->\r\n---\r\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/peter50216/pwntools-ruby/18)\r\n<!-- Reviewable:end -->\r\n","created_at":"2017-02-15T13:59:55Z","updated_at":"2017-08-17T05:48:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"38e22f1396d2cf3026dc1ad6f4b3b577bef6874e","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/peter50216/pwntools-ruby/pulls/18/commits","review_comments_url":"https://api.github.com/repos/peter50216/pwntools-ruby/pulls/18/comments","review_comment_url":"https://api.github.com/repos/peter50216/pwntools-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/peter50216/pwntools-ruby/issues/18/comments","statuses_url":"https://api.github.com/repos/peter50216/pwntools-ruby/statuses/1b097c9e43561a8a8882b29a304520454ce7fe9f","head":{"label":"peter50216:feature/shellcraft_i386","ref":"feature/shellcraft_i386","sha":"1b097c9e43561a8a8882b29a304520454ce7fe9f","user":{"login":"peter50216","id":891109,"avatar_url":"https://avatars3.githubusercontent.com/u/891109?v=4","gravatar_id":"","url":"https://api.github.com/users/peter50216","html_url":"https://github.com/peter50216","followers_url":"https://api.github.com/users/peter50216/followers","following_url":"https://api.github.com/users/peter50216/following{/other_user}","gists_url":"https://api.github.com/users/peter50216/gists{/gist_id}","starred_url":"https://api.github.com/users/peter50216/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter50216/subscriptions","organizations_url":"https://api.github.com/users/peter50216/orgs","repos_url":"https://api.github.com/users/peter50216/repos","events_url":"https://api.github.com/users/peter50216/events{/privacy}","received_events_url":"https://api.github.com/users/peter50216/received_events","type":"User","site_admin":false},"repo":{"id":54524811,"name":"pwntools-ruby","full_name":"peter50216/pwntools-ruby","owner":{"login":"peter50216","id":891109,"avatar_url":"https://avatars3.githubusercontent.com/u/891109?v=4","gravatar_id":"","url":"https://api.github.com/users/peter50216","html_url":"https://github.com/peter50216","followers_url":"https://api.github.com/users/peter50216/followers","following_url":"https://api.github.com/users/peter50216/following{/other_user}","gists_url":"https://api.github.com/users/peter50216/gists{/gist_id}","starred_url":"https://api.github.com/users/peter50216/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter50216/subscriptions","organizations_url":"https://api.github.com/users/peter50216/orgs","repos_url":"https://api.github.com/users/peter50216/repos","events_url":"https://api.github.com/users/peter50216/events{/privacy}","received_events_url":"https://api.github.com/users/peter50216/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/peter50216/pwntools-ruby","description":"WIP: pwntools on Ruby!","fork":false,"url":"https://api.github.com/repos/peter50216/pwntools-ruby","forks_url":"https://api.github.com/repos/peter50216/pwntools-ruby/forks","keys_url":"https://api.github.com/repos/peter50216/pwntools-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/peter50216/pwntools-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/peter50216/pwntools-ruby/teams","hooks_url":"https://api.github.com/repos/peter50216/pwntools-ruby/hooks","issue_events_url":"https://api.github.com/repos/peter50216/pwntools-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/peter50216/pwntools-ruby/events","assignees_url":"https://api.github.com/repos/peter50216/pwntools-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/peter50216/pwntools-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/peter50216/pwntools-ruby/tags","blobs_url":"https://api.github.com/repos/peter50216/pwntools-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/peter50216/pwntools-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/peter50216/pwntools-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/peter50216/pwntools-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/peter50216/pwntools-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/peter50216/pwntools-ruby/languages","stargazers_url":"https://api.github.com/repos/peter50216/pwntools-ruby/stargazers","contributors_url":"https://api.github.com/repos/peter50216/pwntools-ruby/contributors","subscribers_url":"https://api.github.com/repos/peter50216/pwntools-ruby/subscribers","subscription_url":"https://api.github.com/repos/peter50216/pwntools-ruby/subscription","commits_url":"https://api.github.com/repos/peter50216/pwntools-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/peter50216/pwntools-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/peter50216/pwntools-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/peter50216/pwntools-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/peter50216/pwntools-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/peter50216/pwntools-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/peter50216/pwntools-ruby/merges","archive_url":"https://api.github.com/repos/peter50216/pwntools-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/peter50216/pwntools-ruby/downloads","issues_url":"https://api.github.com/repos/peter50216/pwntools-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/peter50216/pwntools-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/peter50216/pwntools-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/peter50216/pwntools-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/peter50216/pwntools-ruby/labels{/name}","releases_url":"https://api.github.com/repos/peter50216/pwntools-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/peter50216/pwntools-ruby/deployments","created_at":"2016-03-23T02:33:28Z","updated_at":"2017-08-17T02:23:26Z","pushed_at":"2017-08-17T03:48:46Z","git_url":"git://github.com/peter50216/pwntools-ruby.git","ssh_url":"git@github.com:peter50216/pwntools-ruby.git","clone_url":"https://github.com/peter50216/pwntools-ruby.git","svn_url":"https://github.com/peter50216/pwntools-ruby","homepage":"","size":2172,"stargazers_count":26,"watchers_count":26,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":7,"forks":4,"open_issues":7,"watchers":26,"default_branch":"master"}},"base":{"label":"peter50216:master","ref":"master","sha":"324c0cba62f0d2f3ede773c12569542a2713bb59","user":{"login":"peter50216","id":891109,"avatar_url":"https://avatars3.githubusercontent.com/u/891109?v=4","gravatar_id":"","url":"https://api.github.com/users/peter50216","html_url":"https://github.com/peter50216","followers_url":"https://api.github.com/users/peter50216/followers","following_url":"https://api.github.com/users/peter50216/following{/other_user}","gists_url":"https://api.github.com/users/peter50216/gists{/gist_id}","starred_url":"https://api.github.com/users/peter50216/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter50216/subscriptions","organizations_url":"https://api.github.com/users/peter50216/orgs","repos_url":"https://api.github.com/users/peter50216/repos","events_url":"https://api.github.com/users/peter50216/events{/privacy}","received_events_url":"https://api.github.com/users/peter50216/received_events","type":"User","site_admin":false},"repo":{"id":54524811,"name":"pwntools-ruby","full_name":"peter50216/pwntools-ruby","owner":{"login":"peter50216","id":891109,"avatar_url":"https://avatars3.githubusercontent.com/u/891109?v=4","gravatar_id":"","url":"https://api.github.com/users/peter50216","html_url":"https://github.com/peter50216","followers_url":"https://api.github.com/users/peter50216/followers","following_url":"https://api.github.com/users/peter50216/following{/other_user}","gists_url":"https://api.github.com/users/peter50216/gists{/gist_id}","starred_url":"https://api.github.com/users/peter50216/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter50216/subscriptions","organizations_url":"https://api.github.com/users/peter50216/orgs","repos_url":"https://api.github.com/users/peter50216/repos","events_url":"https://api.github.com/users/peter50216/events{/privacy}","received_events_url":"https://api.github.com/users/peter50216/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/peter50216/pwntools-ruby","description":"WIP: pwntools on Ruby!","fork":false,"url":"https://api.github.com/repos/peter50216/pwntools-ruby","forks_url":"https://api.github.com/repos/peter50216/pwntools-ruby/forks","keys_url":"https://api.github.com/repos/peter50216/pwntools-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/peter50216/pwntools-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/peter50216/pwntools-ruby/teams","hooks_url":"https://api.github.com/repos/peter50216/pwntools-ruby/hooks","issue_events_url":"https://api.github.com/repos/peter50216/pwntools-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/peter50216/pwntools-ruby/events","assignees_url":"https://api.github.com/repos/peter50216/pwntools-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/peter50216/pwntools-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/peter50216/pwntools-ruby/tags","blobs_url":"https://api.github.com/repos/peter50216/pwntools-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/peter50216/pwntools-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/peter50216/pwntools-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/peter50216/pwntools-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/peter50216/pwntools-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/peter50216/pwntools-ruby/languages","stargazers_url":"https://api.github.com/repos/peter50216/pwntools-ruby/stargazers","contributors_url":"https://api.github.com/repos/peter50216/pwntools-ruby/contributors","subscribers_url":"https://api.github.com/repos/peter50216/pwntools-ruby/subscribers","subscription_url":"https://api.github.com/repos/peter50216/pwntools-ruby/subscription","commits_url":"https://api.github.com/repos/peter50216/pwntools-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/peter50216/pwntools-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/peter50216/pwntools-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/peter50216/pwntools-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/peter50216/pwntools-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/peter50216/pwntools-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/peter50216/pwntools-ruby/merges","archive_url":"https://api.github.com/repos/peter50216/pwntools-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/peter50216/pwntools-ruby/downloads","issues_url":"https://api.github.com/repos/peter50216/pwntools-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/peter50216/pwntools-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/peter50216/pwntools-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/peter50216/pwntools-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/peter50216/pwntools-ruby/labels{/name}","releases_url":"https://api.github.com/repos/peter50216/pwntools-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/peter50216/pwntools-ruby/deployments","created_at":"2016-03-23T02:33:28Z","updated_at":"2017-08-17T02:23:26Z","pushed_at":"2017-08-17T03:48:46Z","git_url":"git://github.com/peter50216/pwntools-ruby.git","ssh_url":"git@github.com:peter50216/pwntools-ruby.git","clone_url":"https://github.com/peter50216/pwntools-ruby.git","svn_url":"https://github.com/peter50216/pwntools-ruby","homepage":"","size":2172,"stargazers_count":26,"watchers_count":26,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":7,"forks":4,"open_issues":7,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/peter50216/pwntools-ruby/pulls/18"},"html":{"href":"https://github.com/peter50216/pwntools-ruby/pull/18"},"issue":{"href":"https://api.github.com/repos/peter50216/pwntools-ruby/issues/18"},"comments":{"href":"https://api.github.com/repos/peter50216/pwntools-ruby/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/peter50216/pwntools-ruby/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/peter50216/pwntools-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/peter50216/pwntools-ruby/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/peter50216/pwntools-ruby/statuses/1b097c9e43561a8a8882b29a304520454ce7fe9f"}}}}
{"actor":{"display_login":"david942j"}}