i want to zero pad some data to be sent. i want the zeros to be put in the end. for example that i want to zero pad the icmp data to be a total of 60 bytes. does anyone know how to do that?
This is in assembler but hopefully it will give you an idea if not convert you to use Nasm or Fasm for BSD. Preliminary Masm has the most examples but translation is really fun and easy even to C. As aragon indicated, you always must post your sample code in asm or C to get anywhere in this game. You got the key-word.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.