Skip to content

Instantly share code, notes, and snippets.

View ljwobker's full-sized avatar

LJ Wobker ljwobker

  • United States
View GitHub Profile
@ljwobker
ljwobker / ModernStandbyWorkaround_Task.xml
Created November 11, 2025 23:08 — forked from LeoDJ/ModernStandbyWorkaround_Task.xml
Workaround for Windows Modern Standby waking up all the damn time by simply putting it back to sleep if it wakes up for the wrong reason
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<RegistrationInfo>
<Date>2024-05-13T03:03:36.8710082</Date>
<Author>LEO-FW16\LeoDJ</Author>
<URI>\ModernStandbyWorkaround</URI>
</RegistrationInfo>
<Triggers>
<EventTrigger>
<Enabled>true</Enabled>
#!/usr/bin/env python3
rules = {
# 'pinhole name/comment' : [outside_port, protocol, inside_host, inside_port]
'Joe web server' : ['80' , 'tcp', '192.168.1.35', '80' ],
'trusted inside SSH' : ['1999' , 'tcp', '192.168.1.40', '22' ],
}
inside_subnet = '192.168.15.0/24'