{"action":"created","issue":{"url":"https://api.github.com/repos/m4ll0k/WPSeku/issues/45","repository_url":"https://api.github.com/repos/m4ll0k/WPSeku","labels_url":"https://api.github.com/repos/m4ll0k/WPSeku/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/m4ll0k/WPSeku/issues/45/comments","events_url":"https://api.github.com/repos/m4ll0k/WPSeku/issues/45/events","html_url":"https://github.com/m4ll0k/WPSeku/issues/45","id":367612419,"node_id":"MDU6SXNzdWUzNjc2MTI0MTk=","number":45,"title":"UnicodeDecodeError: 'utf-8' codec can't decode byte","user":{"login":"dnlwgnr89","id":17064324,"node_id":"MDQ6VXNlcjE3MDY0MzI0","avatar_url":"https://avatars2.githubusercontent.com/u/17064324?v=4","gravatar_id":"","url":"https://api.github.com/users/dnlwgnr89","html_url":"https://github.com/dnlwgnr89","followers_url":"https://api.github.com/users/dnlwgnr89/followers","following_url":"https://api.github.com/users/dnlwgnr89/following{/other_user}","gists_url":"https://api.github.com/users/dnlwgnr89/gists{/gist_id}","starred_url":"https://api.github.com/users/dnlwgnr89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnlwgnr89/subscriptions","organizations_url":"https://api.github.com/users/dnlwgnr89/orgs","repos_url":"https://api.github.com/users/dnlwgnr89/repos","events_url":"https://api.github.com/users/dnlwgnr89/events{/privacy}","received_events_url":"https://api.github.com/users/dnlwgnr89/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-08T00:59:26Z","updated_at":"2018-10-08T01:02:26Z","closed_at":null,"author_association":"NONE","body":"```\r\nvagrant@ubuntu-xenial:~/wpseku$ python3 wpseku.py --scan /vagrant/remote/public_html/\r\n...\r\n[ i ] Scanning /vagrant/remote/public_html/wp-content/wflogs/attack-data.php file\r\nTraceback (most recent call last):\r\n  File \"wpseku.py\", line 71, in <module>\r\n    wpseku().main()\r\n  File \"wpseku.py\", line 54, in main\r\n    Scan().run(self.scan)\r\n  File \"/home/vagrant/wpseku/lib/scan.py\", line 59, in run\r\n    self.testFile(file)\r\n  File \"/home/vagrant/wpseku/lib/scan.py\", line 68, in testFile\r\n    res += self.csrf(code)\r\n  File \"/home/vagrant/wpseku/lib/scan.py\", line 92, in csrf\r\n    pattern = re.findall(b.decode(\"utf-8\"),cd.decode(\"utf-8\"),re.I)\r\nUnicodeDecodeError: 'utf-8' codec can't decode byte 0x8f in position 28: invalid start byte\r\n```\r\n\r\nThis file (attack-data.php) is a binary file, so of course it fails to be decoded - is there any option do an exclude on type or regex name/path?"},"comment":{"url":"https://api.github.com/repos/m4ll0k/WPSeku/issues/comments/427701962","html_url":"https://github.com/m4ll0k/WPSeku/issues/45#issuecomment-427701962","issue_url":"https://api.github.com/repos/m4ll0k/WPSeku/issues/45","id":427701962,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzcwMTk2Mg==","user":{"login":"dnlwgnr89","id":17064324,"node_id":"MDQ6VXNlcjE3MDY0MzI0","avatar_url":"https://avatars2.githubusercontent.com/u/17064324?v=4","gravatar_id":"","url":"https://api.github.com/users/dnlwgnr89","html_url":"https://github.com/dnlwgnr89","followers_url":"https://api.github.com/users/dnlwgnr89/followers","following_url":"https://api.github.com/users/dnlwgnr89/following{/other_user}","gists_url":"https://api.github.com/users/dnlwgnr89/gists{/gist_id}","starred_url":"https://api.github.com/users/dnlwgnr89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnlwgnr89/subscriptions","organizations_url":"https://api.github.com/users/dnlwgnr89/orgs","repos_url":"https://api.github.com/users/dnlwgnr89/repos","events_url":"https://api.github.com/users/dnlwgnr89/events{/privacy}","received_events_url":"https://api.github.com/users/dnlwgnr89/received_events","type":"User","site_admin":false},"created_at":"2018-10-08T01:02:26Z","updated_at":"2018-10-08T01:02:26Z","author_association":"NONE","body":"For context, I'm running the scan locally on the server via SSHFS"}}
{"actor":{"display_login":"dnlwgnr89"}}