Last active
September 28, 2018 04:43
-
-
Save matthewbelisle-wf/9f5acebcb3e9935a8850b9737fa870ae to your computer and use it in GitHub Desktop.
NetWars
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$File = "securestring.txt"; $Key = [byte]1..16; $Password = Get-Content $File | ConvertTo-SecureString -Key $Key | |
$BSTR = [System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($Password); $UnsecurePassword = [System.Runtime.InteropServices.Marshal]::PtrToStringAuto($BSTR); Write-Host $UnsecurePassword |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 6 4 9 2 d 1 1 1 6 7 4 3 f 0 4 2 3 4 1 3 b 1 6 0 5 0 a 5 3 4 5 M g B 8 A E 0 A T A B h A E E A O Q B 6 A H I A M Q B y A H U A W g B i A G o A S Q A 2 A E k A d g B q A D g A b Q B B A H c A P Q A 9 A H w A M g A z A D k A N A A 5 A D Y A Y Q A z A D A A M g B h A G Q A Y g B k A D g A Y g B k A G I A Z g A 5 A G E A M g B h A D A A M A B j A D Y A M Q B j A D E A O A B m A G Y A Y w A x A D U A Y w A 4 A G Q A M Q B m A G U A M A A 2 A D Y A M Q A y A G Y A M Q A y A G E A N g B m A D A A Z A B i A G I A M Q A 1 A D c A N Q A z A D U A Z g A = |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment