Monthly Archives: October 2016

Removing Integrity Check from a Setup.exe

We had an executable installer that had a forced reboot and no option to remove it via command line. We wanted to run it through a task sequence and allow the task sequence to handle the reboot. Following the process … Continue reading

Posted in Hack, Hacking, IDA | Leave a comment

Misleading PowerShell Exceptions–Example #1

In PowerShell 5.0 on Windows 10 was looking at a script with function not working: The exception thrown by Powershell was: You cannot call a method on a null-valued expression.At C:\Users\chentiangemalc\Documents\Scripts\Test.ps1:5 char:9+     if ([System.String]::IsNullOrWhiteSpace($condition))+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    + CategoryInfo          : InvalidOperation: (:) … Continue reading

Posted in Debugging, PowerShell | Tagged | Leave a comment

Check Validity and Download SSL Certs in PowerShell

Little utility I made to check a list of URLs, their SSL certs, including any URLs they redirect to. The entire certificate chain for each host is also downloaded into %temp%\SslCerts folder Script source files can be downloaded here: https://1drv.ms/u/s!Aj0HCnRwyKPhge1bfpIYIlTJ6IugVQContinue reading

Posted in .NET, PowerShell | Tagged , | Leave a comment