{"action":"created","issue":{"url":"https://api.github.com/repos/Crypt0s/FakeDns/issues/8","repository_url":"https://api.github.com/repos/Crypt0s/FakeDns","labels_url":"https://api.github.com/repos/Crypt0s/FakeDns/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/Crypt0s/FakeDns/issues/8/comments","events_url":"https://api.github.com/repos/Crypt0s/FakeDns/issues/8/events","html_url":"https://github.com/Crypt0s/FakeDns/pull/8","id":162040060,"number":8,"title":"Port option","user":{"login":"Linuturk","id":599062,"avatar_url":"https://avatars.githubusercontent.com/u/599062?v=3","gravatar_id":"","url":"https://api.github.com/users/Linuturk","html_url":"https://github.com/Linuturk","followers_url":"https://api.github.com/users/Linuturk/followers","following_url":"https://api.github.com/users/Linuturk/following{/other_user}","gists_url":"https://api.github.com/users/Linuturk/gists{/gist_id}","starred_url":"https://api.github.com/users/Linuturk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Linuturk/subscriptions","organizations_url":"https://api.github.com/users/Linuturk/orgs","repos_url":"https://api.github.com/users/Linuturk/repos","events_url":"https://api.github.com/users/Linuturk/events{/privacy}","received_events_url":"https://api.github.com/users/Linuturk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-06-23T22:44:06Z","updated_at":"2016-12-15T06:27:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Crypt0s/FakeDns/pulls/8","html_url":"https://github.com/Crypt0s/FakeDns/pull/8","diff_url":"https://github.com/Crypt0s/FakeDns/pull/8.diff","patch_url":"https://github.com/Crypt0s/FakeDns/pull/8.patch"},"body":"Adds an option to change the default port FakeDns listens on.\n\n```\nusage: fakedns.py [-h] -c PATH [-i IFACE] [-p PORT] [--rebind]\n\nthings and stuff\n\noptional arguments:\n  -h, --help  show this help message and exit\n  -c PATH     Path to configuration file\n  -i IFACE    IP address you wish to run FakeDns with - default all\n  -p PORT     Port number you wish to run FakeDns\n  --rebind    Enable DNS rebinding attacks - responds with one result the\n              first request, and another result on subsequent requests\n```\n"},"comment":{"url":"https://api.github.com/repos/Crypt0s/FakeDns/issues/comments/267249791","html_url":"https://github.com/Crypt0s/FakeDns/pull/8#issuecomment-267249791","issue_url":"https://api.github.com/repos/Crypt0s/FakeDns/issues/8","id":267249791,"user":{"login":"Linuturk","id":599062,"avatar_url":"https://avatars.githubusercontent.com/u/599062?v=3","gravatar_id":"","url":"https://api.github.com/users/Linuturk","html_url":"https://github.com/Linuturk","followers_url":"https://api.github.com/users/Linuturk/followers","following_url":"https://api.github.com/users/Linuturk/following{/other_user}","gists_url":"https://api.github.com/users/Linuturk/gists{/gist_id}","starred_url":"https://api.github.com/users/Linuturk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Linuturk/subscriptions","organizations_url":"https://api.github.com/users/Linuturk/orgs","repos_url":"https://api.github.com/users/Linuturk/repos","events_url":"https://api.github.com/users/Linuturk/events{/privacy}","received_events_url":"https://api.github.com/users/Linuturk/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T06:27:52Z","updated_at":"2016-12-15T06:27:52Z","body":"That uses regex to do a negative lookahead. It effectively directs all requests to the localhost addresses except for requests containing the strings defined. It certainly isn't as clean as it could be if proper whitelisting was implemented, but I didn't want to make any big modifications to the scripts logic. This uses regex to hack around the limitation."}}
{"actor":{"display_login":"Linuturk"}}