MappingEncrypt.psd1
|
@{ RootModule = 'MappingEncrypt.psm1' ModuleVersion = '0.2.2' GUID = 'da609008-476d-46bb-af17-4a440499061d' Author = 'MD Faisal Qureshi' CompanyName = 'MD Faisal Qureshi' Copyright = '(c) 2024 MD Faisal Qureshi. All rights reserved.' Description = 'A custom character encoding module for encrypting PowerShell scripts. PowerShell port of the mapping-encrypt package; uses the same private Cloudflare mapping worker.' PowerShellVersion = '5.1' FunctionsToExport = @( 'ConvertTo-MappingEncoded', 'ConvertFrom-MappingEncoded', 'Protect-MappingScript', 'Unprotect-MappingScript', 'Invoke-MappingPackage' ) CmdletsToExport = @() VariablesToExport = @() AliasesToExport = @('mapping-encode', 'mapping-decode') PrivateData = @{ PSData = @{ Tags = @('encoding', 'encryption', 'obfuscation', 'mapping', 'cloudflare', 'protect') LicenseUri = 'https://github.com/mfq2412/Mapping/blob/main/LICENSE' ProjectUri = 'https://github.com/mfq2412/Mapping' ReleaseNotes = @' Encode/decode PowerShell scripts via the shared private Cloudflare mapping worker. USAGE Install-Module MappingEncrypt # Encode a script file into a self-decoding stub: mapping-encode .\my_script.ps1 -o .\encrypted.ps1 # Run the encoded script (it decodes itself at runtime): pwsh .\encrypted.ps1 # Decode an encrypted script back to source: mapping-decode .\encrypted.ps1 # String-level helpers: $enc = ConvertTo-MappingEncoded -Text 'Write-Host "hi"' $dec = ConvertFrom-MappingEncoded -EncodedString $enc '@ } } } |