NetStumbler.org Forums

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

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 08-27-2005   #1 (permalink)
bibby
Registered Member
 
Join Date: Aug 2005
Posts: 4
record all SSID BSSID and Signal

I'm currently trying to write a VB script.
It will record all SSID BSSID and Signal that NetStumbler can scan.
I had used OnScanResult.But it just only record only one ap.
Does anyone could teach me how to write a VB script.
thank!!
bibby is offline  
Old 08-27-2005   #2 (permalink)
Dutch
Humourless EuroMod.
 
Dutch's Avatar
 
Join Date: Mar 2004
Location: City of Mermaids, Denmark
Posts: 6,819
Quote:
Originally Posted by bibby
I'm currently trying to write a VB script.
It will record all SSID BSSID and Signal that NetStumbler can scan.
I had used OnScanResult.But it just only record only one ap.
Does anyone could teach me how to write a VB script.
thank!!
Why ? All that information is allready recorded in the .ns file. If you need it human readable, just use the export function, or write a parser for the .ns file.

As for teaching you how to write VB scripts, that is not the scope of this forum.
Google for VB script specific websites.

Dutch
__________________
All your answers are belong to Google. SEARCH DAMMIT!
Warning. Warning.
Low C8H10N4O2 level detected. Operator halted....
Dutch is offline  
Old 08-27-2005   #3 (permalink)
Thorn
Did you do the math?
 
Thorn's Avatar
 
Join Date: Apr 2002
Location: Villa Straylight
Posts: 10,430
First, NetStumbler records and logs the BSSIDs and SSIDs already. Second, there are plenty of scripts here to use as examples to learn about VB script. If they aren't enough, you should Google for sites devoted to VB, or get some books on VB programming. This isn't the site you want to learn VB basics.
__________________
Thorn
"Read Altas Shrugged. Compare it to today. Repeat as necessary"
Thorn is offline  
Old 08-28-2005   #4 (permalink)
jeeves_moss
Registered Member
 
Join Date: Jul 2005
Posts: 3
BSSID, Signal Strength, etc

Has any one ever though of making something like Kismet for Netstumbler? I was thking of something that would output the current status of EACH GPS update to something like a MySQL database. Then when you ave the program draw out the map, it can make circles baised on the ACTUAL data gathered. That way, you could see how buildings, etc effect the signal strength. Also, the more points you have around a given AP (driving up one street, then comming down the one that intersects it @ a 90 deg angle) wil yeald more plot points, and therefore a more detailed map. I do relize that this will take a LOT of processing horse power, but I've got a laptop that should be able to draw them on demand. If any one knows what i'm talking about, or is intrested in trying it, I'd be more than willing to talk with them.

-Jeeves
The_Doc_2@hotmail.com
jeeves_moss is offline  
Old 08-28-2005   #5 (permalink)
Israel Torres
Log Them All...
 
Israel Torres's Avatar
 
Join Date: Jul 2005
Location: California
Posts: 209
Smile

Quote:
Originally Posted by jeeves_moss
Has any one ever though of making something like Kismet for Netstumbler?
Not sure exactly what you are looking for - but you should look here:
http://www.renderlab.net/projects/wr...onwindows.html
Israel Torres is offline  
Old 08-28-2005   #6 (permalink)
bibby
Registered Member
 
Join Date: Aug 2005
Posts: 4
Dear Jeeves
I'm currently trying to use Netstumbler record current SSID BSSID Signal...of the all aps.
For example Netstumbler every 5 minutes record the all aps that it can scan.
And save all information in a document(.txt).
I could use autoftp upload all documents to a server.
So that i can collect all aps information real time.
OnScanResult can record just onlyone ap information.

sub OnScanResult (SSID,BSSID,CapFlags,Signal,Noise,LastSeen)
dim fso, fl, ts
set fso = CreateObject("Scripting.FileSystemObject")
set ts = fso.OpenTextFile("C:\Program Files\Network Stumbler\signal_strength1.txt", 2, True)
ts.WriteLine(LastSeen)
ts.Write("SSID : ")
ts.WriteLine(SSID)
ts.Write("BSSID : ")
ts.WriteLine(BSSID)
ts.Write("Signal : ")
ts.WriteLine(Signal)
ts.Write("Noise : ")
ts.WriteLine(Noise)
ts.Close()
End Sub

But i want to find out a Function that can easy record all aps information real time
Does anyone could help me?
thanks!!
bibby
bibby is offline  
Old 08-29-2005   #7 (permalink)
wrzwaldo
I amuse you?
 
Join Date: Dec 2003
Posts: 9,147
Quote:
Originally Posted by bibby
OnScanResult can record just onlyone ap information.

sub OnScanResult (SSID,BSSID,CapFlags,Signal,Noise,LastSeen)
dim fso, fl, ts
set fso = CreateObject("Scripting.FileSystemObject")
set ts = fso.OpenTextFile("C:\Program Files\Network Stumbler\signal_strength1.txt", 2, True)
ts.WriteLine(LastSeen)
ts.Write("SSID : ")
ts.WriteLine(SSID)
ts.Write("BSSID : ")
ts.WriteLine(BSSID)
ts.Write("Signal : ")
ts.WriteLine(Signal)
ts.Write("Noise : ")
ts.WriteLine(Noise)
ts.Close()
End Sub

But i want to find out a Function that can easy record all aps information real time
Does anyone could help me?
thanks!!
bibby
That's odd, because the MapPoint script uses those very same functions and is quite capable of recording all APs seen in real time and plotting them on the map! Now go back and re-read posts 2 and 3!
wrzwaldo is offline  
Old 08-29-2005   #8 (permalink)
Cakkie
Registered Member
 
Join Date: Mar 2005
Posts: 12
The OnScanResult function is triggered once for every AP found, so if there are 3 active APs nearby, It will fire 3 times each scan. After all OnScanResults are processed, the OnScanComplete event will fire with some general stats.

Anyway, I once started writing an autoexport script, that would generated text-export files similar to the ones you can create with netstumbler. The script will generate such export once every X minutes (value of the Interval Constant), and save it to a file called dump-YYYYMMDDHHNNSS.txt, where YYYY, MM, DD, ... are the respective parts of the current time/date.

The script should give you a good base to start from, so you can further customize it to your needs.
Attached Files
File Type: zip autoexport.zip (2.0 KB, 80 views)
Cakkie is offline  
Old 09-27-2005   #9 (permalink)
bibby
Registered Member
 
Join Date: Aug 2005
Posts: 4
Dose anybody have this question?
I used autoexport
But the document is always the same
EX..
every 2 minutes to create document
20050927202600.txt
MAC signal
(00:40:96:53:8E:AE),-84
(00:40:96:53:EF:AC),-84
(00:40:96:53:B1:43),-77
(00:13:7F:32:EE:60),-77
(00:11:2F:B6:A3:CD),-56
(00:40:96:53C:31),-83
(00:40:96:53:63:CE),-85
(00:40:96:53:F1:1C),-66
(00:40:96:53:63:B8),-77
(00:40:96:53:5B:A6),-47
(00:40:96:25:A30),-84
(00:40:96:53:F1:4E),-77
(00:02:6F:33:BC:BE),-33
(00:40:96:53:8D:67),-76
(00:40:96:53:6B:89),-84
(00:40:96:53:58:71),-81
and
20050927202800.txt
MAC signal
(00:40:96:53:8E:AE),-84
(00:40:96:53:EF:AC),-84
(00:40:96:53:B1:43),-77
(00:13:7F:32:EE:60),-77
(00:40:96:53C:31),-83
(00:40:96:53:63:CE),-85
(00:40:96:53:F1:1C),-66
(00:40:96:53:63:B8),-77
(00:40:96:53:5B:A6),-47
(00:40:96:25:A30),-84
(00:40:96:53:F1:4E),-77
(00:02:6F:33:BC:BE),-33
(00:40:96:53:8D:67),-76
(00:40:96:53:6B:89),-84
(00:40:96:53:58:71),-81
(00:11:2F:B6:A3:CD),-55
(00:40:96:53:84:03),-84
the two document almost the same
Dose anybody tell me what happended?
thanks
bibby is offline  
Old 09-27-2005   #10 (permalink)
wrzwaldo
I amuse you?
 
Join Date: Dec 2003
Posts: 9,147
Quote:
Originally Posted by bibby
...

the two document almost the same
Dose anybody tell me what happended?
thanks
There was different data in the two files.
wrzwaldo is offline  
Old 09-28-2005   #11 (permalink)
bibby
Registered Member
 
Join Date: Aug 2005
Posts: 4
Maybe i found out the problem
There are two files recored by different time
file1
lastseen mac signal
12:21:53, 00:40:96:53:EF:AC ,-80
12:22:35, 00:40:96:53:F1:1C ,-66
12:22:37, 00:40:96:532:3E ,-88
12:22:40, 00:11:2F:B6:A3:CD ,-53
12:23:36, 46:03:42:01:55:03 ,-61
12:24:33, 00:40:96:53C:31 ,-77
12:25:14, 00:40:96:53:63:B8 ,-77
12:26:24, 00:40:96:53:EC:F6 ,-80
12:26:33, 00:13:7F:32:EE:60 ,-68
12:26:49, 00:40:96:53:88:56 ,-83
12:27:48, 00:40:96:53:F1:4E ,-73
12:31:09, 00:40:96:25:A30 ,-65
12:31:24, A6:03:36:01:EF:01 ,-37
12:31:37, 00:02:6F:33:BC:BE ,-26
12:31:38, 00:40:96:53:5B:A6 ,-44
12:31:49, 12:03:6E:02:83:03 ,-84
12:33:23, 00:40:96:53:5E:7F ,-81
12:34:22, 02:0E:35:00:01:E8 ,-50
12:35:00, 00:40:96:53:63:CE ,-84
12:35:13, 7A:01:78:01:54:00 ,-40
12:38:23, 00:40:96:53:8D:67 ,-69
12:43:01, FF:FF:FF:FF:FF:FF ,-57
12:43:19, 00:40:96:53:B1:43 ,-77
12:44:25, 00:40:96:53:F61 ,-84
12:46:54, 00:40:96:53C:29 ,-88
12:47:09, 00:40:96:53:8E:AE ,-74

file2
lastseen mac signal
12:21:53 , 00:40:96:53:EF:AC ,-80
12:22:35, 00:40:96:53:F1:1C ,-66
12:22:40, 00:11:2F:B6:A3:CD ,-53
12:23:36, 46:03:42:01:55:03 ,-61
12:25:14, 00:40:96:53:63:B8 ,-77
12:26:24, 00:40:96:53:EC:F6 ,-80
12:26:33, 00:13:7F:32:EE:60 ,-68
12:26:49, 00:40:96:53:88:56 ,-83
12:27:48, 00:40:96:53:F1:4E ,-73
12:31:09, 00:40:96:25:A30 ,-65
12:31:24, A6:03:36:01:EF:01 ,-37
12:31:37, 00:02:6F:33:BC:BE ,-26
12:31:38, 00:40:96:53:5B:A6 ,-44
12:31:49, 12:03:6E:02:83:03 ,-84
12:33:23, 00:40:96:53:5E:7F ,-81
12:34:22, 02:0E:35:00:01:E8 ,-50
12:35:00, 00:40:96:53:63:CE ,-84
12:35:13, 7A:01:78:01:54:00 ,-40
12:43:01, FF:FF:FF:FF:FF:FF ,-57
12:43:19, 00:40:96:53:B1:43 ,-77
12:44:25, 00:40:96:53:F61 ,-84
12:46:54, 00:40:96:53C:29 ,-88
12:47:09, 00:40:96:53:8E:AE ,-74
12:50:44, 00:40:96:53:8D:67 ,-65
12:50:45, 00:40:96:53C:31 ,-75
12:51:27, 00:40:96:53:58:71 ,-82
12:51:52, 00:40:96:532:3E ,-83
some data are the same
because the lastseen is not change with the current time
who can teach me to modify "autoexport" to record signal of current time
thanks
bibby is offline  
Old 09-28-2005   #12 (permalink)
Spanky6186
Registered Lurker
 
Spanky6186's Avatar
 
Join Date: Dec 2004
Posts: 33
fade from black to a shot of bibby forlornly clutching printouts of his two dump files. The wind whistles eerily. A tumbleweed rolls past. Somewhere in the distance, a door can be heard banging in the wind. Its quiet here, too quiet ....

But seriously, if you want to get started with scripting Netstumbler, start by crawling. grab a script from the scripting section that looks remotely interesting (I recommend the Master script for netstumbler, it seems to do just about everything possible) and start reading & understanding what is going on with it. Last time I looked, it was pretty well commented & well structured - certainly easy enough to follow. Anything you don't understand, look at a VB scripting guide to help out. Google is your friend here.

Run it a few times to understand what it does, then start trying to walk - i.e. start tinkering with it to learn even more. Start simple. Then as you find that stuff you are changing is doing what you expect, get bolder.

This forum is frequented (mostly) by professionals - or at least those with a professional attitude. You will find no spoonfeeding here. You will certainly not find anyone willing to write a script for you.

You have already been given more than enough excellent advice. Time to start to heed it grasshopper.
__________________
Pucker says ...
Spanky6186 is offline  
Old 09-28-2005   #13 (permalink)
Dutch
Humourless EuroMod.
 
Dutch's Avatar
 
Join Date: Mar 2004
Location: City of Mermaids, Denmark
Posts: 6,819
^^^
What he said!

Thread closed.

Dutch
__________________
All your answers are belong to Google. SEARCH DAMMIT!
Warning. Warning.
Low C8H10N4O2 level detected. Operator halted....
Dutch is offline  
Closed Thread


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 02:43 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.