|
|
@@ -1,4 +1,3 @@
|
|
|
-import pyshark
|
|
|
from datetime import datetime
|
|
|
import typing
|
|
|
from typing import List
|
|
|
@@ -39,6 +38,7 @@ class Sample:
|
|
|
.total_seconds()
|
|
|
|
|
|
def __init__(self, packets, keylog: typing.TextIO):
|
|
|
+ import pyshark
|
|
|
self.__general = {}
|
|
|
self.__extract_tag(keylog)
|
|
|
self.__extract_activity_stats(packets)
|