{"action":"created","issue":{"url":"https://api.github.com/repos/ChrisTruncer/Egress-Assess/issues/38","labels_url":"https://api.github.com/repos/ChrisTruncer/Egress-Assess/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/ChrisTruncer/Egress-Assess/issues/38/comments","events_url":"https://api.github.com/repos/ChrisTruncer/Egress-Assess/issues/38/events","html_url":"https://github.com/ChrisTruncer/Egress-Assess/pull/38","id":117748255,"number":38,"title":"Added option to change server side port","user":{"login":"sethsec","id":1268152,"avatar_url":"https://avatars.githubusercontent.com/u/1268152?v=3","gravatar_id":"","url":"https://api.github.com/users/sethsec","html_url":"https://github.com/sethsec","followers_url":"https://api.github.com/users/sethsec/followers","following_url":"https://api.github.com/users/sethsec/following{/other_user}","gists_url":"https://api.github.com/users/sethsec/gists{/gist_id}","starred_url":"https://api.github.com/users/sethsec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethsec/subscriptions","organizations_url":"https://api.github.com/users/sethsec/orgs","repos_url":"https://api.github.com/users/sethsec/repos","events_url":"https://api.github.com/users/sethsec/events{/privacy}","received_events_url":"https://api.github.com/users/sethsec/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-19T06:09:42Z","updated_at":"2015-12-03T18:32:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ChrisTruncer/Egress-Assess/pulls/38","html_url":"https://github.com/ChrisTruncer/Egress-Assess/pull/38","diff_url":"https://github.com/ChrisTruncer/Egress-Assess/pull/38.diff","patch_url":"https://github.com/ChrisTruncer/Egress-Assess/pull/38.patch"},"body":"Added the ability to specify a non-standard port and override the default ports for each respective service.  If **--port** is specified, *http_server, https_server, ftp_server, and smtp_server* will listen on the specified port. If **--port** is not specified, the servers will listen on the standard port for each respective service, just like they previously were.  \r\n\r\nThis is helpful in situations where you already have a service already running on port 80,443,etc, but you have the ability to NAT the standard port coming in from the outside to a non-standard port on the inside.\r\n\r\n```\r\n./Egress-Assess.py --server http --port 8888\r\n./Egress-Assess.py --server https --port 8443\r\n./Egress-Assess.py --server ftp --port 12345 --username test --password test    \r\n./Egress-Assess.py --server smtp --port 12345\r\n```\r\n\r\n "},"comment":{"url":"https://api.github.com/repos/ChrisTruncer/Egress-Assess/issues/comments/161740766","html_url":"https://github.com/ChrisTruncer/Egress-Assess/pull/38#issuecomment-161740766","issue_url":"https://api.github.com/repos/ChrisTruncer/Egress-Assess/issues/38","id":161740766,"user":{"login":"sethsec","id":1268152,"avatar_url":"https://avatars.githubusercontent.com/u/1268152?v=3","gravatar_id":"","url":"https://api.github.com/users/sethsec","html_url":"https://github.com/sethsec","followers_url":"https://api.github.com/users/sethsec/followers","following_url":"https://api.github.com/users/sethsec/following{/other_user}","gists_url":"https://api.github.com/users/sethsec/gists{/gist_id}","starred_url":"https://api.github.com/users/sethsec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethsec/subscriptions","organizations_url":"https://api.github.com/users/sethsec/orgs","repos_url":"https://api.github.com/users/sethsec/repos","events_url":"https://api.github.com/users/sethsec/events{/privacy}","received_events_url":"https://api.github.com/users/sethsec/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T18:32:14Z","updated_at":"2015-12-03T18:32:14Z","body":"Correct. My requirement was that I still wanted the client to communicate on the standard port (restricted egress at client end), but I needed the server on my end (behind a NAT) to listen on another port because I already had stuff listening on port 80/443/etc.  I then used a static port translation to bridge the gap.     \r\n\r\nI'm happy to take a crack at adding this functionality to the python and powershell clients if you'd like to make the update more complete. Just let me know. "}}