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/sh | |
start='18:00:00' | |
early_end='19:00:00' | |
end='08:30:00' | |
ssid='KIDZ' | |
pass='KidsAreCool' | |
allowip() { | |
rule=$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
# Step 1: Set priveleges | |
$ sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -allowAccessFor -allUsers -privs -all | |
Starting... | |
Setting allow all users to YES. | |
Setting all users privileges to 1073742079. | |
Done. | |
# Step 2: Allow VNC clients |
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
c=createComboBox(MainForm.gbScanOptions) | |
c.Style='csDropDownList' | |
c.Items.add('All') | |
c.ItemIndex=0 | |
c.Align=alTop | |
c.BorderSpacing.Left=6 | |
c.BorderSpacing.Right=6 |
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 | |
# change the mac | |
wan1="eth1.2" | |
wan2="eth1" | |
/sbin/ifconfig $wan1 down | |
/sbin/ifconfig $wan2 down |
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
echo "" | |
echo "Apple OS X ShellShock BASH Fix Script" | |
echo "---------------------------------------------------------" | |
echo "Version : 20140926-2" | |
echo "Maintainer : T.Veluwenkamp <contact@timveluwenkamp.eu>" | |
echo "Copyright : Copyright (C) 2014 T.Veluwenkamp" | |
echo "---------------------------------------------------------" | |
echo "" | |
echo "Making TEMP dir to recompile BASH in..." | |
mkdir bash-fix |
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
# shellshock upgrade & patch for Mac OSX | |
# OSX ships with a horribly old version of bash (3.2) which is vulnerable to | |
# the Shellshock exploit (CVE-2014-6271) | |
# We use homebrew to get a recent version of bash, then symlink it to | |
# /bin/bash and /bin/sh (because sh is really bash) | |
# | |
# Use this to see if you're vulnerable | |
# env X="() { :;} ; echo vulnerable" /bin/bash -c "echo testing" | |
brew update && brew install bash |
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 sh | |
URL="https://api.pushover.net/1/messages.json" | |
API_KEY="" | |
USER_KEY="" | |
DEVICE="" | |
TITLE="${1}" | |
MESSAGE="${2}" |
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/perl | |
# This script will download and install the latest wine compatible version | |
# of the IMVUClient | |
# Be strict to avoid messy code | |
use strict; | |
# Use FindBin module to get script directory | |
use FindBin; |
NewerOlder