From 8a5220debe7298fd4b180c88a5df581c114c9352 Mon Sep 17 00:00:00 2001 From: Olivier Bilodeau Date: Tue, 3 Aug 2021 10:21:27 -0400 Subject: [PATCH] Fixed wrong date format string for sessions converted from a pcap #330 --- pyrdp/convert/PCAPConverter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrdp/convert/PCAPConverter.py b/pyrdp/convert/PCAPConverter.py index daa0d5618..bba353dd9 100644 --- a/pyrdp/convert/PCAPConverter.py +++ b/pyrdp/convert/PCAPConverter.py @@ -89,7 +89,7 @@ def listSessions(self) -> List[Tuple[int, PCAPStream]]: return streams def processStream(self, startTimeStamp: int, stream: PCAPStream): - startTimeStamp = time.strftime("%Y%M%d%H%m%S", time.gmtime(startTimeStamp)) + startTimeStamp = time.strftime("%Y%m%d%H%M%S", time.gmtime(startTimeStamp)) sessionID = PCAPConverter.SESSIONID_FORMAT.format(**{ "timestamp": startTimeStamp, "src": stream.client,