15 lines
6.4 KiB
PowerShell
15 lines
6.4 KiB
PowerShell
|
$idletime = $null
|
|||
|
Function Get-IdleTime {
|
|||
|
|
|||
|
if ($idletime -ne "TRUE") {
|
|||
|
$script:idletime = "TRUE"
|
|||
|
echo "Loading Assembly"
|
|||
|
$PS = "TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAABQRQAATAEDAG4GsVoAAAAAAAAAAOAAIiALATAAAAoAAAAGAAAAAAAAbikAAAAgAAAAQAAAAAAAEAAgAAAAAgAABAAAAAAAAAAEAAAAAAAAAACAAAAAAgAAAAAAAAMAQIUAABAAABAAAAAAEAAAEAAAAAAAABAAAAAAAAAAAAAAABwpAABPAAAAAEAAAFgDAAAAAAAAAAAAAAAAAAAAAAAAAGAAAAwAAADkJwAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAACAAAAAAAAAAAAAAACCAAAEgAAAAAAAAAAAAAAC50ZXh0AAAAdAkAAAAgAAAACgAAAAIAAAAAAAAAAAAAAAAAACAAAGAucnNyYwAAAFgDAAAAQAAAAAQAAAAMAAAAAAAAAAAAAAAAAABAAABALnJlbG9jAAAMAAAAAGAAAAACAAAAEAAAAAAAAAAAAAAAAAAAQAAAQgAAAAAAAAAAAAAAAAAAAABQKQAAAAAAAEgAAAACAAUA3CAAAAgHAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABMwAgAjAAAAAQAAESgOAAAKCxIBKA8AAAplbCgQAAAKChIAKAQAAAZsKBAAAAoqABMwAgATAAAAAgAAESgOAAAKChIAKAIAAAYoEQAACioAEzACAC0AAAADAAAREgD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)
|
|||
|
$assembly = [System.Reflection.Assembly]::Load($dllbytes)
|
|||
|
}
|
|||
|
|
|||
|
Write-Output ("Last input " + [UserInput]::LastInput) | out-string
|
|||
|
Write-Output ("Idle for " + [UserInput]::IdleTime) | out-string
|
|||
|
|
|||
|
}
|