Skip to content

Failed: Layer [TLS] not found #492

@Andrei-Iosifescu123

Description

@Andrei-Iosifescu123

I'm using the following command to export a video: sudo docker run -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v /home/kali/Downloads/exported:/pcap gosecure/pyrdp pyrdp-convert -s /pcap/keyfile -o /pcap/video -f mp4 /pcap/slash.pcap. However, I get this error, even though the PCAP file contains a TLS layer:

    - 192.168.109.42:45410 -> 192.168.109.127:3389 :  0% (0 of 3599) |                       | Elapsed Time: 0:00:00 ETA:  --:--:--
  3% (137 of 3599) |                     | Elapsed Time: 0:00:00 ETA:  00:00:00
 TLS, master secret available (!)
[*] Processing 192.168.109.42:45410 -> 192.168.109.127:3389

Traceback (most recent call last):
  File "/opt/venv/lib/python3.10/site-packages/pyrdp/convert/PCAPConverter.py", line 49, in process
    self.processStream(startTimeStamp, stream)
  File "/opt/venv/lib/python3.10/site-packages/pyrdp/convert/PCAPConverter.py", line 114, in processStream
    for data, timeStamp, src, _dst in progressbar(stream):
  File "/opt/venv/lib/python3.10/site-packages/progressbar/shortcuts.py", line 22, in progressbar
    yield from progressbar(iterator)
  File "/opt/venv/lib/python3.10/site-packages/progressbar/bar.py", line 813, in __next__
    value = next(self._iterable)
  File "/opt/venv/lib/python3.10/site-packages/pyrdp/convert/TLSPDUStream.py", line 86, in decryptTLSStream
    record = packet[TLS]
  File "/opt/venv/lib/python3.10/site-packages/scapy/packet.py", line 1327, in __getitem__
    raise IndexError("Layer [%s] not found" % name)
IndexError: Layer [TLS] not found

[-] Failed: Layer [TLS] not found

I've uploaded my PCAP file and keyfile, maybe someone could help (txt since GitHub won't allow else):
slash.pcap.txt
keyfile.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions