pyrdp icon indicating copy to clipboard operation
pyrdp copied to clipboard

rdp.proxy.command: unknown or invalid

Open 0x2kb5 opened this issue 4 years ago • 3 comments

Hi Guys,

cant get properly working, iam noob, give me some orientation, thanks!

using : go1.15.8, python3.9

error while running 'set rdp.proxy.command': unknown or invalid syntax "set rdp.proxy.command", type help for the help menu

0x2kb5 avatar Jan 14 '22 15:01 0x2kb5

You need to install our fork of bettercap with our caplet for rdp.proxy to work. More information here: https://github.com/GoSecure/pyrdp/blob/master/docs/bettercap-rdp-mitm.md

Alternatively, since PyRDP 1.0 you can use PyRDP in transparent proxy mode (--transparent) and use the generic bettercap arp spoofing module. More information here: https://github.com/GoSecure/pyrdp/blob/master/docs/transparent-proxy.md

Unfortunately, both resources are not super noob-friendly. Good luck!

obilodeau avatar Jan 17 '22 14:01 obilodeau

Hi, Iam on arm64-linux-debian, reinstalled OS and exactly followed your guide, succefully installed (forked bettercap and caplets) min. version.

cd /pyrdp source venv/bin/activate sudo bettercap -iface eth0 -caplet rdp-proxy/rdp-sniffer.cap -eval "set rdp.proxy.command $(which pyrdp-mitm.py)"

now getting this error ""unknown or invalid syntax "rdp.proxy.on", type help for the help menu.""

0x2kb5 avatar Jan 23 '22 15:01 0x2kb5

Unfortunately, this means that the documentation on the bettercap caplet is probably outdated or the caplet no longer works with bettercap due to changes in it.

We will need to revisit that documentation. Stay tuned.

obilodeau avatar Jan 25 '22 19:01 obilodeau