-
Recent Posts
Recent Comments
Archives
Categories
Meta
Tag Archives: VBScript
How to use fail2ban with Terminal Servers (RDSH) farm
We are using haproxy for token redirected load balancing of a Remote Desktop Session Hosts farm and because the farm is exposed on the default RDP port (3389) it is subjected to constant brute-force attacks. These attacks besides being a … Continue reading
Implementing preg_replace in VBScript
Here are a couple of wrapper VBScript functions that make using script’s built-in RegExp class similar to PHP’s preg_xxx family of functions. First a private helper function to initialize an instance of RegExp: This enables optionally to set flags of … Continue reading