Just trying some coding


Go to page: 1 Bookmark Thread
DreamFall

1:30pm Jun 15 2015 (last edited on 1:31pm Jun 15 2015)

Normal User


Posts: 26


WIP

Flammable

10:36pm Jun 19 2015

Normal User


Posts: 156
#include <stdlib.h>
#include <stdio.h>

int main()
{
size_t bufferLen = 9;
char* charBuffer;

charBuffer = (char *) calloc(bufferLen, sizeof(char));

*charBuffer = 0x61;
charBuffer[*charBuffer >> 5] = *charBuffer << 5;
charBuffer[5] = bufferLen + 99;
*(charBuffer + 7) = *(charBuffer + 5) + 3;
charBuffer[4] = charBuffer[5]++;
charBuffer[1] = charBuffer[0b10] = ~charBuffer[1] ^ ( (charBuffer[3] << 2) ) + (0x0f & ~bufferLen);
charBuffer[6] = *charBuffer;

printf("%sn", charBuffer);
free(charBuffer);
}
Go to page: 1