{"action":"opened","issue":{"url":"https://api.github.com/repos/megastep/makeself/issues/115","repository_url":"https://api.github.com/repos/megastep/makeself","labels_url":"https://api.github.com/repos/megastep/makeself/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/megastep/makeself/issues/115/comments","events_url":"https://api.github.com/repos/megastep/makeself/issues/115/events","html_url":"https://github.com/megastep/makeself/issues/115","id":251930251,"number":115,"title":"extract without execution","user":{"login":"treaki","id":1477872,"avatar_url":"https://avatars2.githubusercontent.com/u/1477872?v=4","gravatar_id":"","url":"https://api.github.com/users/treaki","html_url":"https://github.com/treaki","followers_url":"https://api.github.com/users/treaki/followers","following_url":"https://api.github.com/users/treaki/following{/other_user}","gists_url":"https://api.github.com/users/treaki/gists{/gist_id}","starred_url":"https://api.github.com/users/treaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/treaki/subscriptions","organizations_url":"https://api.github.com/users/treaki/orgs","repos_url":"https://api.github.com/users/treaki/repos","events_url":"https://api.github.com/users/treaki/events{/privacy}","received_events_url":"https://api.github.com/users/treaki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-22T11:50:17Z","updated_at":"2017-08-22T11:50:17Z","closed_at":null,"body":"hi,\r\n\r\ni dont want to execute foreign code on my machine just to extract files. How can i extract all the data without executing any code included? i have an archive here where i was able to strip all ASCII before the gzip data using a hex editor and then run gzip and tar over it to get some files. But unfortunately there where more then one binary blobs included in the \"makeself binary\"... So how can i get all the files?\r\n\r\n```\r\n$ stat -c \"%n filesize: %s\" *\r\ngog_master_of_magic_2.0.0.3.sh filesize: 17758688\r\ngog_master_of_magic_2.0.0.3.sh_ filesize: 17746226\r\nlog filesize: 418\r\n$ cat log\r\n$ gzip -v -t -l gog_master_of_magic_2.0.0.3.sh_\r\nmethod  crc     date  time           compressed        uncompressed  ratio uncompressed_name\r\ndefla 1c1a0000 Aug 16 21:16            17746226                 259 -6851717.8% gog_master_of_magic_2.0.0.3.sh_\r\n$ gzip -v -t gog_master_of_magic_2.0.0.3.sh_\r\ngog_master_of_magic_2.0.0.3.sh_:\t\r\ngzip: gog_master_of_magic_2.0.0.3.sh_: decompression OK, trailing garbage ignored\r\n OK\r\n$ \r\n\r\n```\r\ngog_master_of_magic_2.0.0.3.sh is the original file i have got, gog_master_of_magic_2.0.0.3.sh_ the result of deleting everything until the binary (non textual/ASCII-like) data started, but it looks like there is more then one blob. As you can see gzip claims that there are more data trailing the gzip archive, and when i extract it i miss the important stuff (just a launcher i dont need anyway)...\r\n\r\nSo i would need a tool that would show me any blobs position inside an makeself archive like this imaginary tool:\r\n\r\n```\r\n$ makeselfarchiveanalzyer gog_master_of_magic_2.0.0.3.sh\r\nopening gog_master_of_magic_2.0.0.3.sh for analyzing, overall file size 17758688; showing containing blobs:\r\nstart; end; type\r\n12462; xxx; tar.gz archive\r\nyyy; zzz; whatever there is\r\n[...]\r\n```\r\ni am incapable of understanding the magic behind this binary blob stuff in use with makeself so i would be really glad if someone could help me out. Thanks in advance!"}}
{"actor":{"display_login":"treaki"}}