Python 3 Building an array of bytes

后端 未结 6 731
终归单人心
终归单人心 2020-12-29 01:44

I need to build a tcp frame with raw binary data, but all examples and tutorials I\'ve found talking about bytes always involve conversion from a string, and that\'s not wha

6条回答
  •  北海茫月
    2020-12-29 02:14

    I think Scapy is what are you looking for.

    http://www.secdev.org/projects/scapy/

    you can build and send frames (packets) with it

提交回复
热议问题