guys can some1 give me an example about sending patckets with any language ? I dont get how to send the payload with the packet
Uhh.. I wouldn't exactly consider this a packet. Your OP sent to TCP port 6821. From what I understand:
When handling a packet type the process trusts a remaining packet length value provided by the user and blindly copies user supplied data into a fixed-length buffer on the stack.
Somewhere in this protocol is length field which the program will accept as factual, and will copy that length of data(provided by you) into a fixed-size buffer... Leading to overflow.
Due to the small number of installations using this software the risk of potential exploitation has been determined to be very low and therefore this issue will not be addressed.
Out of curiosity do you actually have a target system?
To send data to a port look into "sockets". Available in most languages, easiest example is using netcat:
$ nc evilzone.org 80
GET / HTTP/1.1
Host: evilzone.org
<< Reply + HTML code of http://evilzone.org/ >>
Congrats you sent a packet... actually you sent several, not important. If you think to simply send your shellcode to the target system on that port, you're mistaken.
If you're sure about your packet thing, then look into "raw sockets". Available in fewer, nontheless alot, of languages. Raw sockets is kinda of a C thing though.