Active Directory userAccountControl flags

I was creating an Active Directory (AD) security auditing tool in Go and Python when I stumbled upon the UserAccountControl flags. This attribute can hold multiple statuses like ACCOUNTDISABLE, NORMAL_ACCOUNT, or DONT_EXPIRE_PASSWORD. It uses a bit-field; a bit-field is a group of bits with each bit representing a value. It is an efficient way of handling multiple statues of […]

Continue Reading…

Map of Ubuntu and Debian base

Ubuntu Code Name Debian 21.04 Hirsute Hippo Bullseye 11 20.10 Groovy Gorilla Bullseye 11 20.04 LTS Focal Fossa Bullseye 11 19.10 Eoan Ermine Buster 10 19.04 Disco Dingo Buster 10 18.10 Cosmic Cuttlefish Buster 10 18.04 LTS Bionic Beaver Buster 10 17.10 Artful Aardvark Stretch 9 17.04 Zesty Zapus Stretch 9 16.10 Yakkety Yak Stretch […]

Continue Reading…

Setup Static IP Address in Debian Linux

Setting up static IP address in Debian Linux is easy. In this simple guide, I will be configuring the IP address using the old way (ifconfig) and requires that you have system administration rights to do the following steps: Open the network interface file with the following command: sudo vi /etc/network/interfaces Once opened you might […]

Continue Reading…

Allow user or group to run sudo on specific applications in Linux

In some situation, we may want to delegate a sudo capability to Linux users or groups without completely giving them full access to the operating system. We can achieve this by using User_Alias inside the /etc/sudoers configuration file. I will share the simple settings that I used in my RHEL server. The configuration before handles […]

Continue Reading…

Click Counter in React and Vue.js

This post is part of my React and Vue.js code by example series. My objective is to help developers with their transition in learning React to Vue.js or vice versa. This is not a comparison of which one is the best but rather to show how it is done. Let’s get started. Knowing how to […]

Continue Reading…

Remove source path from Go’s panic stack trace

I would like to share the Golang’s build flag to remove the source path (GOPATH) from panic stack trace output. In production environments or commercial projects it is sometimes not ideal to display the source path because of privacy, security or other reasons. Below is an example of a stack trace output that reveals the […]

Continue Reading…