![]() |
|
|||||||
| Register | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
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.) |
|
|
|
|
|
#4 (permalink) |
|
Alien Paranoid Stumbler
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." |
|
|
|
|
|
#5 (permalink) |
|
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.
|
|
|
|
|
|
#8 (permalink) |
|
I'm always at 127.0.0.1
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. |
|
|
|
|
|
#10 (permalink) |
|
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. |
|
|
|
|
|
#11 (permalink) |
|
Registered Member
Join Date: Nov 2004
Posts: 9
|
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 |
|
|
|