View FireWatch.ps1
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
#Requires -Module NetSecurity | |
#Requires -RunAsAdministrator | |
$Rules = @{ | |
"NA West" = @( | |
"24.105.8.0/21" | |
); | |
"NA East" = @( | |
"24.105.40.0/21" | |
); |
View rawprinttest.py
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
import win32print | |
import sys | |
from pathlib import Path | |
# Python 3 only.. | |
if sys.version_info[0] < 3: | |
raise Exception("Python 3 or a more recent version is required.") | |
printers = win32print.EnumPrinters(4) | |
printercount = 0 |
View make-kiosk.sh
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
#!/bin/bash | |
# Lockdown script for Scientific Linux and CentOS (version 7) | |
# Created using Scientific Linux | |
# Wasn't made and never tested on different distros than CentOS! | |
# Version 1.4 for i386 and x86_64 | |
# | |
# To download on fresh machine using shortened url, use $ curl -O lockdown.sh -J -L $shortUrl | |
# | |
# BASED ON KIOSK GENERATOR BY MARCIN WILK |