Advertisement

Sending Packets

Started by December 21, 2003 04:57 AM
5 comments, last by Newbie00 21 years, 1 month ago
How would I use the winsock function send() to send this packet?

0000: 00 05 74 F1 84 8C 00 20 ED 46 65 2D 08 00 45 00
0016: 02 2D 08 B5 00 00 80 11 34 36 44 3D 5C 9D 42 E8
0032: 13 13 0A F4 13 BA 00 19 0B C5 4D CD 30 00 00 9F
0048: 07 00 30 E3 0C 00 00 1F AB A6 77 00 00 00 00 00
 
One solution is to convert the actual ASCII into a string and send the string as bytes.

Kuphryn
Advertisement
EDIT: I'm assuming that the packet mentioned is a complete packet including the link layer header(source, destination MAC addresses), IP header, and a TCP header and other stuff like that. I don't think that winsock will let you set the link layer header.


Well, to send that packet, you would need to use WinPcap, download at: Here

Install first the regular one, then the develpers pack, refer to the documentation an how to send and recive packets, you may find the examples in the docs helpful.

And to put it in the string do something like this:

unsigned char bindstr[]={
0x00,0x05,0x74 etc...
};

[edited by - nate0326 on December 21, 2003 4:40:14 PM]
Is this for some attack on a mail server at the ford motor company?
No, it is for sending packets to a game server to create an effect that I am lagging out. This will allow me to move around the map without being seen.
Which game ???

- Iliak -
- Iliak -
[ ArcEngine: An open source .Net gaming framework ]
[ Dungeon Eye: An open source remake of Eye of the Beholder II ]
Advertisement
I would say there is nothing that is more pathetic than cheating. If you don''t know how to send that package then tough, there are enough script kiddies out there as it is.

- Damage Inc.

This topic is closed to new replies.

Advertisement