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 08-19-2002   #1 (permalink)
pikoro
Registered Member
 
pikoro's Avatar
 
Join Date: Jun 2002
Posts: 13
NetSumbler's New Scripting Information

I just recently downloaded the latest version of netstumbler, and me, being a scripter, was delighted to find that there is now scripting support built in.

But lo and behold! no documentation to be found... anywhere on this new scripting.. not even what language to use.

Well, using my mystical powers of creativity, I figured it out!

It's kind of long, so I posted it on my website:

Here's what I found: http://www.got-ram.com/modules.php?n...=article&sid=7

Aaron
pikoro is offline   Reply With Quote
Old 08-19-2002   #2 (permalink)
jjkaczor
'family guy' stumbler
 
jjkaczor's Avatar
 
Join Date: Jul 2002
Location: Calgary
Posts: 269
Man, oh man - excellent, thanks for this work/link!
jjkaczor is offline   Reply With Quote
Old 08-19-2002   #3 (permalink)
marius
It's all my fault
 
marius's Avatar
 
Join Date: Apr 2002
Location: Northern California
Posts: 108
pikoro, thanks for saving me from having to tell everyone the same thing
marius is offline   Reply With Quote
Old 08-19-2002   #4 (permalink)
pikoro
Registered Member
 
pikoro's Avatar
 
Join Date: Jun 2002
Posts: 13
Happy to be of service.. I only have one question:

Do you have any documentation or perhaps just a list of api's that I could use/post on my site or that you could send to me?... I want to dedicate my site (that's not quite up yet) to netstumbler scripts, scripting and tutorials... and I've already got lots of good ideas for scripts to write.

Right now I'm using www.got-ram.com for whatever i need to post, but I also have www.got-wireless.net to play with

Is the perl capability there yet, or is that a teaser of things to come?

Thanks in advance

Aaron

Last edited by pikoro : 08-19-2002 at 11:58 PM.
pikoro is offline   Reply With Quote
Old 08-20-2002   #5 (permalink)
blackwave
Do I look like I'm joking
 
blackwave's Avatar
 
Join Date: Apr 2002
Location: SoCal, OC
Posts: 4,507
Quote:
Originally posted by pikoro
Right now I'm using www.got-ram.com for whatever i need to post, but I also have www.got-wireless.net to play with
Thanks pikoro, can't wait to play with this later this week. Has anyone already written a script to change the MAC everytime an AP is found, either by attached to the registry directory or using my command line tool ? If not i will play with that this week...
__________________
-=BW=-
blackwave is offline   Reply With Quote
Old 08-20-2002   #6 (permalink)
pikoro
Registered Member
 
pikoro's Avatar
 
Join Date: Jun 2002
Posts: 13
I'm working on a scripting "FAQ" of sorts... more of a tutorial / explination I guess.. I'll post it when I'm done.
Is there someplace to post these scripts as they're written?
If not, I'd be happy to stick up a forum/download area on my site.

Aaron
pikoro is offline   Reply With Quote
Old 08-20-2002   #7 (permalink)
blackwave
Do I look like I'm joking
 
blackwave's Avatar
 
Join Date: Apr 2002
Location: SoCal, OC
Posts: 4,507
Quote:
Originally posted by pikoro
I'm working on a scripting "FAQ" of sorts... more of a tutorial / explination I guess.. I'll post it when I'm done.
Is there someplace to post these scripts as they're written?
If not, I'd be happy to stick up a forum/download area on my site.
Feel free to post them here
http://forums.netstumbler.com/forumd...?s=&forumid=20
Thanks again pikoro!
__________________
-=BW=-
blackwave is offline   Reply With Quote
Old 08-20-2002   #8 (permalink)
pikoro
Registered Member
 
pikoro's Avatar
 
Join Date: Jun 2002
Posts: 13
Ok, here's the initial FAQ:

http://www.got-ram.com/modules.php?n...=article&sid=8

Send me comments so i can fix it.

Pikoro
pikoro is offline   Reply With Quote
Old 08-20-2002   #9 (permalink)
rogerRabbit
Peripatetic Stumbler
 
rogerRabbit's Avatar
 
Join Date: Jun 2002
Location: Motueka
Posts: 219
Quote:
Originally posted by pikoro
Ok, here's the initial FAQ:
Most excellent!
rogerRabbit is offline   Reply With Quote
Old 08-20-2002   #10 (permalink)
pikoro
Registered Member
 
pikoro's Avatar
 
Join Date: Jun 2002
Posts: 13
Blackwave:

I looked at your command line utility, It appears that you have to eject the card, hack the mac, and reinsert the card...

I really dont' think that could be "scripted"

If there's another way to use that program, or heck, even just a registry hack, I could script one up pretty quickly.

Let me know if ya can help, we may even be able to vbs the whole thing... Be pretty neat if we could...

Pikoro
pikoro is offline   Reply With Quote
Old 08-20-2002   #11 (permalink)
rogerRabbit
Peripatetic Stumbler
 
rogerRabbit's Avatar
 
Join Date: Jun 2002
Location: Motueka
Posts: 219
The Registry thing would need a reboot to change the MAC so no go??
rogerRabbit is offline   Reply With Quote
Old 08-20-2002   #12 (permalink)
pikoro
Registered Member
 
pikoro's Avatar
 
Join Date: Jun 2002
Posts: 13
I would expect so What we need is a utility to stop the network services, change the registry, and restart the network, like nt's "net stop network" and then change the mac, then "net start network"...

hmm.. i'll have to look into that... perhaps there's an api call to "eject" a pcmcia card... or tell the system it's been ejected anyways...
like disable and enabling the connection.. sort of like what you can do in the network control panel in xp by right clicking on the connection and selecting "disable"

Pikoro
pikoro is offline   Reply With Quote
Old 08-20-2002   #13 (permalink)
rogerRabbit
Peripatetic Stumbler
 
rogerRabbit's Avatar
 
Join Date: Jun 2002
Location: Motueka
Posts: 219
Scanning events

Quote:
OnEnableScan: Not quite sure what this does yet. It is commented out in the sample script, so I have a feeling this is reserved for a future version.
OnDisableScan: Same with this one. Commented out, not quite sure what it does.
OnScanStart: Triggered when you click on the "scan" button to start a scan. This is basically the first thing run by your script. Probablly a good place to toss variables you want to use, or put in initial settings.

Had a quick look and, IMO:

1. Just 'cos something's REMed out in the default script doesn't seem to mean it's for future use.

2. OnEnableStart - this is the event triggered by Enabling a scan (!) i.e. clicking the green arrow.

3. OnDisableScan - what happens when you disable the scan(!).

4. OnScanStart - No! This is the event that triggers every (e.g.) 1 second when NS shouts "all your ..."


Try the attached VB script.


BTW, great job with the site & work to date .
Attached Files
File Type: txt test.txt (197 Bytes, 144 views)
rogerRabbit is offline   Reply With Quote
Old 08-20-2002   #14 (permalink)
pikoro
Registered Member
 
pikoro's Avatar
 
Join Date: Jun 2002
Posts: 13
that's the kind of input i'm lookin for....

Thanks.. imma go update it now... i just couldnt' figure out why there were 2 OnStarts...

Thanks

Pikoro
pikoro is offline   Reply With Quote
Old 08-20-2002   #15 (permalink)
rogerRabbit
Peripatetic Stumbler
 
rogerRabbit's Avatar
 
Join Date: Jun 2002
Location: Motueka
Posts: 219
Quote:
Originally posted by pikoro
sort of like what you can do in the network control panel in xp by right clicking on the connection and selecting "disable"
Funny, I had convinced myself that didn't do the trick. But retested just now and it's fine (of course!).
rogerRabbit 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 08:38 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, 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.