{"action":"opened","issue":{"url":"https://api.github.com/repos/cnvogelg/amitools/issues/51","repository_url":"https://api.github.com/repos/cnvogelg/amitools","labels_url":"https://api.github.com/repos/cnvogelg/amitools/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/cnvogelg/amitools/issues/51/comments","events_url":"https://api.github.com/repos/cnvogelg/amitools/issues/51/events","html_url":"https://github.com/cnvogelg/amitools/issues/51","id":169128769,"number":51,"title":"Should hunktool.py learn how to extract version information?","user":{"login":"cmsj","id":353427,"avatar_url":"https://avatars.githubusercontent.com/u/353427?v=3","gravatar_id":"","url":"https://api.github.com/users/cmsj","html_url":"https://github.com/cmsj","followers_url":"https://api.github.com/users/cmsj/followers","following_url":"https://api.github.com/users/cmsj/following{/other_user}","gists_url":"https://api.github.com/users/cmsj/gists{/gist_id}","starred_url":"https://api.github.com/users/cmsj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmsj/subscriptions","organizations_url":"https://api.github.com/users/cmsj/orgs","repos_url":"https://api.github.com/users/cmsj/repos","events_url":"https://api.github.com/users/cmsj/events{/privacy}","received_events_url":"https://api.github.com/users/cmsj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-03T13:16:18Z","updated_at":"2016-08-03T13:16:18Z","closed_at":null,"body":"I've found it very useful to be able to recursively scan archives/directories/binaries with hunktool, but my purpose was to gather lots of version information.\r\n\r\nTo do this I hacked together a quick fork of hunktool.py which uses Python's `re` module to search for the `$VER: ` cookie. It's not complete because it ignores part of the version string, but it was sufficient for my needs.\r\n\r\nIs there any interest in having this polished up and made part of hunktool? (or a separate tool specifically for printing version strings).\r\n\r\nYou can see my hackfork at: https://github.com/cmsj/amitools/blob/e94cc3dacd8cc1a987101d34be23425a117210ba/amitools/tools/version_hunktool.py"}}
{"actor":{"display_login":"cmsj"}}