Jump to content

xeemo

Active Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by xeemo

  1. Sounds like a great idea. The challenge can be rooting the box or something. I doubt any destruction would take place to anything other than possibly the box in question. If it does there would be nothing stopping it from happening right now. If HAK5 got hacked it would probably be due to a faulty setup or a zero day exploit.

    This could give some hackers something ethical to do for fun (rather than something unethical...like hacking HAK5). Perhaps even a prize could be awarded to the first person to leave contact info or something on the box (stickers, or whathaveyou). I remember The Screen Savers doing this once. I don't think anyone successfully hacked the box. It was Windows XP with all of the patches at the time installed. I remember the computer mysteriously restarted, and I'm pretty sure that was the only thing interesting that came of it.

  2. Moonlit has a good point here.

    The thing is, would you be bothered to do it?

    More to the point, do you have any idea of the knowledge you would need to do this.

    I think moonlit just summarizes what everyone is thinking.

    There are plenty of distro's out there,

    If you do feel passionate about embarking on this project, may i recommend:

    http://www.linuxfromscratch.org/

    I suppose if you really wanted to you could take ubuntu and change the look a little bit. Slap a few Hak5 backgrounds in there, change the icons, change the login screen to the default debian, and presto, hak5 linux. I'd use Ubuntu 8.04 LTS as a base.

    Pretty pointless though.

  3. So the internet went down the other day and I got really bored. I made a program to beep at me when the internet connection came back on. Thought I would post it here in case someone could use it. I'm aware that the string doesn't need to be that big, I just never bothered to change it(it works all the same though).

    /*coded by xeemo 2009 because the internet connection went out and it was boring.*/
    #include <stdio.h> //standard input and output
    #include <string.h> //needed for handling strings
    #include <unistd.h> //needed to read pipes from files
    int length; // variable for string length
    int main(){
      FILE * ping; //activates the ping file
      char pingo[80]; //string for ping reply
      int lastchar; //variable to send the characters to the string from the pipe
      ping = popen("ping google.com", "r"); //command inserted for file in read mode through pipe
      lastchar = fread(pingo, 1, 80, ping); //characters 1 through 80 are read from the pipe
      pingo[lastchar] = '\0'; //pingo is a null terminated string through lastchar
    length = strlen(pingo); //length of string piped in
    if(length == 0){ //if no string was piped go to this select screen
    int select; //option variable
    printf("\ainternet is down. enter 1 to have system alert you when you have internet.  enter 2 to exit.\n"); //beep and display message
    scanf("%i",&select); //get input from user
    switch(select){
    case 1:
    loop: //loop this until you get a reply
    if(length == 0){
      FILE * ping;
      ping = popen("ping google.com", "r");
      lastchar = fread(pingo, 1, 80, ping);
      pingo[lastchar] = '\0';
      pclose(ping); //close the ping file
    length = strlen(pingo);
    usleep(9000000); //spaces connections out so it doesn't crash
    if(length == 0){ //checks for connection again
    goto loop; //loops above if you're still offline
    }
    }
    if(length != 0){
    printf("\ayour internet connection has returned\n");//beeps and alerts user when connected 
    }
    break;
    case 2: //alternative exit option
    return 0; //ends
    default: 
    printf("\aerror"); //what are you stupid?  enter 1 or 2 like the menu says.
    }
    }
    if(length != 0){ //internet connection is up
    printf("\ayour internet is working\n");
    }
      pclose(ping); //close ping file
      return 0;
    }

×
×
  • Create New...