You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2020/12/15 23:20:12 UTC

[GitHub] [incubator-teaclave-sgx-sdk] dingelish edited a comment on issue #291: Encrypted websockets in SGX

dingelish edited a comment on issue #291:
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/291#issuecomment-745627275


   This is the payload i use:
   
   ```
   00000000: 4745 5420 2f20 4854 5450 2f31 2e31 0d0a  GET / HTTP/1.1..
   00000010: 486f 7374 3a20 6563 686f 2e77 6562 736f  Host: echo.webso
   00000020: 636b 6574 2e6f 7267 0d0a 5570 6772 6164  cket.org..Upgrad
   00000030: 653a 2077 6562 736f 636b 6574 0d0a 436f  e: websocket..Co
   00000040: 6e6e 6563 7469 6f6e 3a20 5570 6772 6164  nnection: Upgrad
   00000050: 650d 0a53 6563 2d57 6562 536f 636b 6574  e..Sec-WebSocket
   00000060: 2d4b 6579 3a20 4141 4141 4141 4141 4141  -Key: AAAAAAAAAA
   00000070: 4141 4141 4141 4141 4141 4141 3d3d 0d0a  AAAAAAAAAAAA==..
   00000080: 4f72 6967 696e 3a20 0d0a 5365 632d 5765  Origin: ..Sec-We
   00000090: 6253 6f63 6b65 742d 5072 6f74 6f63 6f6c  bSocket-Protocol
   000000a0: 3a20 0d0a 5365 632d 5765 6253 6f63 6b65  : ..Sec-WebSocke
   000000b0: 742d 5665 7273 696f 6e3a 2031 330d 0a0d  t-Version: 13...
   000000c0: 0a
   ```
   
   and command i use is
   ```
   cat ~/payload.txt  | telnet echo.websocket.org 80
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org