cacti
+ Reply to Thread
Results 1 to 2 of 2

Thread: Wannabe hackers, script kiddies, read this (decent programmers can too)

  1. #1
    Join Date
    Oct 2006
    Posts
    3

    Wannabe hackers, script kiddies, read this (decent programmers can too)

    For you wannabe hackers out there, I will say, if you don't know programming, you are not a hacker. (editting a premade program DOES NOT count)

    Ladies and gentlemen, Children of all ages, It is time we began this show. I think I will start with a SIMPLE computer programming language that can double as a WEB programming language! Hows that for amazing?

    PERL!

    Perl or Practical Extraction and Report Language, is used all over the world as a computer language, you even see .cgi web pages that are made in Perl. Perl is quite easy if you put your mind to learning it, its even easier to edit. Once you learn Perl, you will very easily be able to pick up on PHP and C. Perl is very similar to both. Perl is cross platform, meaning you can take it from windows to Linux to MAC, and back.

    Heres a very simple calculator.

    #!/usr/bin/perl
    system("title Calculator");
    system("color 05");
    print('#############################');
    print("\n");
    print('######## Calculator #########');
    print("\n");
    print('## Written by SilverStream ##');
    print("\n");
    print('#############################');
    print("\n");
    print("Usage: Print your string, e.g. (5*4)-2/*+4* and hit enter\n");
    while(*){
    print("Input your string: ");
    $equ=<STDIN>;
    chomp($equ);
    $equ=eval $equ;
    print("The answer is $equ\n");
    }

    You need to download ActivePerl for windows to run it
    Save it as Calculator.pl
    Thus concludes our first lesson on Perl
    If you have any questions, please refer to [URL="http://www.google.com"]This Link[/URL]
    SilverStream

  2. #2
    Join Date
    Sep 2006
    Posts
    1,649

    but

    That calculator is good for people who know a bit about computer-done math. I don't think many people know * is for mutiplying, and if by accident they mistype something in a long equation, it will mess up. There should be set parameters for input.

+ Reply to Thread

Similar Threads

  1. need programmers help
    By Rifts in forum Programming
    Replies: 8
    Last Post: 01-31-2008, 09:24 AM
  2. Fao: Hackers
    By hmmmm in forum Internet Privacy
    Replies: 9
    Last Post: 08-22-2007, 08:13 PM
  3. Script Kiddies
    By Free4me in forum Internet Privacy
    Replies: 1
    Last Post: 08-12-2005, 09:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts