Update: I made this a proper blog post
- linux box
| <?php | |
| /** | |
| * LDAP PHP Change Password Webpage | |
| * @author: Matt Rude <http://mattrude.com> | |
| * @website: http://technology.mattrude.com/2010/11/ldap-php-change-password-webpage/ | |
| * | |
| * | |
| * GNU GENERAL PUBLIC LICENSE | |
| * Version 2, June 1991 |
| #!/bin/bash | |
| #!/bin/bash | |
| #Utility to log into the RunDeck server and store cookie file for later use | |
| errorMsg() { | |
| echo "$*" 1>&2 | |
| } |
| import sys | |
| import colorsys | |
| from colorz import colorz | |
| WALLPAPER = '/home/james/.wallpaper' | |
| COLORS = '/home/james/.colors' | |
| XRESOURCES = '/home/james/.Xresources' | |
| cols = '' | |
| xres = """ |
| function 4chan() { | |
| if [[ $# -ne 1 ]] | |
| then | |
| echo 'No URL specified! Give the URL to the thread as the ONLY argument' | |
| return 1 | |
| fi | |
| # This should look something like: g/thread/73097964 | |
| urlPrimative=$(grep -o '[0-9a-zA-Z]\{1,4\}/thread/[0-9]*' <<< $1) | |
Update: I made this a proper blog post
| #!/bin/sh | |
| # Zenoss JSON API Shell / Bash script | |
| # Link: https://gist.github.com/8399651 | |
| # Resources | |
| # http://wiki.zenoss.org/Working_with_the_JSON_API | |
| # https://gist.github.com/cluther/1901884 | |
| # http://blog.remibergsma.com/2013/04/26/automatically-adding-and-editing-devices-in-zenoss-core-4-using-the-api |
| local nmap = require "nmap" | |
| local shortport = require "shortport" | |
| local stdnse = require "stdnse" | |
| local bin = require "bin" | |
| local tls = require "tls" | |
| description = [[ | |
| Checks for server support of the Extended Random TLS extension, which was | |
| allegedly created to make exploitation of the Dual EC DRBG weakness easier. The | |
| extension was never widely adopted, and IANA did not assign an ExtensionType |
| #!/bin/bash | |
| if [ "$1" == "-h" ] || [ "$1" == "--help" ] || [ "$1" == "" ]; then | |
| echo "Usage: $(basename $0) n command" | |
| echo "Execute command n times or until it succeeds (exit code 0)." | |
| exit $([ $1 ] || echo 1) | |
| fi | |
| control_c() { | |
| echo "$(tput setaf 1)Killing process per user request.$(tput sgr0)" |
| #!/bin/bash | |
| USERNAME=<username> | |
| PASSWORD=<password> | |
| INSTANCE="<company>.atlassian.net" | |
| LOCATION="./Backups/" | |
| mkdir "Backups" | |
| # Grabs cookies and generates the backup on the UI. |