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
#!/usr/bin/env bash | |
# @UmbrielSecurity | |
# OpenSSL requires the port number. | |
if [ ! -z $1 ]; then | |
SERVER=$1 | |
else | |
echo Usage: ./scan-ciphers.sh HOSTNAME:PORT | |
exit | |
fi |
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 | |
# register the RHN satellite server | |
# @UmbrielSecurity | |
ACTIVATION_KEY="X-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" | |
SATELLITE_SERVER="satellite.example.com" | |
TOOLCHECK=0 | |
# Validate necessary tools | |
echo Ensuring we have the necessary tools... |
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 | |
# Tool declarations, modify as needed. | |
AWK="/usr/bin/awk" | |
CAT="/bin/cat" | |
COMM="/usr/bin/comm" | |
CUT="/usr/bin/cut" | |
DATE=`/bin/date +%Y/%m/%d` | |
DD="/bin/dd" | |
GREP="/bin/grep" |
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
# Quick and dirty Hotfix and Windows Updates | |
# | |
# UmbrielSecurity | |
Function Get-MSHotfix | |
{ | |
$outputs = Invoke-Expression "wmic qfe list" | |
$Session = New-Object -ComObject "Microsoft.Update.Session" | |
$Searcher = $Session.CreateUpdateSearcher() |