View Single Post
  #10  
Old 06-23-2009, 11:59 AM
any ANONYMOUS forum user any ANONYMOUS forum user is offline
any user of the forum who preferred to post anonymously
 
Join Date: Aug 2011
Location: Server of stream-recorder.com
Posts: 211
any ANONYMOUS forum user is on a distinguished road
Default

Re: SWF Verification of RTMPE stream: How to get SWFHash


i am trying with both sizes but doesn't work..

player4.swf 569 kb = 582656
decompress swf 342 kb 350208


Code:
C:\>rtmpdump -r "rtmpe://xxxx/ondemand/?auth=eaEd_d_d_d_d_d_d_d_d
_d_d_d_d_d_d_d_c_b5cAaAbzc3cxaScgaZcMb_bTa_bKbV-bkqm7v-vga-4qoGDqRxmEt&aifp=
v006&slist=c1/s/1314116/video.mp4" --swfhash "da3d5ff5807fb4409e6d4683baef32
824e58f59fb2d5c4c4ed44e21068a2ddcf" --swfsize 350208 -s "www.xxx.com/fla
sh/20090622124542.1f20a7148af751985b0b688c43702f45/player.swf"  -o video.mp4 --
RTMPDump v1.6
(c) 2009 Andrej Stepanchuk, license: GPL

DEBUG: Parsing...
DEBUG: Parsed protocol: 3
DEBUG: Parsed host    : xxxx.net
DEBUG: Parsed app     : ondemand/?auth=eaEd_d_d_d_d_d_d_d_d_d_d_d_d_d_d_d_c_b5cA
aAbzc3cxaScgaZcMb_bTa_bKbV-bkqm7v-vga-4qoGDqRxmEt&aifp=v006&slist=c1/s/1
314116/video.mp4
DEBUG: Parsed playpath: c1/s/1314116/video.mp4
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: Protocol : RTMPE
DEBUG: Hostname : xxxxx.net
DEBUG: Port     : 1935
DEBUG: Playpath : c1/s/1314116/video.mp4
DEBUG: tcUrl    : rtmpe://xxxx.net:1935/ondemand/?auth=eaEd_d_d_d_d_d
_d_d_d_d_d_d_d_d_d_d_c_b5cAaAbzc3cxaScgaZcMb_bTa_bKbV-bkqm7v-vga-4qoGDqRxmEt&amp
;aifp=v006&slist=c1/s/1314116/video.mp4
DEBUG: swfUrl   : xxxx.com/flash/20090622124542.1f20a7148af751985b0b6
88c43702f45/player.swf
DEBUG: app      : ondemand/?auth=eaEd_d_d_d_d_d_d_d_d_d_d_d_d_d_d_d_c_b5cAaAbzc3
cxaScgaZcMb_bTa_bKbV-bkqm7v-vga-4qoGDqRxmEt&aifp=v006&slist=c1/s/1314116
/video.mp4
DEBUG: flashVer : LNX 9,0,124,0
DEBUG: live     : no
DEBUG: timeout  : 300 sec
DEBUG: SWFSHA256:
DA 3D 5F F5 80 7F B4 40 9E 6D 46 83 BA EF 32 82 4E 58 F5 9F B2 D5 C4 C4 ED 44 E2
 10 68 A2 DD CF
DEBUG: SWFSize  : 350208
DEBUG: Connect, ... connected, handshaking
DEBUG: HandShake: Client type: 06

DEBUG: HandShake: DH pubkey position: 1215
DEBUG: HandShake: Client digest offset: 410
DEBUG: HandShake: Initial client digest:
45 AA 91 1C 49 37 46 FB E3 93 34 92 44 3F A3 3E 1E 70 65 23 51 8D DC EB BF 23 C7
 62 35 7A 21 57
DEBUG: HandShake: Type Answer   : 06
DEBUG: HandShake: Server Uptime : 515343227
DEBUG: HandShake: FMS Version   : 3.0.3.1
DEBUG: HandShake: Server DH public key offset: 128
DEBUG: HandShake: Secret key:
CD BF BA D9 DE 3A 2B 0B 15 BC 94 DA 79 2A 8F 00 9B CC B3 FB AF 51 01 90 55 38 A7
 81 17 6F F3 68 D2 66 0E 1F F7 22 16 87 C2 75 AE FB 1F 45 9B D5 45 FE A9 C7 C3 D
5 B7 C2 B1 D5 C6 30 57 02 3F 90 EA 8F A5 E9 7F FC E0 1D 1F 76 29 F6 1F E8 3B 9B
A5 5F BE A4 C3 EC 20 6A B4 A0 8A A4 FE C6 C2 EC 20 01 BE A5 2C F8 C1 77 9F E6 20
 6B AE 9B 54 BD C1 C0 E6 8C C1 57 F9 D9 62 A3 A4 69 1A 09 29 4E
DEBUG: RC4 Out Key:
3F 25 DD AA F1 CA 0B 49 13 DF FA C0 F5 EB 4B 5F
DEBUG: RC4 In Key:
BA E9 FF C8 E2 D1 4B 94 87 F4 8D D3 FC 8A 4A 6D
DEBUG: HandShake: Client signature digest position: 410
DEBUG: HandShake: Digest key:
0F 5E 5E D5 C9 DE 18 B7 70 B1 2F D5 25 6E B6 C4 F5 98 DF FB 38 DB CC 69 C4 A1 BF
 CB E6 A2 68 6C
DEBUG: HandShake: Signature calculated:
3A 0B 4C E6 FF D2 B8 42 B4 5A 46 DC 6D B7 9F 6D D8 46 1D 01 E2 63 29 90 7B E9 89
 B2 6C 50 D6 CC
DEBUG: HandShake: Server sent signature:
3A 0B 4C E6 FF D2 B8 42 B4 5A 46 DC 6D B7 9F 6D D8 46 1D 01 E2 63 29 90 7B E9 89
 B2 6C 50 D6 CC
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Calculated digest key from secure key and server digest:
B7 4A 5F DB 57 9D FE 63 03 A2 B0 62 88 97 C2 0A 9E 7C 74 17 5F 9D D7 94 25 79 A0
 DA FB D3 85 00
DEBUG: HandShake: Client signature calculated:
F7 12 21 49 0E 05 81 BD 6F 62 44 B0 40 73 A3 94 C4 01 E4 90 29 69 D5 3B B8 C6 9E
 8F 95 0E 00 D8
DEBUG: HandShake: Handshaking finished....
DEBUG: Connect, handshaked
Connected...

Starting download at 0.000 KB
DEBUG: GetNextMediaPacket, received: server BW
DEBUG: GetNextMediaPacket, received: client BW
DEBUG: HandlePing, received ping. type: 0, len: 6
DEBUG: HandlePing, received ping. type: 26, len: 2
DEBUG: HandlePing, SWFVerification ping received:
DEBUG: sending ping. type: 0x001b
DEBUG: Sending SWFVerification response:
00 1B 01 01 00 05 58 00 00 05 58 00 04 9F E8 34 C7 01 31 2B D2 9D EF 76 F2 1E 33
 58 71 6E 3C 1A 84 39 2C D6 64 04 1C 87 7D FE D6 5A
DEBUG: GetNextMediaPacket, received: invoke 190 bytes
DEBUG: Property: <Name:                  no-name., STRING:      _result>
DEBUG: Property: <Name:                  no-name., NUMBER:      1.00>
DEBUG: Property: <Name:                  no-name., OBJECT>
DEBUG: Property: <Name:                    fmsVer, STRING:      FMS/3,0,3,333>
DEBUG: Property: <Name:              capabilities, NUMBER:      31.00>
DEBUG: Property: <Name:                  no-name., OBJECT>
DEBUG: Property: <Name:                     level, STRING:      status>
DEBUG: Property: <Name:                      code, STRING:      NetConnection.Co
nnect.Success>
DEBUG: Property: <Name:               description, STRING:      Connection succe
eded.>
DEBUG: Property: <Name:            objectEncoding, NUMBER:      0.00>
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG: sending ping. type: 0x0003
DEBUG: GetNextMediaPacket, received: invoke 21 bytes
DEBUG: Property: <Name:                  no-name., STRING:      onBWDone>
DEBUG: Property: <Name:                  no-name., NUMBER:      0.00>
DEBUG: HandleInvoke, server invoking <onBWDone>
ERROR: ReadN, RTMP recv error 10060
ERROR: ReadPacket, failed to read RTMP packet header
Closing connection... done!

anybody help ? thanks
Reply With Quote