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
# Define the list of domains to test | |
$domains = @("google.com", "simeononsecurity.com", "github.com") | |
# Define a list of public DNS servers, including those with ad and tracker blocking, and major ISPs | |
$dnsServers = @{ | |
"Google" = @("8.8.8.8", "8.8.4.4") | |
"Control D" = @("76.76.2.0", "76.76.10.0") | |
"Quad9" = @("9.9.9.9", "149.112.112.112") | |
"OpenDNS Home" = @("208.67.222.222", "208.67.220.220") | |
"Cloudflare" = @("1.1.1.1", "1.0.0.1") |
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
server: | |
########################################################################### | |
# BASIC SETTINGS | |
########################################################################### | |
# Time to live maximum for RRsets and messages in the cache. If the maximum | |
# kicks in, responses to clients still get decrementing TTLs based on the | |
# original (larger) values. When the internal TTL expires, the cache item | |
# has expired. Can be set lower to force the resolver to query for data | |
# often, and not trust (very large) TTL values. | |
cache-max-ttl: 86400 |
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
<# examples: | |
# generate a baseline policy. | |
powershell.exe -file applocker.ps1 -baseline -output c:\policies\baseline.xml | |
# generate an application-specific policy. | |
powershell.exe -file applocker.ps1 -application -in c:\policies\baseline.xml -out c:\policies\application.xml | |
# generate an adhoc policy. | |
powershell.exe -file applocker.ps1 -adhoc -in c:\path -filter *.* -out c:\policies\adhoc.xml |
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
## Disable the server signature | |
ServerSignature Off | |
## protect against DOS attacks by limiting file upload size - 10240000 is 10 megabytes | |
LimitRequestBody 10240000 | |
## pass the default character set | |
AddDefaultCharset utf-8 | |
## Deny Access to these protected file extensions |