djcsdy / swfmill

Generate or decompile Adobe Flash SWF files using an XML dialect. Inspect and modify the XML by hand, or by using a built in XSLT processor.
http://www.swfmill.org/
GNU General Public License v2.0
131 stars 28 forks source link

base64 ->jpg error #52

Open sunjunlishi opened 6 years ago

sunjunlishi commented 6 years ago

after swfmill swf2xml foo.swf bar.xml

  <PlaceObject2 replace="0" depth="2" objectID="3"/>
  <DefineBitsJPEG2 objectID="4">
    <data>
      <data>/9j/2wBDAAUDBAQEAwUEBAQFBQUGBwwIBwcHBw8LCwkMEQ8SEhEPERETFhwXExQaFRERGCEYGh0dHx8fExciJCIeJBweHx7/2wBDAQUFBQcGBw4ICA4eFBEUHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh7/xAAfAAABBQEBAQEBAQAAAAAAAAAAAQIDBAUGBwgJCgv/xAC1EAACAQMDAgQDBQUEBAAAAX0BAgMABBEFEiExQQYTUWEHInEUMoGRoQgjQrHBFVLR8CQzYnKCCQoWFxgZGiUmJygpKjQ1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4eLj5OXm5+jp6vHy8/T19vf4+fr/xAAfAQADAQEBAQEBAQEBAAAAAAAAAQIDBAUGBwgJCgv/xAC1EQACAQIEBAMEBwUEBAABAncAAQIDEQQFITEGEkFRB2FxEyIygQgUQpGhscEJIzNS8BVictEKFiQ04SXxFxgZGiYnKCkqNTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqCg4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2dri4
sunjunlishi commented 6 years ago

I change the data base64 2 jpg,jpg could not be opened ok

djcsdy commented 6 years ago

Did you definitely paste the full output from swfmill? The output appears to be truncated.

djcsdy commented 6 years ago

Also if you can please share the foo.swf that you are testing against.

sunjunlishi commented 6 years ago

https://pan.baidu.com/s/1HU1seNu50_uW8Df3iUC8zQ

sunjunlishi commented 6 years ago

this is swf file。trouble you.

djcsdy commented 6 years ago

I can't download the file from the link you provided. It requires a Baidu account, which requires a Chinese phone number. I am not in China.

Please attach the file to this issue. You will need to zip it first since GitHub does not accept SWF files.

sunjunlishi commented 6 years ago

a.zip

djcsdy commented 6 years ago

Thanks.

sunjunlishi commented 6 years ago

when is ok?i want to use

sunjunlishi commented 6 years ago

i resolved it by swftools http://www.swftools.org/download.html