
March 2nd, 2013, 09:48 AM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 2
Time spent in forums: 27 m 4 sec
Reputation Power: 0
|
|
|
Python with Wireshark to monitor and save activity log
Hi guys
I am a beginner in Python and I need some help with this programming language.
I need to write a program which could save Wireshark logs to my desired folder into one file. The internet activity I need to capture is websites.
There is this code for Tshark on Ubuntu:
"sudo tshark -i wlan0 "host 192.168.1.100 and port 45000" -d tcp.port==45000,http -T pdml > dump.xml"
but when I remove sudo and change the IP address to mine, Tshark on windows (I am using windows 7) the Tshark doesn't recognize "wlan" acronym (I googled equivalent of wlan for windows, but no luck) so I even though the task looks simple, it is not for me, so I would like somebody to help there or at least to give some links to tutorials. And many thanks to those who could help me!!
Regards
Povilas
|