A Port Scanner in VB

port

A small but effective tool (if you know the right way to use it..you might do wonders..)

——————–
you need:

2 textboxes
1 listbox
3 commandbuttons
1 timer
1 winsock control
——————–

Private Sub Command1_Click()   Timer1.Enabled = True End Sub Private Sub Command2_Click()   Timer1.Enabled = False   Text2.Text = "0" End Sub Private Sub Command3_Click()   List1.Clear End Sub Private Sub Timer1_Timer()   On Error Resume Next   Winsock1.Close   Text2.Text = Int(Text2.Text) + 1   Winsock1.RemoteHost = Text1.Text   Winsock1.RemotePort = Text2.Text   Winsock1.Connect End Sub Private Sub Winsock1_Connect()  List1.AddItem Winsock1.RemotePort & " is open!" End Sub

——————–
Explanation:

text1 = IP to scan
text2 = starting port
list1 = list where all open ports are shown
command1 = start
command2 = stop and reset
command3 = clear port list
timer1 = will make the winsock control to try ports

You visited a few times and I would appreciate your thoughts on this post, why not comment?

Related posts:

  1. Netbios Hacking- The Ethical Hacking
  2. How to make a Fork Bomb (Rabbit Virus)
  3. Hacking Gmail account using GX Cookie
  4. Basic BIOS password crack
  5. How to Hack Orkut Accounts through Cookie Stealing?

Bhanu Chawla
~ Geek, Hacker, Blogger, Dancer, B-Boy.. Outgoing personality.. Takes risks.. Kind hearted.. Self confident.. Loud and boisterous.. Very revengeful at times.. has an "everything's peachy" attitude.. Likes Talking & Dancing.. Longs for freedom.. Rebellious when withheld or restricted.. Lives by "no pain no gain" caring.. Playful.. Mysterious.. Stubborn.. Curious.. Independent.. Strong willed..

Leave a Reply

CommentLuv Enabled
blog comments powered by Disqus
© 2010 Hacking Articles. All rights reserved.
Proudly designed by Bhanu Chawla.