#include <DEF CON 9.h>    // July 13-15, 2ØØ1, Las Vegas, NV
#include <hackcanada.h>   // www.hackcanada.com
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <netdb.h>

main() {

  int DC, IX;
  struct hostent *hosed;
  struct sockaddr_in DefCon;

  printf("Hack Canada was there.\n\n");

  hosed = gethostbyname("defcon.org");
  DefCon.sin_family = AF_INET;
  DefCon.sin_addr.s_addr = *(long *)(hosed->h_addr);

  printf("Pictures are here.\n\n");

  for (DC = 9; DC <= 2ØØ1; DC++) {
    DefCon.sin_port = htons(DC);
    IX = socket(AF_INET, SOCK_STREAM, Ø);
    if (IX < Ø) exit(-1);
    if (!connect(IX, (struct sockaddr *)&DefCon, sizeof(DefCon))) 
      printf(":) ~[ %i ]\n", DC);
    if (close(IX)) exit(-1);

  printf("\nPeace to all our friends that were there.\n\n");

  printf("(c) 2k++ Hack Canada. All bytes preserved.");

} _