-
-
Save DanielRTeixeira/1031d1a52f8216367ef3188a61d5716c to your computer and use it in GitHub Desktop.
Encrypt Random Shit with aspnet_regiis.exe
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
<?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