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
#!/usr/bin/env python3 | |
from argparse import ArgumentParser | |
from binascii import unhexlify, hexlify | |
import json | |
from impacket.krb5.constants import EncryptionTypes | |
from impacket.krb5.crypto import string_to_key | |
# source: https://snovvcrash.rocks/2021/05/21/calculating-kerberos-keys.html | |
# usage: ./impacket-aeskey.py -d corp.local -c srv01 -p 8bd8406a... |
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
# Allow executing CMD scripts | |
function Invoke-CmdScript { | |
param( | |
[String] $scriptName | |
) | |
$cmdLine = """$scriptName"" $args & set" | |
& $Env:SystemRoot\system32\cmd.exe /c $cmdLine | | |
select-string '^([^=]*)=(.*)$' | foreach-object { | |
$varName = $_.Matches[0].Groups[1].Value | |
$varValue = $_.Matches[0].Groups[2].Value |
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
NVIDIA Driver Version: 522.25 CUDA Version: 11.8 | |
Credit: blazer | |
For benchmarking the card and allowing me to release the benchmarks here | |
The hashcat installation used includes a change to the tuning ALIAS.hctune file to include the RTX 4090 as "ALIAS_nv_sm50_or_higher". | |
The "Kernel exec timeout" warning is cosmetic and does not affect the speed of any of the benchmarked modes. | |
Benchmark was run at stock clocks on an Asus Strix 4090. | |