Tags:
create new tag
, view all tags

I LIKE JAVA!

DO YOU?

If you don't it's o.k, nobody's perfect.

Nobody's perfect.

Nobody.

a quick portscan program in java (to make sure you don't have any loose ports on your computer).

import java.net.*;
public class Portscan{
 public static void main(String args[]){
  Socket socket;
  int port;
  boolean listen;      
  System.out.println( "Scanning all ports" );
   for( int i = 109; i<65535; i++){
    try{
     socket = new Socket( "localhost" , i );
     System.out.println( "Port " + socket.getPort() + " is NOT
secure.");
     socket.close();
    }catch( Exception e){
     System.out.println( "Port " + i + " is secure." );
    }
   }
  }
}

"In a world of compromise, some don't."

GUYS WITH HONOR

Jump

  • Things I DID NOT do with this code
    1. Use it to scan all the ports on a host other than my own
    2. Add documentation
    3. Use a debugger
    4. Handle errors very well

Some of my favorite words

quixotic
adj. foolishly idealistic
polemic
n. a refutive argument
open house
n. place where you party(ha, ha)

MY FIRST TABLE
APPENDAGES DIGITS OTHER
legs toes head
arms fingers ummm

I wish this would be a link

These guys have honor. GNU

Personal Preferences (details in TWikiVariables)

  • Horizontal size of text edit box:
    • Set EDITBOXWIDTH = 70
  • Vertical size of text edit box:
    • Set EDITBOXHEIGHT = 17
  • Optionally write protect your home page: (set it to your WikiName)
    • Set ALLOWTOPICCHANGE =

Related topics

Topic attachments
I Attachment Action Size Date Who Comment
Java source code filejava ToLinux.java manage 1.0 K 2002-04-01 - 08:23 NathanPoiro  
GIFgif comp37.gif manage 6.9 K 2002-04-18 - 20:19 NathanPoiro  
HTMLhtml jscript.html manage 0.2 K 2002-05-02 - 18:07 NathanPoiro  
Topic revision: r6 - 2002-05-02 - NathanPoiro
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.