View gist:7a3373132f94fc946b1cbeb2b04e7818
[2017-06-23 22:54:57] 594 mitchese@cspi-sm
:( $ sudo dd if=rancheros-raspberry-pi64.img of=/dev/mmcblk0 bs=1M
500+0 records in
500+0 records out
524288000 bytes (524 MB, 500 MiB) copied, 118.057 s, 4.4 MB/s
[2017-06-23 22:57:14] 595 mitchese@cspi-sm
:) $ sudo fdisk /dev/mmcblk0
Welcome to fdisk (util-linux 2.29.1).
Changes will remain in memory only, until you decide to write them.
View aws-smtp-pw-gen.py
import base64
import hmac
import hashlib
import sys
def generate_smtp_password(key):
message = "SendRawEmail"
version = '\x02'
h = hmac.new(key, message, digestmod=hashlib.sha256)
print base64.b64encode("{0}{1}".format(version, h.digest()))
View esmexpress_backup.sh
#!/bin/bash
# This is a script which will perform a full backup of an arcsight Express appliance
#
# The goal of this script is to provide a backup which can be restored to a completely new system
#
# Made according to directions at https://protect724.hp.com/docs/DOC-13608
# Above link moved to https://community.saas.hpe.com/t5/ESM-and-ESM-Express/ArcSight-Express-4-0-Backup-and-Recovery/ta-p/1588736
#
#