Skip to content

Instantly share code, notes, and snippets.

Scott Miller scottlinux

Block or report user

Report or block scottlinux

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@scottlinux
scottlinux / breachcompilation.txt
Created Dec 19, 2017
1.4 billion password breach compilation wordlist
View breachcompilation.txt
wordlist created from original 41G stash via:
grep -rohP '(?<=:).*$' | uniq > breachcompilation.txt
Then, compressed with:
7z a breachcompilation.txt.7z breachcompilation.txt
Size:
View convertCentOS7toRHEL7.sh
#!/bin/sh
showHelp() {
cat <<EOF
This script requires 2 or 3 arguments exactly.
"${0}" <redhat username> <redhat password> [<redhat release>]
examples:
"${0}" user1 passw0rd! 7Server
"${0}" user2 pAssw@rd
By default the omission of the release version will default to 7Server being set.
@scottlinux
scottlinux / bucketcopy.sh
Created Apr 13, 2017
Copy list of AWS S3 buckets into one S3 bucket
View bucketcopy.sh
#!/usr/bin/env bash
# Copy contents of many s3 buckets into a single
# archive bucket
#
# Run via an ec2 instance
set -e
set +x
@scottlinux
scottlinux / keepass2john.py
Created Feb 23, 2017 — forked from HarmJ0y/keepass2john.py
Python port of John the Ripper's keepass2john - extracts a HashCat/john crackable hash from KeePass 1.x/2.X databases
View keepass2john.py
#!/usr/bin/python
# Python port of keepass2john from the John the Ripper suite (http://www.openwall.com/john/)
# ./keepass2john.c was written by Dhiru Kholia <dhiru.kholia at gmail.com> in March of 2012
# ./keepass2john.c was released under the GNU General Public License
# source keepass2john.c source code from: http://fossies.org/linux/john/src/keepass2john.c
#
# Python port by @harmj0y, GNU General Public License
#
@scottlinux
scottlinux / config.txt
Created Jul 10, 2016
Raspberry Pi 3 overclock
View config.txt
# Pi3 overclock! https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=138123
gpu_mem=16 # set as desired
dtparam=sd_overclock=100
arm_freq=1300
core_freq=500
over_voltage=4
sdram_freq=575
sdram_schmoo=0x02000020
over_voltage_sdram_p=6
over_voltage_sdram_i=4
@scottlinux
scottlinux / config.txt
Created Jun 11, 2016
Raspberry Pi 2 overclock settings
View config.txt
gpu_mem=16
arm_freq=1000
sdram_freq=500
core_freq=500
over_voltage=2
temp_limit=80
initial_turbo = 30
@scottlinux
scottlinux / gcbackup
Last active Apr 24, 2016
Google Cloud Nearline Backup Script
View gcbackup
#!/usr/bin/env bash
#
# Backup selected directories to a GoogleCloud Nearline bucket
#
# Example daily cron:
# @daily /usr/local/bin/gcbackup >/dev/null
#
# Directories to backup to the cloud
dir=( "/home/stmiller/Documents" "/home/stmiller/Music" \
@scottlinux
scottlinux / cpustatus.sh
Last active Mar 7, 2016 — forked from ecampidoglio/cpustatus.sh
A Bash script that prints the current state of the CPU on a Raspberry Pi. It displays variables like temperature, voltage and speed. (Modified for Arch Linux Arm)
View cpustatus.sh
#!/bin/bash
# cpustatus
#
# Prints the current state of the CPU like temperature, voltage and speed.
# The temperature is reported in degrees Celsius (C) while
# the CPU speed is calculated in megahertz (MHz).
function convert_to_MHz {
let value=$1/1000
echo "$value"
@scottlinux
scottlinux / backblaze b2 backup script
Last active Nov 6, 2019
Backup script for backblaze b2
View backblaze b2 backup script
#!/usr/bin/env bash
#
# Backup selected directories to a Backblaze B2 bucket
#
# Example daily cron:
# @daily /usr/local/bin/b2backup >/dev/null
#
# Account creds
id=xxxxxxxxxx
You can’t perform that action at this time.