View Single Post
  #7  
Old 06-07-2017, 02:47 AM
sinanksu sinanksu is offline
Junior Member
 
Join Date: Feb 2017
Posts: 18
sinanksu is on a distinguished road
Default

Re: videostream.dn - failed to read RTMP packet header


Hello,

I have helped you swf hash and you in the matter before. You said the right values. Now the swf file on the opposite server has changed. I tried to get new values with your governance. The values I found were unsuccessful.

Can you take a look at it again?

My values are:
size:278423
hash:145efca9f051824fd7ff64d6acfdde05d8a56e93b7169 bc7280a58df3aeeccfd

Old values:
size:278423
hash:145efca9f051824fd7ff64d6acfdde05d8a56e93b7169 bc7280a58df3aeeccfd

Swf files 1:http://sportstream365.com//getZone/V...=1496826333444
Swf files 2:http://1xbahis8.com/getZone/VideoPlayer.swf
Swf files 3:http://sportstream365.com/swf/VideoPlayer.swf

Rtmpdump command:rtmpdump -r rtmpe://93.189.57.254/xlive -a xlive -f WIN 25,0,0,171 -s http://1xbahis8.com/getZone/VideoPlayer.swf -w 145efca9f051824fd7ff64d6acfdde05d8a56e93b7169bc728 0a58df3aeeccfd -x 278423 -p "http://sportstream365.com/viewer?game=107954793" -C S:client -C S:3.1.0.10 -C S:en --live -y raw:652864

output:
Connecting ...
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header


Note: Live broadcast belongs to a sports encounter. So when you look at it, the raw value has passed, so the match may be over.



Quote:
Originally Posted by mckv View Post
librtmp failed to correctly calculate the hash of that swf file due to lzma compression so you need add it manually
Code:
--swfhash=5aaaa32059cba732636c28519b2ce34a3568f1058a8bd02d6a932643554ccbb4 --swfsize=585534
Code:
PS C:\Users\vm\Downloads> .\RABCDAsm_v1.18\swfdecompress.exe .\VideoPlayer.swf
PS C:\Users\vm\Downloads> $fileBytes = [io.File]::ReadAllBytes("C:\Users\vm\Downloads\VideoPlayer.swf")
PS C:\Users\vm\Downloads> $secret = 'Genuine Adobe Flash Player 001'
PS C:\Users\vm\Downloads> $hmacsha = New-Object System.Security.Cryptography.HMACSHA256
PS C:\Users\vm\Downloads> $hmacsha.key = [Text.Encoding]::ASCII.GetBytes($secret)
PS C:\Users\vm\Downloads> $signature = $hmacsha.ComputeHash($fileBytes)
PS C:\Users\vm\Downloads> -join ($signature | % {"{0:x2}" -f $_})
5aaaa32059cba732636c28519b2ce34a3568f1058a8bd02d6a932643554ccbb4
PS C:\Users\vm\Downloads> ls .\VideoPlayer.swf


    Directory: C:\Users\vm\Downloads


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----       27.02.2017     19:40         585534 VideoPlayer.swf
Reply With Quote