Skip to content

Instantly share code, notes, and snippets.

View nikitacontreras's full-sized avatar
🕳️
mental v01d

Nicolás Contreras nikitacontreras

🕳️
mental v01d
View GitHub Profile
@edgardo001
edgardo001 / Instalar OpenSSH Server en Windows 10 y Windows Server.txt
Created December 27, 2018 18:31
Instalar OpenSSH Server en Windows 10 y Windows Server
NOTA: Ejecutar comandos sobre POWERSHELL con permisos de Administrador.
OpenSSH está incluido con Windows 10, Actualización 1803.
#Verificando las caracteristicas
$> Get-WindowsCapability -Online | Where-Object -Property Name -Like "OpenSSH*"
Name : OpenSSH.Client~~~~0.0.1.0
State : Installed
Name : OpenSSH.Server~~~~0.0.1.0
State : NotPresent
@atifaziz
atifaziz / Unprotect-ProtectedData.ps1
Created March 31, 2017 06:25
Decrypting DPAPI-protected Base64 data from PowerShell
Add-Type -AssemblyName System.Security;
[Text.Encoding]::ASCII.GetString([Security.Cryptography.ProtectedData]::Unprotect([Convert]::FromBase64String((type -raw (Join-Path $env:USERPROFILE foobar))), $null, 'CurrentUser'))