{"action":"created","issue":{"url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/7173","repository_url":"https://api.github.com/repos/rapid7/metasploit-framework","labels_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/7173/labels{/name}","comments_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/7173/comments","events_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/7173/events","html_url":"https://github.com/rapid7/metasploit-framework/pull/7173","id":168972750,"number":7173,"title":"Fix #7155 - Add post module to compress (zip) a file or directory","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},"labels":[{"url":"https://api.github.com/repos/rapid7/metasploit-framework/labels/feature","name":"feature","color":"bfe5bf"},{"url":"https://api.github.com/repos/rapid7/metasploit-framework/labels/module","name":"module","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"bwatters-r7","id":17987018,"avatar_url":"https://avatars.githubusercontent.com/u/17987018?v=3","gravatar_id":"","url":"https://api.github.com/users/bwatters-r7","html_url":"https://github.com/bwatters-r7","followers_url":"https://api.github.com/users/bwatters-r7/followers","following_url":"https://api.github.com/users/bwatters-r7/following{/other_user}","gists_url":"https://api.github.com/users/bwatters-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/bwatters-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwatters-r7/subscriptions","organizations_url":"https://api.github.com/users/bwatters-r7/orgs","repos_url":"https://api.github.com/users/bwatters-r7/repos","events_url":"https://api.github.com/users/bwatters-r7/events{/privacy}","received_events_url":"https://api.github.com/users/bwatters-r7/received_events","type":"User","site_admin":false},"assignees":[{"login":"bwatters-r7","id":17987018,"avatar_url":"https://avatars.githubusercontent.com/u/17987018?v=3","gravatar_id":"","url":"https://api.github.com/users/bwatters-r7","html_url":"https://github.com/bwatters-r7","followers_url":"https://api.github.com/users/bwatters-r7/followers","following_url":"https://api.github.com/users/bwatters-r7/following{/other_user}","gists_url":"https://api.github.com/users/bwatters-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/bwatters-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwatters-r7/subscriptions","organizations_url":"https://api.github.com/users/bwatters-r7/orgs","repos_url":"https://api.github.com/users/bwatters-r7/repos","events_url":"https://api.github.com/users/bwatters-r7/events{/privacy}","received_events_url":"https://api.github.com/users/bwatters-r7/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2016-08-02T19:50:55Z","updated_at":"2016-08-24T14:44:00Z","closed_at":"2016-08-24T14:40:17Z","pull_request":{"url":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/7173","html_url":"https://github.com/rapid7/metasploit-framework/pull/7173","diff_url":"https://github.com/rapid7/metasploit-framework/pull/7173.diff","patch_url":"https://github.com/rapid7/metasploit-framework/pull/7173.patch"},"body":"## What This Module Does\r\n\r\nThis module zips a directory or file on the target machine. Having the file smaller allows it to be moved or downloaded more quickly.\r\n\r\n#7155 \r\n\r\n## Verification\r\n\r\n**Windows**\r\n\r\n- [x] Prepare a Windows box\r\n- [x] Make sure AV is disabled\r\n- [x] Get a windows/meterpreter/reverse_tcp session from the Windows box\r\n- [x] Do: ```use post/multi/manage/zip```\r\n- [x] Do: ```set SESSION [ID]```\r\n- [x] Do: ```set SOURCE [The directory or file you want to zip]```\r\n- [x] Do: ```set DESTINATION [Where the zip should be saved as]```\r\n- [x] Do: ```run```\r\n- [x] Go to that directory (destination), the zip file should be there\r\n\r\n**Linux**\r\n\r\n- [x] Prepare a Linux box such as Ubuntu\r\n- [ ] Get a linux/x86/meterpreter/reverse_tcp from the Linux box\r\n- [x] Do: ```use post/multi/manage/zip```\r\n- [x] Do: ```set SESSION [ID]```\r\n- [x] Do: ```set SOURCE [The directory or file you want to zip]```\r\n- [x] Do: ```set DESTINATION [Where the zip should be saved as]```\r\n- [x] Do: ```run```\r\n- [x] Go to that directory (destination), the zip file should be there"},"comment":{"url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/comments/242089512","html_url":"https://github.com/rapid7/metasploit-framework/pull/7173#issuecomment-242089512","issue_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/7173","id":242089512,"user":{"login":"bwatters-r7","id":17987018,"avatar_url":"https://avatars.githubusercontent.com/u/17987018?v=3","gravatar_id":"","url":"https://api.github.com/users/bwatters-r7","html_url":"https://github.com/bwatters-r7","followers_url":"https://api.github.com/users/bwatters-r7/followers","following_url":"https://api.github.com/users/bwatters-r7/following{/other_user}","gists_url":"https://api.github.com/users/bwatters-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/bwatters-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwatters-r7/subscriptions","organizations_url":"https://api.github.com/users/bwatters-r7/orgs","repos_url":"https://api.github.com/users/bwatters-r7/repos","events_url":"https://api.github.com/users/bwatters-r7/events{/privacy}","received_events_url":"https://api.github.com/users/bwatters-r7/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T14:44:00Z","updated_at":"2016-08-24T14:44:00Z","body":"# Release Notes\r\nPulling files from a remote host can be highly time and bandwidth-consuming.  This module allows a user to compress and group files together on Windows or Linux hosts in a single zip file to make downloading easier."}}
{"actor":{"display_login":"bwatters-r7"}}