nolenfelten / xbmc-addons

Automatically exported from code.google.com/p/xbmc-addons
0 stars 0 forks source link

hulu sec.swf is not always present #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hulu plugin DecryptPid.as assumes http://www.hulu.com/sec.swf is always
present. A while back I was able to wget it and now it returns with "404
Not found" error. Thru wireshark, I see that if you go to hulu thru
browser, it's appending cb=<xxxxx> arg at the end of the URL i.e. 
http://www.hulu.com/sec.swf?cb=2009022501, whose wget succeeds for me now.
Dont know how long it will succeed.

I think they are creating some time factor into sec.swf URL and aging out
older ones...just another layer of security I guess. That cb value needs to
be figured out from player.swf.

Original issue reported on code.google.com by Ramesh.S...@gmail.com on 25 Feb 2009 at 2:02

GoogleCodeExporter commented 9 years ago
No matter how many times I try I can't get hulu.com/sec.swf to return 404.

In any case, IMO we need to move away from using gnash & sec.swf if possible.

Original comment by rwparris2 on 26 Feb 2009 at 1:45

GoogleCodeExporter commented 9 years ago
Here is my wget tries. That cb arg looks like YYYYMMDDSS where SS is some sort 
of
serial number of the day.

# wget http://www.hulu.com/sec.swf
--2009-02-25 18:04:25--  http://www.hulu.com/sec.swf
Resolving www.hulu.com... 63.217.20.83, 63.217.20.25
Connecting to www.hulu.com|63.217.20.83|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2009-02-25 18:04:26 ERROR 404: Not Found.

# wget http://www.hulu.com/sec.swf?cb=2009022501
--2009-02-25 18:05:54--  http://www.hulu.com/sec.swf?cb=2009022501
Resolving www.hulu.com... 63.217.20.25, 63.217.20.83
Connecting to www.hulu.com|63.217.20.25|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4103 (4.0K) [application/x-shockwave-flash]
Saving to: `sec.swf?cb=2009022501'

100%[===========================================================================
=======================>]
4,103       --.-K/s   in 0.003s  

2009-02-25 18:05:55 (1.17 MB/s) - `sec.swf?cb=2009022501' saved [4103/4103]

# wget http://www.hulu.com/sec.swf?cb=2009022502
--2009-02-25 18:05:58--  http://www.hulu.com/sec.swf?cb=2009022502
Resolving www.hulu.com... 63.217.20.83, 63.217.20.25
Connecting to www.hulu.com|63.217.20.83|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4103 (4.0K) [application/x-shockwave-flash]
Saving to: `sec.swf?cb=2009022502'

100%[===========================================================================
=======================>]
4,103       --.-K/s   in 0.003s  

2009-02-25 18:05:59 (1.35 MB/s) - `sec.swf?cb=2009022502' saved [4103/4103]

# wget http://www.hulu.com/sec.swf?cb=2009022601
--2009-02-25 18:06:04--  http://www.hulu.com/sec.swf?cb=2009022601
Resolving www.hulu.com... 63.217.20.83, 63.217.20.25
Connecting to www.hulu.com|63.217.20.83|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4103 (4.0K) [application/x-shockwave-flash]
Saving to: `sec.swf?cb=2009022601'

100%[===========================================================================
=======================>]
4,103       --.-K/s   in 0.003s  

2009-02-25 18:06:05 (1.45 MB/s) - `sec.swf?cb=2009022601' saved [4103/4103]

# wget http://www.hulu.com/sec.swf?cb=2009022602
--2009-02-25 18:06:08--  http://www.hulu.com/sec.swf?cb=2009022602
Resolving www.hulu.com... 63.217.20.83, 63.217.20.25
Connecting to www.hulu.com|63.217.20.83|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4103 (4.0K) [application/x-shockwave-flash]
Saving to: `sec.swf?cb=2009022602'

100%[===========================================================================
=======================>]
4,103       --.-K/s   in 0.003s  

2009-02-25 18:06:08 (1.17 MB/s) - `sec.swf?cb=2009022602' saved [4103/4103]

# wget http://www.hulu.com/sec.swf?cb=2009022603
--2009-02-25 18:06:13--  http://www.hulu.com/sec.swf?cb=2009022603
Resolving www.hulu.com... 63.217.20.83, 63.217.20.25
Connecting to www.hulu.com|63.217.20.83|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4103 (4.0K) [application/x-shockwave-flash]
Saving to: `sec.swf?cb=2009022603'

100%[===========================================================================
=======================>]
4,103       --.-K/s   in 0.003s  

2009-02-25 18:06:14 (1.52 MB/s) - `sec.swf?cb=2009022603' saved [4103/4103]

# wget http://www.hulu.com/sec.swf?cb=2009022604
--2009-02-25 18:06:16--  http://www.hulu.com/sec.swf?cb=2009022604
Resolving www.hulu.com... 63.217.20.25, 63.217.20.83
Connecting to www.hulu.com|63.217.20.25|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4103 (4.0K) [application/x-shockwave-flash]
Saving to: `sec.swf?cb=2009022604'

100%[===========================================================================
=======================>]
4,103       --.-K/s   in 0.002s  

2009-02-25 18:06:17 (2.14 MB/s) - `sec.swf?cb=2009022604' saved [4103/4103]

# wget http://www.hulu.com/sec.swf?cb=2009022605
--2009-02-25 18:06:19--  http://www.hulu.com/sec.swf?cb=2009022605
Resolving www.hulu.com... 63.217.20.83, 63.217.20.25
Connecting to www.hulu.com|63.217.20.83|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2009-02-25 18:06:20 ERROR 404: Not Found.

# wget http://www.hulu.com/sec.swf
--2009-02-25 18:06:24--  http://www.hulu.com/sec.swf
Resolving www.hulu.com... 63.217.20.83, 63.217.20.25
Connecting to www.hulu.com|63.217.20.83|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2009-02-25 18:06:24 ERROR 404: Not Found.

Original comment by Ramesh.S...@gmail.com on 26 Feb 2009 at 2:09

GoogleCodeExporter commented 9 years ago
Hulu stopped using sec.swf

Original comment by rwparris2 on 8 Mar 2009 at 8:58