export1.vbs
' 
' export1 - Export a USNF file to a PCAP file
'

' -----------------------
' Check usage & arguments
' -----------------------
Set Stdout = WScript.StdOut
 
if WScript.Arguments.Count <> 2 then
	Stdout.WriteLine "Usage: export1 <from-filename> <to-filename (libpcap)>"
	WScript.Quit
end if
 
FromFile      = WScript.Arguments.Item(0)
ToFile        = WScript.Arguments.Item(1)
Set UnsniffDB = CreateObject("Unsniff.Database")
 
UnsniffDB.Open(FromFile)
UnsniffDB.Export "libpcap", ToFile
UnsniffDB.Close()
 
Stdout.WriteLine "Export Finished: Filename is " & ToFile
unsniff/samples/export1/vbs.txt · Last modified: 2014/09/11 23:23 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki