Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Subnet Scanner

 
Logged in as: Guest
arrSession:exec spGetSession 2,16,34740
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> Post a VBScript >> Subnet Scanner
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Subnet Scanner - 5/19/2006 4:59:01 AM   
  mcds99


Posts: 421
Score: 4
Joined: 2/28/2006
Status: offline
With the help and encoragement of Vbscript.com I've solved a problem that just bugged me.
"This is a work in progress"
Any network administrator needs to view his network to determine what addresses are in use and or available.
Where I work the number of subnets is staggering I take care of all DNS and DHCP for a major retailer.
This script is a subnet scanner it uses Excel workbooks with tables of IP addresses as it's database.
I may switch this to Access or MySql for the database, everything comes to those who wait.
Note:
To make this execute without the cmd prompt flashing I used a wrapper file and a shortcut.
The wrapper file is just a batch file (cmd file) with "cscript subnet.scan.vbs"  and a shortcut running minimized.

You will need to customize the script in places to make it work with your network, cosmetic naming and color.
I'm willing to help, just ask.


      

_____________________________

Sam

Keep it Simple Make it Fun KiSMiF
 
 
Post #: 1
 
 RE: Subnet Scanner - 5/28/2007 9:41:36 PM   
  4scriptmoni


Posts: 190
Score: 0
Joined: 5/3/2007
Status: offline
i was unable to run it :(
maybe it could just grab the local IP and search the entire subnet for valid IPS?
the nslookup is used to check if a valid DNS exists?
maybe get the list from a simple listips.txt  ..
i will keep studying the code
cheers,

_____________________________

Enterprise Microsoft Scripts
Exchange, Login/Logout Monitor,TS, Monitoring, Security, AD, etc...
http://www.felipeferreira.net

(in reply to mcds99)
 
 
Post #: 2
 
 RE: Subnet Scanner - 5/29/2007 4:47:25 AM   
  mcds99


Posts: 421
Score: 4
Joined: 2/28/2006
Status: offline
Try this one.
You will need to alter paths and create the ofile.html file.


      

_____________________________

Sam

Keep it Simple Make it Fun KiSMiF

(in reply to 4scriptmoni)
 
 
Post #: 3
 
 RE: Subnet Scanner - 5/29/2007 4:48:05 AM   
  mcds99


Posts: 421
Score: 4
Joined: 2/28/2006
Status: offline
BTW some companies feel scanning their network is hacking, use with caution.

_____________________________

Sam

Keep it Simple Make it Fun KiSMiF

(in reply to mcds99)
 
 
Post #: 4
 
 RE: Subnet Scanner - 5/30/2007 2:17:10 AM   
  4scriptmoni


Posts: 190
Score: 0
Joined: 5/3/2007
Status: offline
Now its working, nice job.
its not a port scan, just more of a locator.
just pings, and nslookup.
some ideas, maybe i modife and post:
could also use a ping -a to retrive the hostnames
dont print the hosts not pinged
nslookup for internal subnets is not usefull
maybe do simple port scans like 25, 80 ?

but nice script and  GUI!
u know of  port scans in vb?
cheers,
FF

< Message edited by 4scriptmoni -- 5/30/2007 2:24:06 AM >


_____________________________

Enterprise Microsoft Scripts
Exchange, Login/Logout Monitor,TS, Monitoring, Security, AD, etc...
http://www.felipeferreira.net

(in reply to mcds99)
 
 
Revisions: 1 | Post #: 5
 
 RE: Subnet Scanner - 6/14/2007 7:49:19 AM   
  Rischip


Posts: 447
Score: 2
Joined: 3/26/2007
Status: offline
Interesting. Ever hear of "Angry IP Scanner"? http://www.angryziber.com/ipscan/

_____________________________

Rischip
Author of - The Grim Linker

(in reply to 4scriptmoni)
 
 
Post #: 6
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> Post a VBScript >> Subnet Scanner Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts