{"action":"created","issue":{"url":"https://api.github.com/repos/kevthehermit/PasteHunter/issues/2","repository_url":"https://api.github.com/repos/kevthehermit/PasteHunter","labels_url":"https://api.github.com/repos/kevthehermit/PasteHunter/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/kevthehermit/PasteHunter/issues/2/comments","events_url":"https://api.github.com/repos/kevthehermit/PasteHunter/issues/2/events","html_url":"https://github.com/kevthehermit/PasteHunter/issues/2","id":256580791,"number":2,"title":"AttributeError: 'str' object has no attribute 'rule'","user":{"login":"p0x","id":5761697,"avatar_url":"https://avatars2.githubusercontent.com/u/5761697?v=4","gravatar_id":"","url":"https://api.github.com/users/p0x","html_url":"https://github.com/p0x","followers_url":"https://api.github.com/users/p0x/followers","following_url":"https://api.github.com/users/p0x/following{/other_user}","gists_url":"https://api.github.com/users/p0x/gists{/gist_id}","starred_url":"https://api.github.com/users/p0x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p0x/subscriptions","organizations_url":"https://api.github.com/users/p0x/orgs","repos_url":"https://api.github.com/users/p0x/repos","events_url":"https://api.github.com/users/p0x/events{/privacy}","received_events_url":"https://api.github.com/users/p0x/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-11T04:48:09Z","updated_at":"2017-09-11T08:26:40Z","closed_at":null,"author_association":"NONE","body":"**I tried to run the script after setup all the requirement but there is an error before sending the results to Elasticsearch** :\r\n\r\nTraceback (most recent call last):\r\n  File \"pastehunter.py\", line 100, in <module>\r\n    if match.rule == 'core_keywords' or match.rule == 'custom_keywords':\r\nAttributeError: 'str' object has no attribute 'rule'\r\n\r\nI used **python3**.\r\n"},"comment":{"url":"https://api.github.com/repos/kevthehermit/PasteHunter/issues/comments/328456460","html_url":"https://github.com/kevthehermit/PasteHunter/issues/2#issuecomment-328456460","issue_url":"https://api.github.com/repos/kevthehermit/PasteHunter/issues/2","id":328456460,"user":{"login":"kevthehermit","id":2545096,"avatar_url":"https://avatars2.githubusercontent.com/u/2545096?v=4","gravatar_id":"","url":"https://api.github.com/users/kevthehermit","html_url":"https://github.com/kevthehermit","followers_url":"https://api.github.com/users/kevthehermit/followers","following_url":"https://api.github.com/users/kevthehermit/following{/other_user}","gists_url":"https://api.github.com/users/kevthehermit/gists{/gist_id}","starred_url":"https://api.github.com/users/kevthehermit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevthehermit/subscriptions","organizations_url":"https://api.github.com/users/kevthehermit/orgs","repos_url":"https://api.github.com/users/kevthehermit/repos","events_url":"https://api.github.com/users/kevthehermit/events{/privacy}","received_events_url":"https://api.github.com/users/kevthehermit/received_events","type":"User","site_admin":false},"created_at":"2017-09-11T08:26:40Z","updated_at":"2017-09-11T08:26:40Z","author_association":"OWNER","body":"Which version of yara are you using? Did you build from source or did you install via your distro like apt?\r\ndistro versions are out of date. You need to be using a 3x version of yara with the 3x python bindings. "}}
{"actor":{"display_login":"kevthehermit"}}