Skip to content

Instantly share code, notes, and snippets.

View webash's full-sized avatar

Ashley webash

View GitHub Profile
@webash
webash / ssh_fprint.sh
Last active April 22, 2020 09:42
Print table of all sshd HostKeys
#!/bin/bash
# server_ssh_fingerprints
# Extracted from: https://superuser.com/questions/929566/sha256-ssh-fingerprint-given-by-the-client-but-only-md5-fingerprint-known-for-se
#
# Version 0.3
#
# 2016 Kepi <kepi@igloonet.cz
# MIT License
#
# Print fingerprint matrix for all allowed Host Keys
@webash
webash / OrphanAdminSDHolder.ps1
Last active July 16, 2021 15:17
Detect and correct orphaned 'adminCount=1' users who are no longer in protected groups
<#
.SYNOPSIS
Detects Orphaned SD Admin users, resets admin count attribute and enables inheritable permissions
.Author
Alan.McBurney (+ Ashley Steel)
THIS CODE IS MADE AVAILABLE AS IS, WITHOUT WARRANTY OF ANY KIND. THE ENTIRE
RISK OF THE USE OR THE RESULTS FROM THE USE OF THIS CODE REMAINS WITH THE USER.
@webash
webash / Install-WindowsUpdateStandalonePackage.ps1
Created February 25, 2017 14:24
Sequentially installs standalone Windows Update packages (.msu)
<#
#>
@webash
webash / keybase.md
Last active February 21, 2017 23:26

Keybase proof

I hereby claim:

  • I am webash on github.
  • I am webash (https://keybase.io/webash) on keybase.
  • I have a public key ASCU8rfW314eTNbfGTvBPxAxJzzHzialbAH26OzS9KPXAwo

To claim this, I am signing this object: