ps.1
This commit is contained in:
52
PS-newaeskey.ps1
Normal file
52
PS-newaeskey.ps1
Normal 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);
|
||||
|
||||
Reference in New Issue
Block a user