tcpdump mailing list archives

Windump Query


From: "Munshi, Shahid K. (Manpower Contract)" <shahid.k.munshi () hp com>
Date: Wed, 24 Sep 2003 14:02:09 -0500

 am trying to capture network traffic for 60 seconds using windump utility for windows under Windows 2000 Server 
platform.
When I opened the Captured file after executing this code , There was nothing written  in file....  Anybody explain me 
why ?

import os,win32pipe
TooMuchTime = 60
x = win32pipe.popen("windump -ltt > Test.txt",'w+')
w = time.time()
TotalTime = time.time() + TooMuchTime
while time.time() < TotalTime:
        time.sleep(1.0)
        print ".",
x.close()

Shahid

-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe


Current thread: