Need help decompiling a swf player

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
rwparris2 Offline
Team-XBMC Python Developer
Posts: 1,341
Joined: Jan 2008
Reputation: 2
Location: US
Post: #11
Quote:Need help decompiling a swf player

Yeah... no other way to figure this one out unfortunately.
The site uses AMF to talk to the server, which communicates via binary files (as opposed to text based ones like XML), so it is impossible to just use wireshark to look at the requests.

http://osflash.org/documentation/amf

@digitalhigh
the reason it isn't good to just try and then try again is it would take FOREVER. For example lets say we're looking for my home town. It would take four requests before it was found (cityname, citynameXX, citynamecity, region) Try doing four requests from your browser to see how long it takes.

@nuka
if you figure it out or if blueCop comes through for you, a pyAMF module already exists so you can make your requests.

Always read the XBMC online-manual, FAQ and search and search the forum before posting.
For troubleshooting and bug reporting please read how to submit a proper bug report.

If you're interested in writing addons for xbmc, read docs and how-to for plugins and scripts ||| http://code.google.com/p/xbmc-addons/
find quote
Voinage Offline
Banned
Posts: 856
Joined: Mar 2008
Location: England
Post: #12
Just downloaded Sothink swf decomp

So let`s see wtf is going on.

Tried wiresharking the damn thing and ended up very annoyed after 1hour.

Will post back if i find anything.
find quote
Nuka1195 Online
Skilled Python Coder
Posts: 3,917
Joined: Dec 2004
Reputation: 17
Post: #13
thanks appreciate it. i just downloaded that software also, but am lost.

if you find anything maybe the steps you took so i can do this myself in the future.

the .swf files it finds, are not the actual weather video, so i don't know how to proceed.

thanks again

rwparris that pyamf is huge, i hope it's not necessary. it also may need element tree. didn't play with it too much.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Nuka1195 Online
Skilled Python Coder
Posts: 3,917
Joined: Dec 2004
Reputation: 17
Post: #14
I gave up and just hacked it in.

there seems to be only us videos and i think i have accounted for all the regions. not fully tested but works well for the most part.

thanks for your help.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
rwparris2 Offline
Team-XBMC Python Developer
Posts: 1,341
Joined: Jan 2008
Reputation: 2
Location: US
Post: #15
Nuka1195 Wrote:rwparris that pyamf is huge, i hope it's not necessary. it also may need element tree. didn't play with it too much.

I didn't actually play with it, I just saw that the site was using AMF and found python already had a module to deal with it. Just wanted to throw you the link in case you found it useful.

Always read the XBMC online-manual, FAQ and search and search the forum before posting.
For troubleshooting and bug reporting please read how to submit a proper bug report.

If you're interested in writing addons for xbmc, read docs and how-to for plugins and scripts ||| http://code.google.com/p/xbmc-addons/
find quote
Nuka1195 Online
Skilled Python Coder
Posts: 3,917
Joined: Dec 2004
Reputation: 17
Post: #16
yep i appreciate the headsup, just was commenting on how huge it is.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
digitalhigh Offline
Skilled Skinner
Posts: 1,467
Joined: Oct 2005
Reputation: 100
Location: Milwaukee, WI
Post: #17
When will weather+video forecast be available to play with??
find quote
Nuka1195 Online
Skilled Python Coder
Posts: 3,917
Joined: Dec 2004
Reputation: 17
Post: #18
it's in svn

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Post Reply