GoSecure / pyrdp

RDP monster-in-the-middle (mitm) and library for Python with the ability to watch connections live or after the fact

Home Page:https://www.gosecure.net/blog/2020/10/20/announcing-pyrdp-1/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyRDP not logging any connections

ynnckvdv opened this issue · comments

The repo tells me that if I have my RDP server running on (in my case) 192.168.69.120, I can just use pyrdp-mitm.py 192.168.69.120. This gives me these three standard lines of logs, but that's all it gives. It doesn't log more than that.

[2022-03-25 13:04:49,839] - INFO - GLOBAL - pyrdp.mitm - Target: 192.168.69.120:3389
[2022-03-25 13:04:49,840] - INFO - GLOBAL - pyrdp.mitm - Output directory: /home/pyrdp/pyrdp_output
[2022-03-25 13:04:49,841] - INFO - GLOBAL - pyrdp - MITM Server listening on 0.0.0.0:3389

My result: https://gyazo.com/d6e2582aee9f8815a866e49d79288198.
Extra info: Windows firewall is off and pinging between the Ubuntu and Windows machine is possible. I'm using the Docker solution but it doesn't matter which one I use.

Any idea what is going on? Would appreciate any help.

Thanks for the video. Very helpful to help you. Your RDP client (mstsc.exe) must connect to the IP of your Ubuntu machine not the original server at 192.168.69.120. You can find it by looking at the output of ip addr or many other ways.

I am closing this issue as an answered question. Let me know if I should re-open it.