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 | |
# Generate a private key and public key pair | |
# Pair name (default "blank") | |
NAME=${1:-blank} | |
# Key size (default 4096) | |
SIZE=${2:-4096} | |
# Key pair destination. Change this to your own home directory |
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 | |
# Generate a random string with optional special characters | |
# Sometimes there may not be a special character in the random string | |
# because it's random | |
# Default string size | |
SIZE=${1:-20} | |
# Alphanumeric pool | |
APOOL='a-zA-Z0-9' |
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 | |
# Sign a file using the specified private key | |
# Source file to sign | |
SRCF=$1 | |
# Private key location | |
PRIK=$2 | |
# Signature algorithm (defaults to SHA-512) |
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 | |
# Verify a signed file with the specified public key | |
# Signature file | |
SRCF=$1 | |
# Public key location | |
PUBK=$2 | |
# Signature algorithm (defaults to SHA-512) |
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 | |
# Encrypt a file using the specified public key | |
# Source file | |
SRCF=$1 | |
# Public key | |
PUBK=$2 | |
# Encrypted file (defaults to the encrypted file name + ".encrypted") |
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 | |
# Decrypt a file using the specified private key | |
# Encrypted file | |
ENCF=$1 | |
# Private key | |
PRVK=$2 | |
# Decrypted file (defaults to the decrypted file name + ".decrypted") |
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
# For commands above TEXT check: | |
# http://conky.sourceforge.net/config_settings.html | |
# | |
# For commands available below TEXT check: | |
# http://conky.sourceforge.net/variables.html | |
# Bunsen Labs Conky help threads | |
# http://crunchbang.org/forums/viewtopic.php?pid=371424#p371424 | |
# beta tested by: smacz |
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
#--------------------------------------------- | |
# TINT2 CONFIG FILE | |
#--------------------------------------------- | |
# For more information about tint2, see: | |
# http://code.google.com/p/tint2/wiki/Welcome | |
# | |
# For more config file examples, see: | |
# http://bunsenlabs.org/topic/3232/my-tint2-config/ | |
# Background definitions |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Delete confirmation</title> | |
<style> | |
body { font: 400 1em sans-serif; background: #f9f9ff; color: #444; } | |
label { | |
cursor: pointer; | |
} |
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 | |
# This is an OpenBSD compatible shell script using the ftp utility | |
# to download the latest Spamhaus DROP list IP ranges and create a | |
# pf compatible IP list | |
# Files (make sure the PFDROP file actually exists) | |
PFDROP=/etc/blocklists/spamhaus | |
# Lists |
OlderNewer