News

Technical notes, AD pentest methodology, list of tools, scripts and Windows commands that I find useful during internal penetration tests - Paw0n/Windows-Penetration-Testing ...
Loops are an essential part of any programming language, and PowerShell looping is no exception. Loops allow you to repeat a block of code multiple times, which can be useful for a wide range of tasks ...
I use this script with Sleep-On-LAN to remotely shut my Windows machine down. This script will provide the same shutdown reasons as shutdown.exe when no reason parameter is passed. If this bothers you ...
It turns out to be related to the -match comparison operator. -Match performs a regular expression comparison. A simple way of thinking about regular expressions is that they “describe” the patterns ...