{"action":"created","issue":{"url":"https://api.github.com/repos/PowerShellEmpire/Empire/issues/125","labels_url":"https://api.github.com/repos/PowerShellEmpire/Empire/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/PowerShellEmpire/Empire/issues/125/comments","events_url":"https://api.github.com/repos/PowerShellEmpire/Empire/issues/125/events","html_url":"https://github.com/PowerShellEmpire/Empire/issues/125","id":125991626,"number":125,"title":"Languages that are not UTF-8","user":{"login":"Da5hes","id":4195138,"avatar_url":"https://avatars.githubusercontent.com/u/4195138?v=3","gravatar_id":"","url":"https://api.github.com/users/Da5hes","html_url":"https://github.com/Da5hes","followers_url":"https://api.github.com/users/Da5hes/followers","following_url":"https://api.github.com/users/Da5hes/following{/other_user}","gists_url":"https://api.github.com/users/Da5hes/gists{/gist_id}","starred_url":"https://api.github.com/users/Da5hes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Da5hes/subscriptions","organizations_url":"https://api.github.com/users/Da5hes/orgs","repos_url":"https://api.github.com/users/Da5hes/repos","events_url":"https://api.github.com/users/Da5hes/events{/privacy}","received_events_url":"https://api.github.com/users/Da5hes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PowerShellEmpire/Empire/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-11T17:08:07Z","updated_at":"2016-01-18T10:21:23Z","closed_at":null,"body":"after some testing today, empire crashed when we tried to download a file with a hebrew filename, my guess is that empire download function  does not support anything but UTF-8, so empire will crash on anything else than that\r\n"},"comment":{"url":"https://api.github.com/repos/PowerShellEmpire/Empire/issues/comments/172489120","html_url":"https://github.com/PowerShellEmpire/Empire/issues/125#issuecomment-172489120","issue_url":"https://api.github.com/repos/PowerShellEmpire/Empire/issues/125","id":172489120,"user":{"login":"Da5hes","id":4195138,"avatar_url":"https://avatars.githubusercontent.com/u/4195138?v=3","gravatar_id":"","url":"https://api.github.com/users/Da5hes","html_url":"https://github.com/Da5hes","followers_url":"https://api.github.com/users/Da5hes/followers","following_url":"https://api.github.com/users/Da5hes/following{/other_user}","gists_url":"https://api.github.com/users/Da5hes/gists{/gist_id}","starred_url":"https://api.github.com/users/Da5hes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Da5hes/subscriptions","organizations_url":"https://api.github.com/users/Da5hes/orgs","repos_url":"https://api.github.com/users/Da5hes/repos","events_url":"https://api.github.com/users/Da5hes/events{/privacy}","received_events_url":"https://api.github.com/users/Da5hes/received_events","type":"User","site_admin":false},"created_at":"2016-01-18T10:21:23Z","updated_at":"2016-01-18T10:21:23Z","body":"thanks for the fast replay\r\nempire is not totally crashing like before, but it is still not working(i did the test on a US language machine with a hebrew filename on it)\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/SocketServer.py\", line 295, in _handle_request_noblock\r\n    self.process_request(request, client_address)\r\n  File \"/usr/lib/python2.7/SocketServer.py\", line 321, in process_request\r\n    self.finish_request(request, client_address)\r\n  File \"/usr/lib/python2.7/SocketServer.py\", line 334, in finish_request\r\n    self.RequestHandlerClass(request, client_address, self)\r\n  File \"/usr/lib/python2.7/SocketServer.py\", line 655, in __init__\r\n    self.handle()\r\n  File \"/usr/lib/python2.7/BaseHTTPServer.py\", line 340, in handle\r\n    self.handle_one_request()\r\n  File \"/usr/lib/python2.7/BaseHTTPServer.py\", line 328, in handle_one_request\r\n    method()\r\n  File \"/root/Desktop/Empire/lib/common/http.py\", line 86, in do_GET\r\n    (code, responsedata) = self.server.agents.process_get(self.server.server_port, clientIP, sessionID, resource)\r\n  File \"/root/Desktop/Empire/lib/common/agents.py\", line 1120, in process_get\r\n    taskPacket = packets.build_task_packet(taskName, taskData)\r\n  File \"/root/Desktop/Empire/lib/common/packets.py\", line 106, in build_task_packet\r\n    return taskID + counter + length + data.encode('utf-8').encode('utf-8',errors='ignore')\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position 0: ordinal not in range(128)\r\n\r\n"}}