NetStumbler.org Forums

Go Back   NetStumbler.org Forums > NetStumbler Community > Scripts
Register Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 02-13-2006   #16 (permalink)
streaker69
Psychic Amish Stumbler
 
streaker69's Avatar
 
Join Date: Jul 2004
Location: Virginville, BlueBall, Bird In Hand, Intercourse, Paradise, PA
Posts: 12,315
Quote:
Originally Posted by Chenbro
Thanks for all the help....I eventually got the Default Gateway figured out using VBscript in which it outputs the value to a text file, without the need to parse ipconfig/all. As it's not a NetStumbler script, I won't post it here....but if anyone needs it for any other reason, it's available if needed.

I know now that NetStumbler cannot determine whether an AP supports WEP or WPA, so i'll just have to work on that...ah well!
I'd be interested in seeing the script.
__________________
Treat your gun like your genitals, only whip it out when it's absolutely necessary.
streaker69 is offline   Reply With Quote
Old 02-13-2006   #17 (permalink)
Chenbro
Registered Member
 
Join Date: Apr 2004
Posts: 10
I've included it as a text file...you probably don't need telling that it needs renaming to a .vbs file, but have a look at if first and change it if you like.

The dialog boxes serve no real purpose, just there for descriptive purposes. The output is made to the root of your C drive in the form of a text file.

It would be interesting to see if it works on other machines, as i have only tried it on one.

Thanks
Attached Files
File Type: txt Gateway analyser.txt (1.3 KB, 49 views)
Chenbro is offline   Reply With Quote
Old 02-13-2006   #18 (permalink)
Scruge
Nyuk nyuk!
 
Scruge's Avatar
 
Join Date: Jan 2005
Location: TX
Posts: 1,461
Can't you just read the registry key for "defaultgateway"?
Scruge is offline   Reply With Quote
Old 02-13-2006   #19 (permalink)
streaker69
Psychic Amish Stumbler
 
streaker69's Avatar
 
Join Date: Jul 2004
Location: Virginville, BlueBall, Bird In Hand, Intercourse, Paradise, PA
Posts: 12,315
Quote:
Originally Posted by Scruge
Can't you just read the registry key for "defaultgateway"?
That's pretty much what his script is doing, I believe.
__________________
Treat your gun like your genitals, only whip it out when it's absolutely necessary.
streaker69 is offline   Reply With Quote
Old 02-14-2006   #20 (permalink)
goldfndr
Knight Tooth Puller
 
goldfndr's Avatar
 
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
Actually, it's querying WMI for all the network adapters, filtering that list for which network adapters have a wireless connection, and for each wireless connection that has at least one default gateway, outputting each default gateway.

For a project at work I'd just been checking DhcpDomain.
goldfndr is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Google
 
Web NetStumbler.org

All times are GMT -7. The time now is 03:00 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 ©2007, Crawlability, Inc.


All messages express the views of the author and are for entertainment purposes only. Netstumbler.org cannot be held responsible for the authenticity of the content or the actions of its members. By using this site and its services, you warrant that you will not post any messages that are discriminating, obscene, hateful, threatening, or otherwise violates any laws and you release Netstumbler.org from any future claims of any kind whatsoever including, but not limited to, addiction and loss of productivity. All forum messages, private messages and any other content are properties of Netstumbler.org. Even if publicly available, personal or copyrighted information are not to be posted without the consent of the owner. Distribution of licensed and copyrighted materials in any way not endorsed by the copyright owner is strictly prohibited. You may not use this site and its resources to spam other sites or individuals or perform any action that violates any law. Items sold or bought in the For Sale forum are sold as is and no warranty or insurance of any kind is provided. Netstumbler.org cannot be held responsible for the outcome of any transactions and no warranty of any kind is provided, either express or implied. Vulgar words are not allowed in the subject lines ; they may be used in the message body in any forum. The Administrator, Super Moderators and Moderators of Netstumbler.org have the right to remove, edit, move or close any thread for any reason and to reveal your identity and other known information in the event of a complaint or legal action arising from any message posted by you.