{"action":"created","issue":{"url":"https://api.github.com/repos/zardus/idalink/issues/10","repository_url":"https://api.github.com/repos/zardus/idalink","labels_url":"https://api.github.com/repos/zardus/idalink/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/zardus/idalink/issues/10/comments","events_url":"https://api.github.com/repos/zardus/idalink/issues/10/events","html_url":"https://github.com/zardus/idalink/pull/10","id":140486467,"number":10,"title":"Added ability to connect to a remote IDA instance","user":{"login":"adrianherrera","id":8626578,"avatar_url":"https://avatars.githubusercontent.com/u/8626578?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianherrera","html_url":"https://github.com/adrianherrera","followers_url":"https://api.github.com/users/adrianherrera/followers","following_url":"https://api.github.com/users/adrianherrera/following{/other_user}","gists_url":"https://api.github.com/users/adrianherrera/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianherrera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianherrera/subscriptions","organizations_url":"https://api.github.com/users/adrianherrera/orgs","repos_url":"https://api.github.com/users/adrianherrera/repos","events_url":"https://api.github.com/users/adrianherrera/events{/privacy}","received_events_url":"https://api.github.com/users/adrianherrera/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-13T13:37:28Z","updated_at":"2016-03-15T01:58:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zardus/idalink/pulls/10","html_url":"https://github.com/zardus/idalink/pull/10","diff_url":"https://github.com/zardus/idalink/pull/10.diff","patch_url":"https://github.com/zardus/idalink/pull/10.patch"},"body":"Hi Yan,\r\n\r\nAnother pull request! This time I've added a new class, `remote_idalink`, that can be used to connect to a remote machine that is already running the idalink server in IDA Pro. Basically this allows me to use idalink to talk to my Windows IDA install from a Linux machine :-) Because you're already using RPC, there aren't many changes to existing functionality. Changes are:\r\n\r\n* Added some new exports to `__init__.py`\r\n* Made `ida_spawn` a public function so that it can be invoked on a remote machine. To make this some-what more robust I moved the check of the IDA path into `ida_spawn` (to make sure this check always occurs)\r\n* Added a new class, `remote_idalink`, that extends `idalink` and instead of taking a filename and path to IDA it takes a hostname/IP address and port to connect to. Ideally what I'd like to have is a single class that takes an argument like `is_remote=True`. The filename and IDA path that you provide get translated on the server (and the file copied across to the remote machine). However I haven't figured out a nice clean way to do this... Yet :-)\r\n\r\nAny comments/feedback welcome!\r\n\r\nRegards,\r\nAdrian"},"comment":{"url":"https://api.github.com/repos/zardus/idalink/issues/comments/196610553","html_url":"https://github.com/zardus/idalink/pull/10#issuecomment-196610553","issue_url":"https://api.github.com/repos/zardus/idalink/issues/10","id":196610553,"user":{"login":"zardus","id":3453847,"avatar_url":"https://avatars.githubusercontent.com/u/3453847?v=3","gravatar_id":"","url":"https://api.github.com/users/zardus","html_url":"https://github.com/zardus","followers_url":"https://api.github.com/users/zardus/followers","following_url":"https://api.github.com/users/zardus/following{/other_user}","gists_url":"https://api.github.com/users/zardus/gists{/gist_id}","starred_url":"https://api.github.com/users/zardus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zardus/subscriptions","organizations_url":"https://api.github.com/users/zardus/orgs","repos_url":"https://api.github.com/users/zardus/repos","events_url":"https://api.github.com/users/zardus/events{/privacy}","received_events_url":"https://api.github.com/users/zardus/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T01:58:41Z","updated_at":"2016-03-15T01:58:41Z","body":"Cool stuff!\r\n\r\nI agree that having the file transfer automatic would be cool, but small steps are ok :-).\r\n\r\nIt'd be really cool to be able to connect to a running, used IDA instance with idalink and \"share\" it, but I have no idea how it'd work with IDA's threading..."}}