From 1a619fd22180799e376911a96e25cb3178995195 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 20 Mar 2025 15:33:29 +0100 Subject: [PATCH] . --- rdp/Cube.rdp | Bin 0 -> 2520 bytes rdp/cube.bat | 9 +++++++++ shortcuts/shortcuts-osohormiguero.ahk | 19 +++++++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 rdp/Cube.rdp create mode 100644 rdp/cube.bat create mode 100644 shortcuts/shortcuts-osohormiguero.ahk diff --git a/rdp/Cube.rdp b/rdp/Cube.rdp new file mode 100644 index 0000000000000000000000000000000000000000..a7cc73376b9b42ee9a3eddf46ebe138dd94e5104 GIT binary patch literal 2520 zcmai$>u%aW5QX=5rM`n7psGR>r7dq`Fae6O5jIJA`L^eq@p{*mlL~<^JJ+-4%<}h7 z7q;OVcKS4-2blnNI(!SC!>4cyoxMNnt`5Ccux$pLmD%9gg_Bm>a0zb~ zqYsDC=BHvkELa}ocMN-3_M@G5b>*4JkM^|E-IKobx0UZ%5x^p4a|FD*lUDA^-iA_Em8xy^ISrLKN~O@LtkSKl zF6!rI5hJc1&ojQt4#dE!mNl_U)o~hkA_Q5Sf<|2>Zg%^p?8gPowb_dIL}2tJ6XZmk80W)4?E)oXuuG9 znIo~W9?!~tQRnOq@f~IQ@8p&5WnNqAyHu}q>q>GZt^(@+Dn2}iA9j5heoL$*Ge2?NB_a0o`>?-(CM`>4|C+L$3>Is{`+ovO1 zLRD8?{oJ4*kA#Y*9WjaavL+8%I9K4Fvk^7j^~Psk(s9BXF5m?lnUT|KmzY8g&I;yD z%t*IPjD%okyyhJ$^-1Y!K&OdmtlTrd{ScKIbXN?fLa+Wy(_o4}wd3qW`L0wn%RF|j zJlV{i+AkxEdO1yC&ilT;S1;;;z5FP%vo7D;rM&PWWptluwHspxr=zQKFGTWF$$jGg zhdHYwW8uZsxCgfqqMRWf0X^>37ymFS)#R1`w*5&~^R*NSZla!f1+{R^Rp8jhoYTqk zrYbqzI8zU*GS_>qIiDS+EUVEvkLze$vp%Vgx!`EWI;RTY$vwG4r`Z3}m8qE5@(<3u ByCeVr literal 0 HcmV?d00001 diff --git a/rdp/cube.bat b/rdp/cube.bat new file mode 100644 index 0000000..b897188 --- /dev/null +++ b/rdp/cube.bat @@ -0,0 +1,9 @@ +@echo off +cd .. +php -f .\bitwarden\bitwarden.php -- tmp "Microsoft (vincent@cubedesigners.com)" +set /p PASSWORD= < .\bitwarden\tmp +del /Q .\bitwarden\tmp +cmdkey /generic:TERMSRV/192.168.10.10 /user:"vincent@cubedesigners.com" /pass:%PASSWORD% +START /B mstsc .\rdp\Cube.rdp +timeout 10 /nobreak +cmdkey /delete:TERMSRV/192.168.10.10 \ No newline at end of file diff --git a/shortcuts/shortcuts-osohormiguero.ahk b/shortcuts/shortcuts-osohormiguero.ahk new file mode 100644 index 0000000..fd282b8 --- /dev/null +++ b/shortcuts/shortcuts-osohormiguero.ahk @@ -0,0 +1,19 @@ +#+v:: +Run "..\\rdp\\Vincent.bat" +return + +#+c:: +Run "..\\rdp\\Cube.bat" +return + +^+":: +Send {U+00AB}{Space}{Space}{U+00BB}{Left}{Left} + +RunWaitOne(command) { + ; WshShell object: http://msdn.microsoft.com/en-us/library/aew9yb99 + shell := ComObjCreate("WScript.Shell") + ; Execute a single command via cmd.exe + exec := shell.Exec(ComSpec " /C " command) + ; Read and return the command's output + return exec.StdOut.ReadAll() +} \ No newline at end of file -- 2.39.5