For an online chat window provided by slice, use httpanalyzer to analyze the packet sent by the window, and then simulate the packet to send the message.
The headers obtained through the software are as follows:
We can get the post address through the header:/chats/sendmessage. ashx page, and then cookie.
The data of post is as follows:
For example, the data format can be: chatroomname = homepage & timestamp = 2:19:45 & message = packet sending
The first parameter homepage indicates the speech page, timestamp: Timestamp, message: Sent content.
Finally, data packets are generated and sent using the software.
Set the package format, including cookie, postdata, and requesturl, to execute.
I wantedCodeSimulate login and then obtain the cookie, and then automatically send the above data packet format. you can log on successfully, but you will never get the desired cookie value when using the code to obtain the cookie ......