What encoding is this, and better yet, how do i decode it in ruby -


@string = "\x16\x03\x01\x00\x91\x01\x00\x00\x8d\x03\x01li.\e\x8f|\x06\f\xa2tu\xc8ww\xcf\x87g2o,98\xec\xadmm h\xb4\x0e-g\x00\x00h\xc0\n\xc0\x14\x00\x88\x00\x87\x009\x008\xc0\x0f\xc0\x05\x00\x84\x005\xc0\a\xc0\t\xc0\x11\xc0\x13\x00e\x00d\x00f\x003\x002\xc0\f\xc0\x0e\xc0\x02\xc0\x04\x00\x96\x00a\x00\x04\x00\x05\x00/\xc0\b\xc0\x12\x00\x16\x00\x13\xc0\r\xc0\x03\xfe\xff\x00\n\x02\x01\x00\x00\e\xff\x01\x00\x01\x00\x00\n\x00\b\x00\x06\x00\x17\x00\x18\x00\x19\x00\v\x00\x02\x01\x00\x00#\x00\x00"

it turned out attempting connect server wss:// instead of ws:// trying read encrypted packet. packet in whatever format secure web sockets in.

thanks every one.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -