Configure HKPK on Apache

What is HKPK The Wikipedia explanation is the following: HTTP Public Key Pinning (HPKP),[1] sometimes incorrectly known as certificate pinning, is a security mechanism which allows HTTPS websites to resist impersonation by attackers using mis-issued or otherwise fraudulent certificates. For…

Fake update screens

Funny site before the weekend about fake update screens: fakeupdate Prank your friends and colleagues with fake update screens! Press F11 to go fullscreen Press ENTER to cause a BSOD You have the choice between the following operating systems: Windows…

Replace string in file with sed

Some useful scenarios to use sed to replace string in file found here Replacing all occurrences of one string with another in all files in the current directory: These are for cases where you know that the directory contains only…

Restrict a group’s rights to a specific command with sudo

Wikipedia sudo is a program for Unix-like computer operating systems that allows users to run programs with the security privileges of another user, by default the superuser. It originally stood for “superuser do” as the older versions of sudo were…

List DNS conditional forwarders Active Directory forest wide

With this simple script, you will be able to retrieve the DNS conditional forwarder settings in all the domain controllers in the forest. To get the list of the domain controllers in the Active Directory forest, the cmdlet get-adforest is…

Visualize global weather conditions

Great project to visualize global weather conditions using node.js You can access the demo of this project by clicking the image below: The project can be used and installed as shown below:

Launch the webserver:

Go to the…

How to count the mailboxes on each Exchange store

This script counts the number of mailboxes on each Exchange store Script :

Reference Get-MailboxDatabase This cmdlet is available only in on-premises Exchange Server 2013. Use the Get-MailboxDatabase cmdlet to retrieve one or more mailbox database objects from a…

Get statistics on Microsoft Exchange databases

This script gets the following Exchange database statistics : Server name Database name The last full backup The number of mailboxes The database size The average mailbox size The database whitespace Script :

Reference Get-MailboxStatistics This cmdlet is available…

Get the cluster quorum type

Microsoft Clusters can be managed using Powershell cmdlets. To get a specific information on the cluster like the quorum type, this cmdlet can help:

Reference Get-ClusterQuorum   Syntax

InputObject Cluster   Detailed Description The quorum configuration in a…

Understand what your web browser knows about you

Robin Linus has written a webpage called webkay that will open your eyes and make you understand what your (and every) web browser knows about you. This is a demonstration of all the data your browser knows about you. All…