Author

Rich

Just another IT guy.

Cacti Dell R750 iDRAC Temperature

June 12, 2023

I've setup a template to monitor a Dell R750 server via configured SNMP access on iDRAC. My server has only two CPU (Intel Xeon Gold 6338N). I did…

PHP real-time system command output

June 12, 2023

Throwing some notes here for me to remember on having PHP not buffer the output of a long running process so that it provides realtime output to the…

A Port Scanner in C

June 9, 2023

The following port scanner C code checks approximately 65535 ports in about 15 seconds on-network. #include <stdio.h> #include <stdlib.h> #include <netinet/in.h> #include <string.h> #include <sys/socket.h> #include <arpa/inet.h> #include…

A BOFH Generator in C

June 9, 2023

// gcc bofh.c -o bofh #include <stdio.h> #include <stdlib.h> #include <time.h> #define NUM_QUOTES 10 const char* bofh_quotes[NUM_QUOTES] = { "No, my powers can only be used for good.",…

Change Windows network share permissions from command line

June 7, 2023

Grant-SmbShareAccess -Name ShareName -AccountName Administrators -AccessRight Full -ForceGrant-SmbShareAccess -Name "Brother DW2710 series" -AccountName Everyone -AccessRight Change -Force It appears that there is no pre-existing command line tool for…

Rename Windows Domain

March 26, 2023

The following procedure shows you how to rename an Active Directory domain.