View Single Post
  #233  
Old 06-15-2014, 10:02 AM
mckv mckv is offline
Senior Member
 
Join Date: Mar 2011
Posts: 104
mckv is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


it should work on any decent shell like on bash
using UTF8 locale (not sure if it is what flash actually uses)
Code:
echo -n '#RGd%has4102gH2bvXa0#w@1' | hexdump                                                                                                                 
0000000 5223 6447 6825 7361 3134 3230 4867 6232
0000010 5876 3061 7723 3140                    
0000018

echo -n 522364476825736131343230486762325876306177233140 | base64 -d | hexdump
0000000 6de7 ebb7 3b8e cdeb efb9 b57e 5ddf dff8
0000010 f46d cee3 ebbb f66d cee7 dffa b54e bdef
0000020 dfb7 345e                              
0000024
then the token should look something like

Code:
-T "$(echo -n '\x6d\xe7\xeb\xb7\x3b\x8e\xcd\xeb\xef\xb9\xb5\x7e\x5d\xdf\xdf\xf8\xf4\x6d\xce\xe3\xeb\xbb\xf6\x6d\xce\xe7\xdf\xfa\xb5\x4e\xbd\xef\xdf\xb7\x34\x5e')"
it is also a question how the #RGd%has4102gH2bvXa0#w@1 is stored it might be ascii or utf8 or utf16 or whatever so you might need to try different ways.
Reply With Quote