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 12-28-2004   #1 (permalink)
deaftone
Registered Member
 
Join Date: Dec 2004
Posts: 12
NS php->sql db parser

This is a little "off topic" so I'll probably get flamed like other noobs for seeking info. If anyone knows of a public php script that would basically do the same thing as the one on wigle.net, meaning: being able to upload a .ns1/summary file for parsing and displaying/storing found info in a mysql db for later use, it would be greatly appreciated.

another example: http://www.secure-wifi.net/index.php?p=stats
(Yes I have searched for that script, other php-based ones and emailed the author/admin of that site, no luck.)
deaftone is offline   Reply With Quote
Old 12-30-2004   #2 (permalink)
riscphree
Registered Member
 
Join Date: Apr 2004
Posts: 17
yeah, all that stuff your going to have to code yourself, i dont think they are in a hurry to release the source.
riscphree is offline   Reply With Quote
Old 12-30-2004   #3 (permalink)
deaftone
Registered Member
 
Join Date: Dec 2004
Posts: 12
I never specifically said their source, but there are some scripts out there for the public that do the same thing, only thing is, they're either python or perl.
deaftone is offline   Reply With Quote
Old 12-31-2004   #4 (permalink)
King_Ice_Flash
Alien Paranoid Stumbler
 
King_Ice_Flash's Avatar
 
Join Date: May 2003
Location: WI
Posts: 2,624
I thought that there was a script posted on the World Wide Wardrive site, that would go through the NS files, but I do not remember what it did, I also can not find it any more.
__________________
"Yeah," said a voice from under the table, "you go to pieces so fast people get hit by the shrapnel."
King_Ice_Flash is offline   Reply With Quote
Old 12-31-2004   #5 (permalink)
Ze_NiTH
Registered Member
 
Join Date: Sep 2004
Posts: 9
I was in the middle of making a script that would do just that. That was also the same time that I discovered wigle.net and saw no use for the script after that. It should be pretty easy to go through the summary files, havent looked at the .ns1 files though.
Ze_NiTH is offline   Reply With Quote
Old 01-01-2005   #6 (permalink)
deaftone
Registered Member
 
Join Date: Dec 2004
Posts: 12
The .ns1 is binary; I'm having some trouble understanding how to parse it in php... Since you said you “were in the middle” of writing it when you discovered wigle.net, do you still have what you got up to?
deaftone is offline   Reply With Quote
Old 01-02-2005   #7 (permalink)
Ze_NiTH
Registered Member
 
Join Date: Sep 2004
Posts: 9
Sorry, I lost it in a reformat =\
Ze_NiTH is offline   Reply With Quote
Old 01-02-2005   #8 (permalink)
localhost
I'm always at 127.0.0.1
 
localhost's Avatar
 
Join Date: Mar 2004
Posts: 26
deaftone: my site (secure-wifi.net) does not use the type of script that you are looking to do (although i am developing it right now since it would be very useful).

as of right now, i export to a summary file, run a c++ program that i wrote on the summary file, then upload the summary to the webserver. the same c++ program handles the statistics page. when someone search for a mac address, it checks using regex to see if it is a mac or not, and then performs a grep on the database. since it is just a text file with only one possible matching line, it is not too big of a deal lag'wise, but i still want to move it to mysql.

if you really want, i can clean up the source and post it (it is kinda sloppy right now).

btw: it is alot easier to parse a summary file than the ns1 file (unless you need data that is only contained in the ns1, then ur sol)

Last edited by localhost : 01-02-2005 at 12:45 PM.
localhost is offline   Reply With Quote
Old 01-02-2005   #9 (permalink)
candy-man
Registered Member
 
Join Date: Sep 2004
Posts: 6
Thank you for expressing an intrest in the site (secure-wifi.net). Like localhost said, it's currently unavailable to the public.

Bill
Secure-Wifi Staff
candy-man is offline   Reply With Quote
Old 01-03-2005   #10 (permalink)
deaftone
Registered Member
 
Join Date: Dec 2004
Posts: 12
Thanks for the replys. I'd love any piece of code that I can get my hands on at the moment. At least that way I'll have something to look through and build some ideas from. You mentioned developing it/a similar one, any chance on sending a copy when it's done? It would be greatly appreciated.
deaftone is offline   Reply With Quote
Old 01-06-2005   #11 (permalink)
janolap1
Registered Member
 
Join Date: Nov 2004
Posts: 9
Talking See my message

Hi,

I'm beginning such a php script.
I have already done it for netstumbler text summary (see this message).
You can test the script for ns1 files and improve it (contact me if you can improve it because I'm searching for solutions) (see this message).

Cordially

Jean CARTIER
janolap1 is offline   Reply With Quote
Old 01-06-2005   #12 (permalink)
deaftone
Registered Member
 
Join Date: Dec 2004
Posts: 12
Thanks janolap1! I'll mod it a little, but the code helps a lot.
deaftone is offline   Reply With Quote
Old 01-07-2005   #13 (permalink)
janolap1
Registered Member
 
Join Date: Nov 2004
Posts: 9
Talking Good luck !

Hi deaftone,

I hope you'll make it work.

Those days, I don't have enough time at work to enhance it.

Leave it to the community when it works... please, leave the source open !

Janolap1
janolap1 is offline   Reply With Quote
Old 01-17-2005   #14 (permalink)
janolap1
Registered Member
 
Join Date: Nov 2004
Posts: 9
The script finally works (with a few bugs)

See my other post...
janolap1 is offline   Reply With Quote
Old 01-18-2005   #15 (permalink)
deaftone
Registered Member
 
Join Date: Dec 2004
Posts: 12
Yeah, I noticed it. Just having some trouble sending the parsed info to a SQL db, for some reason it doesn't like punctuation... Oh well, I'll figure it out hopefully.
deaftone 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 12:26 AM.


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.