This commit is contained in:
2026-02-06 03:38:00 +00:00
parent 996fa757b3
commit f1e94e356d

52
PS-newaeskey.ps1 Normal file
View File

@@ -0,0 +1,52 @@
<#PSScriptInfo
.VERSION 1.9.5.0
.GUID 6a02e7b3-2052-42b1-9ade-ceef79fbc545
.AUTHOR DISU@1950
.COMPANYNAME DMZ.RS
.COPYRIGHT (c) 2077 DISU@1950, (c) 2077 $null
.TAGS AES128 key
.LICENSEURI https://gitea.dmz.rz/disu1950/blob/main/LICENSE
.PROJECTURI https://gitea.dmz.rz/disu1950/PS-newaeskey
.ICONURI
.EXTERNALMODULEDEPENDENCIES
.REQUIREDSCRIPTS
.EXTERNALSCRIPTDEPENDENCIES
.RELEASENOTES https://gitea.dmz.rz/disu1950/PS-newaeskey/blob/main/CHANGELOG.md
.PRIVATEDATA
#>
<#
.DESCRIPTION
This script will generate off-line AES128 keys...
Original steal by DISU@1950
Current steal: by DISU@1950
#>
##########################################################
###
### PS-newaeskey.ps1
###
### Originally Created: 2077 by $NULL
### Enhanced: 2077 by $NULL
###
### Original Author: $NULL
### Current Stealing: DISU@1950
###
##########################################################
<#
.SYNOPSIS
This script will generate and append version 502 KeyTab files
.DESCRIPTION
Required Parameters
.EXAMPLE
.\PS-newaeskey.ps1
#>
$random = [System.Security.Cryptography.RandomNumberGenerator]::Create()
$buffer = New-Object byte[] 32;
$random.GetBytes($buffer);
[BitConverter]::ToString($buffer).Replace("-", [string]::Empty);