View Single Post
Old 01-30-2003   #1 (permalink)
troysorzano
Registered Member
 
Join Date: Aug 2002
Posts: 1
Auto Export Batch Script

# NS1AutoExport.py Version 1.0 1/30/2003
# Troy Sorzano - Info Packaging
#
# I had 61 NS1 files (~6megs) that I needed to export as text.
# being lazy I did not want to do this manualy so I whipped up
# this Python script. you will need W32 Python from
# http://www.activestate.com
#
# Command line:
# python NS1AutoExport.py <export type> <conversion path>
#
# <export type> S = Summary, T = Text, W = Wi-scan
#
# <conversion path> is the location of your *.NS1 files and
# where the exported *.TXT will be placed. NS1AutoExport will
# read the directory of <conversion path> and for each *.NS1 file:
# 1. load netstumbler with the file.
# 2. export the file as <export type> to <FileName>.txt
#
# Example Comand line:
# python NS1AutoExport.py T d:\data\wardriving
#
# netstumbler needs to be in your path or the location you run
# this script from there is NO error checking in this script. Make
# sure you don't have *.TXT files in the <conversion path> that
# will cause overwrite warnings. ie. first time you run the script it
# creates *.TXT files. If you run it again and you have not
# deleted those *.TXT files netstumbler will prompt you to press
# yes or no to overwrite the duplicate scripts. That will break the
# script.
#
# use at your own risk. this script may screw up your computer.
# this script may screw up your life. this script may do all kinds
# of bad things that you don't want it to. I don't think you should
# run it. you have been warned.

please rename the NS1AutoExport.txt file to NS1AutoExport.py
Attached Files
File Type: txt ns1autoexport.txt (3.0 KB, 102 views)
troysorzano is offline   Reply With Quote