Misc

If private RSA is found and a password then ssh

openssl rsa -in hype_key.rsa -out hype_key_decrypted.rsa

Connecting SSH in different way

ssh -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" learner@192.168.50.52

powershell Base64

$Text = ‘This is a secret and should be hidden’
$Bytes = [System.Text.Encoding]::Unicode.GetBytes($Text)
$EncodedText =[Convert]::ToBase64String($Bytes)
$EncodedText

Last updated