feat: add administrative and deployment scripts for infrastructure management
This commit is contained in:
13
scripts/find_dns_files.py
Normal file
13
scripts/find_dns_files.py
Normal file
@@ -0,0 +1,13 @@
|
||||
import os
|
||||
import glob
|
||||
|
||||
matches = []
|
||||
for root, dirs, files in os.walk(r"c:\Users\Snarf\OneDrive\Desktop\code\SnarfCode"):
|
||||
if ".git" in root: continue
|
||||
for f in files:
|
||||
low = f.lower()
|
||||
if any(k in low for k in ["pihole", "technitium", "dns", "unbound", "honeypot", "firewall", "vlan", "network"]):
|
||||
matches.append(os.path.join(root, f))
|
||||
|
||||
for m in matches[:30]:
|
||||
print(m)
|
||||
Reference in New Issue
Block a user