Windows VBS script to backup Desktop and Laptop PROS AND CONS -No delta backup / no incremental (but robocopy only copy files changed) -No encryption (but only the user has access to its folder, check setACL function) -No compression (Could […]
Fix KB2823324
Microsoft BUG So my old laptop just got updated with a MS destruction patch KB2823324 ! Here is how to fix it 1. boot into Repair Mode, then cmd. Boot and press F8 key 2. Get packages name: dism /image:C:\ […]
Cluster MS Check
Another nagios/bash script that verifies if a cluster has performed a failover. This one is used for any microsoft cluster. #!/bin/bash # 2008-07-23 Nereu # edit: Felipe Ferreira 01-2010 TMPDIR=/usr/local/nagios/var PLGDIR=/usr/local/nagios/libexec OK=0 WARN=1 CRIT=2 UNKN=3 if [ “$#” -ne 3 […]
Pass-the-hash from memory
This is the most impressive and scariest hack I ever seen. The tool called WCE, Windows Credential Editor can get any password from a Windows box, from memory! So even if you login in the server 3months ago, the hack […]
script to check event viewer
I have written similar script to check for a single server but this time it scans a list of server. It still not integrated with nagios because of the time it takes to execute such script. It does requires 7z.exe […]
nagios check events
This is a much usefull plugin that can verify the Windows Event Viewer via nagios remote check I tested using the NC_NET on Windows 2003 and 2000. There is one tweek that needs to be done for it to work […]
Check how many users in a group
Nagios plugin to Check how many users in a group check_group.vbs This script verifies if the number of users in a particular group changes. The output in debug mode Example: c:Program Files (x86)Nc_netscript>cscript.exe //nologo C:PROGRA~2NC_Netscr iptcheck_group.vbs -g CN=Domain Admins,CN=Users -u […]