MrAmazing and Vart - Thanks for the responses.
I caught the sprintf while debugging:
sprintf(request, "GET %s HTTP/1.0\r\nHOST:%s \r\n", &(*argv[1]) + (tok - &(*argv[1])), host);
That...
Type: Posts; User: aosmith
MrAmazing and Vart - Thanks for the responses.
I caught the sprintf while debugging:
sprintf(request, "GET %s HTTP/1.0\r\nHOST:%s \r\n", &(*argv[1]) + (tok - &(*argv[1])), host);
That...
From my knowledge of HTTP sending a get request via HTTP with c (I'm only worried about get) should just be sending a packet containing something like GET <filename> HTTP/1.0 ... I've been trying to...