-
-
Save jesusninoc/6a3bf8419895396b4a323c97bddd4958 to your computer and use it in GitHub Desktop.
Monitor Mayhem - Test if users are likely to report a possible malfunction or compromise with physical symptoms
This file contains hidden or 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
# By @M3T4L5T3F | |
# Change values to different experience. Works on laptops. Future update will add desktop monitor support | |
$i=0 | |
While ($true) | |
{ | |
$i++ | |
$brightness = Get-Random -Maximum 25 | |
$delay = 0 | |
$myMonitor = Get-WmiObject -Namespace root\wmi -Class WmiMonitorBrightnessMethods | |
$myMonitor.wmisetbrightness($delay, $brightness) | |
$sleep = Get-Random -Maximum 4 | |
Start-Sleep -s $sleep | |
$brightness = 101 | |
$delay = 5000 | |
$myMonitor.wmisetbrightness($delay, $brightness) | |
if ($i -gt 1337) { | |
Break | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment