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 05-10-2005   #1 (permalink)
renderman
Drunken Stumbler
 
renderman's Avatar
 
Join Date: Jun 2002
Location: Anywhere but Utah
Posts: 1,803
Script functions..

Ok, I admit, my scripting/programming skills are pretty much nil, but I'm trying to learn, so just point me in the right direction. No spoon feeding required.

Current project has me needing to write a script for NS to automatically compare the latest detected AP information (i.e. SSID) to a list and to delete the entry if it finds it.

I want to look at the SSID and throw out know pay-to-play hotspots and known industrial setups. Could do this by hand after the fact, but would be easier to do it through 'OnScanResult' in real time. Another option would be if there was a way to insert a column in the display and flag pay hotpsot SSID's

So, the question is this: Where do I find out how to delete records in the display of NS through a script?
renderman is offline   Reply With Quote
Old 05-10-2005   #2 (permalink)
dwakeman
perlmonk
 
dwakeman's Avatar
 
Join Date: Jul 2004
Location: canadia
Posts: 57
Quote:
Originally Posted by renderman
Ok, I admit, my scripting/programming skills are pretty much nil, but I'm trying to learn, so just point me in the right direction. No spoon feeding required.
There is no spoon.

Quote:
Current project has me needing to write a script for NS to automatically compare the latest detected AP information (i.e. SSID) to a list and to delete the entry if it finds it.

I want to look at the SSID and throw out know pay-to-play hotspots and known industrial setups. Could do this by hand after the fact, but would be easier to do it through 'OnScanResult' in real time. Another option would be if there was a way to insert a column in the display and flag pay hotpsot SSID's

So, the question is this: Where do I find out how to delete records in the display of NS through a script?
I'm pretty sure that while NetStumbler is running, it keeps all the scanned data in memory, and not in a file that could be edited. Also, I don't think you can edit/insert a column in the main display.

What you could do is have a script running that grabbed the OnScanResult data, compared it to your listing of known AP's, and if it passed your condition, writes the scan data to a NetStumbler Summary text file that could be imported later.

That sound right?
dwakeman is offline   Reply With Quote
Old 05-10-2005   #3 (permalink)
renderman
Drunken Stumbler
 
renderman's Avatar
 
Join Date: Jun 2002
Location: Anywhere but Utah
Posts: 1,803
Quote:
Originally Posted by dwakeman
There is no spoon.



I'm pretty sure that while NetStumbler is running, it keeps all the scanned data in memory, and not in a file that could be edited. Also, I don't think you can edit/insert a column in the main display.

What you could do is have a script running that grabbed the OnScanResult data, compared it to your listing of known AP's, and if it passed your condition, writes the scan data to a NetStumbler Summary text file that could be imported later.

That sound right?
I was more looking for something that would just delete entries from the display, rather than post-processing.

The project is actually the reverse of my description (minor obfuscation but now that I think about it, it's not that bad to share the idea for the project), I want to be able to make an idiot proof way to map the location of pay-hotspot SSID's so there can be 1 ubiquitous map showing all hotspots regardless of company.

I would not be the one driving, so the fewer the steps the better, hence my desire for chucking bad data on the fly and making it idiot proof.
renderman is offline   Reply With Quote
Old 05-10-2005   #4 (permalink)
dwakeman
perlmonk
 
dwakeman's Avatar
 
Join Date: Jul 2004
Location: canadia
Posts: 57
Quote:
Originally Posted by renderman
I was more looking for something that would just delete entries from the display, rather than post-processing.
Yup that's what I understood your question as. I'm either right in the fact that this can't be edited, or I'm unsure of how to do it from the NetStumbler display. I'm pretty sure you wouldn't be able to edit it real-time however.

Quote:
The project is actually the reverse of my description (minor obfuscation but now that I think about it, it's not that bad to share the idea for the project), I want to be able to make an idiot proof way to map the location of pay-hotspot SSID's so there can be 1 ubiquitous map showing all hotspots regardless of company.

I would not be the one driving, so the fewer the steps the better, hence my desire for chucking bad data on the fly and making it idiot proof.
Are you looking to have this plot the points real-time to mapping software? Because you could still accomplish this in real-time through the NetStumbler scripting engine, and plot only the points you wanted to MS MapPoint. The process would be exactly the same as my previous post, except you would be writing the data to MapPoint instead of the NetStumbler Summary file.

Once you setup your script to run in NetStumbler, you would only have three steps for your driver:

1. Open Microsoft MapPoint.
2. Open NetStumbler (which loads your script automatically).
3. Drive around.

The points that passed your condition would be plotted in real-time to the MS MapPoint application.

Are we getting closer?

If you want only specific AP's to show up in NetStumbler, then I'm not sure that can be accomplished. Someone may correct me though
dwakeman is offline   Reply With Quote
Old 05-10-2005   #5 (permalink)
beakmyn
root\.workspace\.garbage.
 
Join Date: Aug 2003
Posts: 4,805
I don't see any hooks into the GUI

The only hook NS provides is in regards to the 'ScriptWindow'

AddItemContextMenu
HostCreateObject
PlaySound
PlaySoundLoop

That's all I see. Anything beyond that would have to be a hack or post process.
__________________
Daughter with arms inside shirt: "Daddy I'm not Armish"

┌──────────────────────────────┐
NS Icons Explained|et hoc genus omne
└──────────────────────────────┘
beakmyn 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:25 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.