Skip to content
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.

invalid signature (ArgumentError) - I'm new to Ruby. #3

Closed
SamPCL opened this issue Jul 7, 2012 · 7 comments
Closed

invalid signature (ArgumentError) - I'm new to Ruby. #3

SamPCL opened this issue Jul 7, 2012 · 7 comments

Comments

@SamPCL
Copy link

SamPCL commented Jul 7, 2012

Hello,

I use a Mac Running 10.7.4 with Ruby 1.9.2. Upon executing a simple "furnace-swf -i test.swf abclist" as stated in the tutorial, I get the following errors:

/Users/sam/.rvm/gems/ruby-1.9.2-p320/gems/furnace-swf-0.0.2/lib/furnace-swf/swf/file.rb:23:in do_read': invalid signature (ArgumentError) from /Users/sam/.rvm/gems/ruby-1.9.2-p320/gems/bindata-1.4.4/lib/bindata/base.rb:163:inread'
from /Users/sam/.rvm/gems/ruby-1.9.2-p320/gems/furnace-swf-0.0.2/bin/furnace-swf:63:in block in <top (required)>' from /Users/sam/.rvm/gems/ruby-1.9.2-p320/gems/furnace-swf-0.0.2/bin/furnace-swf:55:inopen'
from /Users/sam/.rvm/gems/ruby-1.9.2-p320/gems/furnace-swf-0.0.2/bin/furnace-swf:55:in <top (required)>' from /Users/sam/.rvm/gems/ruby-1.9.2-p320/bin/furnace-swf:19:inload'
from /Users/sam/.rvm/gems/ruby-1.9.2-p320/bin/furnace-swf:19:in <main>' from /Users/sam/.rvm/gems/ruby-1.9.2-p320/bin/ruby_noexec_wrapper:14:ineval'
from /Users/sam/.rvm/gems/ruby-1.9.2-p320/bin/ruby_noexec_wrapper:14:in `

'

I feel as if I'm missing a Ruby dependency somewhere. Does anyone have a suggestion on what I can install to make this properly function?

@SamPCL
Copy link
Author

SamPCL commented Jul 7, 2012

Tried this on a fresh install of Ubuntu 11.04, same problem.

@whitequark
Copy link
Owner

It seems that your SWF file is, well, not an SWF file. Can you post some of the first bytes? It should begin with either "CWS" or "FWS".

@SamPCL
Copy link
Author

SamPCL commented Jul 7, 2012

This is a heavily encrypted SWF file and I was curious to see if it could be decrypted. Here are the first few lines:

CWS
€Å��x⁄å=�\ï◊€Ô
ÓsÈ�D��Q��P0QJEiQ�P¶“%“ÿ�≥≈Õ¿Óø]≥ù]≥f¢3ß≥svÃÑÔ=Á<opQ�flˆ€�˜

@SamPCL
Copy link
Author

SamPCL commented Jul 7, 2012

It looks like it didn't copy. But I can assure you this is a SWF file.

@whitequark
Copy link
Owner

Yes, this seems to be a bug in Furnace-SWF. I'm investigating it.

@SamPCL
Copy link
Author

SamPCL commented Jul 7, 2012

Alright thank you. Please keep us updated!

@whitequark
Copy link
Owner

Fixed in beeb086 and version 0.0.3.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants