{"action":"created","issue":{"url":"https://api.github.com/repos/Maikuolan/phpMussel/issues/12","labels_url":"https://api.github.com/repos/Maikuolan/phpMussel/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/Maikuolan/phpMussel/issues/12/comments","events_url":"https://api.github.com/repos/Maikuolan/phpMussel/issues/12/events","html_url":"https://github.com/Maikuolan/phpMussel/issues/12","id":80527885,"number":12,"title":"suggestion: VirusTotal scan","user":{"login":"DanielRuf","id":827205,"avatar_url":"https://avatars.githubusercontent.com/u/827205?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielRuf","html_url":"https://github.com/DanielRuf","followers_url":"https://api.github.com/users/DanielRuf/followers","following_url":"https://api.github.com/users/DanielRuf/following{/other_user}","gists_url":"https://api.github.com/users/DanielRuf/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielRuf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielRuf/subscriptions","organizations_url":"https://api.github.com/users/DanielRuf/orgs","repos_url":"https://api.github.com/users/DanielRuf/repos","events_url":"https://api.github.com/users/DanielRuf/events{/privacy}","received_events_url":"https://api.github.com/users/DanielRuf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Maikuolan/phpMussel/labels/Completed","name":"Completed","color":"009900"},{"url":"https://api.github.com/repos/Maikuolan/phpMussel/labels/Feature","name":"Feature","color":"84b6eb"},{"url":"https://api.github.com/repos/Maikuolan/phpMussel/labels/Suggestion","name":"Suggestion","color":"84b6eb"},{"url":"https://api.github.com/repos/Maikuolan/phpMussel/labels/Testing","name":"Testing","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-05-25T12:51:53Z","updated_at":"2015-06-27T16:09:34Z","closed_at":null,"body":"if the  uploaded file is not recognized by any ClamAV signature and a special constant in the settings of phpMussel is set, we could use the MD5 / Sha1 / SHA256 hash of the file and fetch some results from the VirusTotal API if there are any\r\n\r\nhttps://www.virustotal.com/de/documentation/public-api/#getting-file-scans\r\nhttp://stackoverflow.com/questions/5572043/php-hash-contents-of-uploaded-file\r\n\r\nIf this idea is a useful suggestion and addition, I would prepare this and test it."},"comment":{"url":"https://api.github.com/repos/Maikuolan/phpMussel/issues/comments/116092020","html_url":"https://github.com/Maikuolan/phpMussel/issues/12#issuecomment-116092020","issue_url":"https://api.github.com/repos/Maikuolan/phpMussel/issues/12","id":116092020,"user":{"login":"DanielRuf","id":827205,"avatar_url":"https://avatars.githubusercontent.com/u/827205?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielRuf","html_url":"https://github.com/DanielRuf","followers_url":"https://api.github.com/users/DanielRuf/followers","following_url":"https://api.github.com/users/DanielRuf/following{/other_user}","gists_url":"https://api.github.com/users/DanielRuf/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielRuf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielRuf/subscriptions","organizations_url":"https://api.github.com/users/DanielRuf/orgs","repos_url":"https://api.github.com/users/DanielRuf/repos","events_url":"https://api.github.com/users/DanielRuf/events{/privacy}","received_events_url":"https://api.github.com/users/DanielRuf/received_events","type":"User","site_admin":false},"created_at":"2015-06-27T16:09:34Z","updated_at":"2015-06-27T16:09:34Z","body":"I was a bit unprecise, sorry. \r\n\r\nI meant that we do not have to check the hash with the VirusTotal API if the filesize exceeds the current limit of 128 MB per file (uploaded through virustotal.com).\r\n\r\nI think the public API has a limit of 64 MB per file for upload.\r\n\r\nBut yes, we need to check this even for the planned implementation for uploading files to VirusTotal."}}