Results 1 to 7 of 7

Thread: Need coding for port scanner

  1. #1
    Junior Member
    Join Date
    Feb 2006
    Posts
    9

    Smile Need coding for port scanner

    hi all


    i'm in need of PORT SCANNER coding with threads.that too in JAVA.can any one plzzzzz help me.its og utmost urgent.
    radhekrishna

  2. #2
    Senior Member
    Join Date
    Oct 2002
    Posts
    4,055
    Moved From Security Tutorials to Scanner Discussions. Sorry, divsekar.. you can only post security-related tutorials in that forum.
    Space For Rent.. =]

  3. #3
    Senior Member
    Join Date
    Aug 2003
    Posts
    1,018
    I wonder what would happen if I did a search for java code port scanner? Hmm..maybe I should rephrase that. I know what happens when I do it, I wonder what would happen if you do it.

  4. #4
    Senior Member nihil's Avatar
    Join Date
    Jul 2003
    Location
    United Kingdom: Bridlington
    Posts
    17,188
    Hmmm,

    I don't think that we cheat homework, puzzles or whatever.

    As groovicus suggests................research it yourself

  5. #5
    Junior Member
    Join Date
    Feb 2006
    Posts
    9
    hai guys
    i've finished one port scanner already .i'm asking a coding to chk out and add some features.thats it.
    radhekrishna

  6. #6
    Senior Member
    Join Date
    Jul 2003
    Posts
    634
    Surely you only need to know how threads work then and then thread the application so that you have x number of threads scanning x number of ports at anyone time so if some take longer than others its not gonna hold up the application greatly

    for x:totalports
    make thread[x]
    result = with thread[x] use functionscanwith(port x) return something
    end

    obviously you need to handle what happens at the end of the threads, thats the challenging part

    have fun!

    i2c

  7. #7
    Antionline Herpetologist
    Join Date
    Aug 2001
    Posts
    1,165
    Hmmm,
    I seem to remember posting port scanning code in java here a year or so back. Take a look at (I think) the tutorials section.

    Cheers,
    cgkanchi
    Buy the Snakes of India book, support research and education (sorry the website has been discontinued)
    My blog: http://biology000.blogspot.com

Posting Permissions

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