top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to print wire shark logs using Python script and please provide one example?

+2 votes
624 views
How to print wire shark logs using Python script and please provide one example?
posted Dec 21, 2015 by Gnanendra Reddy

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+2 votes

There is a package called pyshark (though I have never used it) but you can use this package to analyse the information. See the man page of pyshark - https://pypi.python.org/pypi/pyshark/0.2

answer Dec 21, 2015 by Salil Agrawal
i imported pyshark module after that i want to capture s1ap messages and print it,will u tel me how?
I think I have already told, I have never used it. So you may need to read the manual.
Similar Questions
+3 votes

I am trying to count the number of files in a folder with python script but not getting the appropriate script. In which I can change the path and can find out the count of other folder files.

It doesn't matter for me how long the script is but need the clear script and it would be better if you can explain it also.

0 votes

I have a Ubuntu server running NGINX that logs data for me. I want to write a python script that reads my customized logs and after a little rearrangement save the new data into my DB (postgresql).

The process should run about every 5 minutes and i'm expecting large chunks of data on several 5 minute windows..

My plan for achieving this is to install python on the server, write a script and add it to cron.

My question is what the simplest way to do this? should I use any python frameworks?
For my python app I'm using Django, but on this server I just need to read a file, do some manipulation and save to DB.

...