Created
May 8, 2017 00:27
-
-
Save nicholasmckinney/97d6aa2a6cf5493d78d9f47b982a81aa to your computer and use it in GitHub Desktop.
Encrypt Random Shit with aspnet_regiis.exe
This file contains 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
<?xml version="1.0" encoding="utf-8" ?> | |
<configuration> | |
<!-- Encrypt Element -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -pef "secretStuff" "C:\Tools" --> | |
<!-- Decrypt Element -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -pdf "secretStuff" "C:\Tools" --> | |
<!-- See https://msdn.microsoft.com/en-us/library/2w117ede.aspx --> | |
<!-- Example by @subTee --> | |
<connectionStrings> | |
<add name="constr" connectionString="blah" /> | |
</connectionStrings> | |
<system.web> | |
<compilation debug="true" targetFramework="4.0" /> | |
</system.web> | |
<secretStuff> | |
<!-- Random stuffblahdeblahblah --> | |
<element name="RandomShitMaybeBase64encodedThings" /> | |
</secretStuff> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment