Quote:
Originally Posted by mr.cracker
What is the meaning of this code.
memcpy(&bish[512-strlen(shellcode)],shellcode,strlen(shellcode));
In my sence, &bish means address of bish. if yes by, this code can i copy my shell-code to the address of bish???
|
You don't say what your variables are, but assuming shellcode is a string, I would take that to mean that it copies the contents of the string shellcode to a position so that the last byte of shellcode is 512 bytes after the address of bish.
It shouts bootloader at me, but it could be something else, I suppose.