{"action":"created","issue":{"url":"https://api.github.com/repos/devttys0/binwalk/issues/203","repository_url":"https://api.github.com/repos/devttys0/binwalk","labels_url":"https://api.github.com/repos/devttys0/binwalk/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/devttys0/binwalk/issues/203/comments","events_url":"https://api.github.com/repos/devttys0/binwalk/issues/203/events","html_url":"https://github.com/devttys0/binwalk/issues/203","id":152013523,"number":203,"title":"Recursive extraction fails when file type is misidentified","user":{"login":"RenaKunisaki","id":1185585,"avatar_url":"https://avatars.githubusercontent.com/u/1185585?v=3","gravatar_id":"","url":"https://api.github.com/users/RenaKunisaki","html_url":"https://github.com/RenaKunisaki","followers_url":"https://api.github.com/users/RenaKunisaki/followers","following_url":"https://api.github.com/users/RenaKunisaki/following{/other_user}","gists_url":"https://api.github.com/users/RenaKunisaki/gists{/gist_id}","starred_url":"https://api.github.com/users/RenaKunisaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RenaKunisaki/subscriptions","organizations_url":"https://api.github.com/users/RenaKunisaki/orgs","repos_url":"https://api.github.com/users/RenaKunisaki/repos","events_url":"https://api.github.com/users/RenaKunisaki/events{/privacy}","received_events_url":"https://api.github.com/users/RenaKunisaki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-30T06:30:34Z","updated_at":"2016-05-09T03:07:39Z","closed_at":null,"body":"Running `binwalk -eM` on [this file](https://www.dropbox.com/s/nqu0w9e64p7tz9a/bt2700hgv_reinstall_enh_2sp.zip?dl=0) (after unzipping) extracts a lot of `.crt` files, which Binwalk believes to be certificates (despite some are several megabytes), but it does not go on to extract those. They have to be manually extracted by invoking `binwalk` again."},"comment":{"url":"https://api.github.com/repos/devttys0/binwalk/issues/comments/217767436","html_url":"https://github.com/devttys0/binwalk/issues/203#issuecomment-217767436","issue_url":"https://api.github.com/repos/devttys0/binwalk/issues/203","id":217767436,"user":{"login":"RenaKunisaki","id":1185585,"avatar_url":"https://avatars.githubusercontent.com/u/1185585?v=3","gravatar_id":"","url":"https://api.github.com/users/RenaKunisaki","html_url":"https://github.com/RenaKunisaki","followers_url":"https://api.github.com/users/RenaKunisaki/followers","following_url":"https://api.github.com/users/RenaKunisaki/following{/other_user}","gists_url":"https://api.github.com/users/RenaKunisaki/gists{/gist_id}","starred_url":"https://api.github.com/users/RenaKunisaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RenaKunisaki/subscriptions","organizations_url":"https://api.github.com/users/RenaKunisaki/orgs","repos_url":"https://api.github.com/users/RenaKunisaki/repos","events_url":"https://api.github.com/users/RenaKunisaki/events{/privacy}","received_events_url":"https://api.github.com/users/RenaKunisaki/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T03:07:39Z","updated_at":"2016-05-09T03:07:39Z","body":"So all the extra files extracted from those .crt files are just duplicates of what's in the original file?\r\n\r\nI wonder if it's possible to determine their size by looking at nearby words that might be a size, extracting that much, and checking if the result is a valid certificate (or other type of file) without any extra junk at the end."}}