Closed CHsixnine closed 1 year ago
Maybe if you read carefully the previous issue on PPID, it will provide you with the appropriate answer ? https://github.com/P1sec/pysctp/issues/46
Thank you very much I have successfully solved this problem.
I successfully solved it after adding the following two lines of code to the sctp.py
68 | from socket import *
1178 | return sctp.sctp_send_msg(self._sk.fileno(), msg, to, ntohl(ppid), flags, stream, timetolive, context)
When I set like this below
sctp_send(msg=data, ppid=60)
When I use wireshark parse the package ppid will become 10^30After that I go directly to the file _sctp.c and set ppid to 0x3c(60)
Parsing the package with a wireshark will become like this
ppid should be 32 bits, but it looks like 128 bits
Please help me to solve this problem Thanks