![]() |
|
|||||||
| Register | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Registered Member
Join Date: Feb 2004
Posts: 27
|
New Tool: StumblerX, OnScanResult() can work for you!
My new tool, StumblerX - Windows 2000/XP only!
-------------------------------------------------------- What is StumblerX? IT'S AN OnScanResult() IMPLEMENTATION ENGINE !! It's a program that hooks into the live data from Network Stumbler, and runs an external VBScript you choose, passing the new data to the script. It runs real-time. In other words, it is an external implementation of OnScanResult(). It runs a script whenever Network Stumbler finds a new access point. Features: Grabs data from the currently active Network Stumbler collection window. Buffers data collection/script execution. Even if your script takes a while to run, StumblerX will buffer the new data that comes in. It feeds your script as fast as your script will take the new data. Data accuracy. StumblerX keeps track of new MAC's and makes sure not to enter any access point twice. Only supports VBScript at this time. -------------------------------------------------------- This is my first release of StumblerX. I tested it on my laptop with Windows XP and the latest Network Stumbler and it works well. Report any bugs in this thread. A small technical note: Don't use Network Stumbler to run a script at the same time as StumberX is running. StumblerX depends on the sound that Network Stumbler plays when it finds a new access point , as its trigger to gather the new data. If you have a script running in Network Stumbler that plays sounds, all heck may break loose. (Usually mainly because I don't know if Network Stumbler will still play the new AP sound). Download here: http://webpages.charter.net/nikolatesla20/setup.zip NOTE: There IS a help file that gets installed with StumblerX that you can check out for more information. There's a shortcut to the help file in the Program menu along with the StumblerX shortcut. -niko Last edited by nikolatesla20 : 03-03-2004 at 07:07 PM. |
|
|
|
|
|
#2 (permalink) |
|
Desert Stumbler
Join Date: Jul 2003
Location: Phoenix, AZ
Posts: 136
|
ive downloaded and will give it a try next time.. but my question is, what are some of the big benefits of this program. What do you inivsion its uses are. From my understanding, with the sample script it just archives the APs like a summary file would. Great work, keep it up.
![]() |
|
|
|
|
|
#3 (permalink) |
|
Registered Member
Join Date: Feb 2004
Posts: 27
|
If you know how to interface with MapPoint 2004 thru its COM automation interface (programmers will know what I am talking about), you could map AP's in real-time, a feature long requested by people on the boards here. The biggest benefit of this is it's real-time data collection. As soon as you get a new AP, your script gets executed.
You could write lots of scripts to take advantage of that. Call batch files, whatever, all upon the instant you detect a new AP. I would have had a script to demo mapping too but I don't have MapPoint. In fact I have no mapping software yet. -niko |
|
|
|
|
|
#5 (permalink) | |
|
Registered Member
Join Date: Feb 2004
Posts: 27
|
Quote:
OnScanResult() I have re-worded my announcement to correctly say that my program does the job of OnScanResult(). -niko |
|
|
|
|
|
|
#6 (permalink) |
|
Registered Member
Join Date: May 2002
Posts: 2
|
StumblerX and Signal to Noise
nikolatesla20,
First thanks for your help with my script question the other day that worked great. I'm using your StumblerX app and I'm finding that it logs everything like you said it would but the one thing I wish it could do is, to continually update the S/N ratio so that when you find an AP it would show the current S/N.. I'm not sure if this is a scripting limitation of netstumbler since I'm new to scripting but not VB.... If you plan on an update could you look at that?? Again thanks in advance Sh00 |
|
|
|
|
|
#7 (permalink) |
|
Registered Member
Join Date: Mar 2003
Posts: 5
|
not bad. it takes GPS coordinates in quite well too.
one bug: when 2 APs are detected at the same time only one will be logged. replicate this by starting netstumbler and closing the current scan.. open stumblerX and run it.. then start a new netstumbler session around several APs that will immedicately detec |
|
|
|
|
|
#10 (permalink) |
|
Knight Tooth Puller
Join Date: Aug 2004
Location: Bellevue, WA, USA
Posts: 182
|
While I have no idea where StumblerX can be retrieved, I can tell you:
|
|
|
|
|
|
#11 (permalink) |
|
Registered Member
Join Date: Nov 2003
Location: Clermont, FL
Posts: 4
|
Yeah, at the moment, my script just uses a fso.OpenTextFile() and writes the lines to the file (Probably not the most efficient way). The problem is that it writes the same AP more then once because Netstumbler feeds data to the script everytime there is a response to its beacon. (Why I wanted this, StumblerX because it claims to never feed the same MAC address).
I've moved on to finding some code (VBScript or VB6) that will open a text file, remove duplicate lines, and then save the file. I have found a sample script around the internet that will do the same, but it also sorts the list, which makes the resulting text file useless for my application (The last seen AP has to be at the bottom of the text file). I have tried editing the code to remove the sorting option, but no luck thus far. Would posting the sample code help somebody figure out how to make it stop sorting? Thanks. |
|
|
|
|
|
#12 (permalink) |
|
Registered Member
Join Date: Nov 2003
Location: Clermont, FL
Posts: 4
|
I have found a way to do what I needed.
I have looked through many examples of code to make it... This will take the file, c:\ap.in and take the duplicates out and write the new file to c:\ap.out . Code:
sFile ="C:\ap.in"
set oFs = createobject ("Scripting.filesystemobject")
arrLines = Split(oFs.OpenTextfile(sFile).ReadAll,vbcrlf)
for i=0 to Ubound(arrLines)-1
if len(arrLines(i)) then
for j=i+1 to Ubound(arrLines)
if arrLines(j)=arrLines(i) then arrLines(j) = ""
Next
strNew = strNew & arrLines(i) & vbCrLf
End If
next
oFs.OpenTextfile("c:\ap.out",2,-1,-2).Write strNew
|
|
|
|