Skip to content

Instantly share code, notes, and snippets.

View riverwolf67's full-sized avatar
🎯
Focusing

riverwolf67 riverwolf67

🎯
Focusing
  • 08:22 (UTC -06:00)
View GitHub Profile
@riverwolf67
riverwolf67 / metrix_block.py
Created September 24, 2025 04:37 — forked from ACK-J/metrix_block.py
Find all the domains ThreatMetrix is using to exfil user tracking data
from shodan import Shodan
api = Shodan('API-KEY')
results = api.search('isp:"ThreatMetrix Inc." port:443 Bad Request')
for banner in results['matches']:
# Only care about services that use SSL
if 'ssl' in banner:
print(banner['ssl']['cert']['subject']['CN'])
@riverwolf67
riverwolf67 / PKGBUILD
Created June 7, 2025 22:33 — forked from ivoronin/PKGBUILD
systemtap pkgbuild
# Maintainer: Sebastien Binet <binet@farnsworth>
# Wu Xingbo <[email protected]>
pkgname=systemtap
pkgver=1.8
pkgrel=1
pkgdesc="SystemTap provides free software (GPL) infrastructure to simplify the gathering of information about the running Linux system."
url="http://sourceware.org/systemtap/"
arch=('i686' 'x86_64')
license=('GPL')

Disk Speed Test (Read/Write): HDD, SSD Performance in Linux

From this article you’ll learn how to measure an input/output performance of a file system on such devices as HDD, SSD, USB Flash Drive etc.

I’ll show how to test the read/write speed of a disk from the Linux command line using dd command.

I’ll also show how to install and use hdparm utility for measuring read speed of a disk on Linux Mint, Ubuntu, Debian, CentOS, RHEL.

Take the average result: To get the accurate read/write speed, you should repeat the below tests several times (usually 3-5) and take the average result.

@riverwolf67
riverwolf67 / main.tf
Created May 14, 2025 01:58 — forked from bvierra/main.tf
proxmox qemu vm module w/cloud-init
# use Telmate/proxmox 3.0.1-rc1 provider
terraform {
required_providers {
proxmox = {
source = "Telmate/proxmox"
version = "3.0.1-rc1"
}
}
}
@riverwolf67
riverwolf67 / Qemu-quickstart.md
Created April 21, 2025 04:21 — forked from jtpaasch/Qemu-quickstart.md
A quick cheatsheet/tutorial for using QEMU (on macOS, but should work on Linux too).
@riverwolf67
riverwolf67 / archlinux-qemu-kvm.md
Created April 19, 2025 00:36 — forked from tatumroaquin/archlinux-qemu-kvm.md
QEMU-KVM Installation for Arch Linux

QEMU-KVM in Arch Linux

Check Virtualization Support

lscpu | grep -i Virtualization
  • VT-x for Intel
  • AMD-Vi for AMD

Ensure that your kernel includes KVM modules

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.

@riverwolf67
riverwolf67 / jtyr.zsh-theme
Created February 23, 2025 22:24 — forked from jtyr/jtyr.zsh-theme
jtyr's theme for oh-my-zsh
# jtyr's theme for oh-my-zsh
# Color shortcuts
RED=$fg_bold[red]
GREEN=$fg_bold[green]
YELLOW=$fg_bold[yellow]
BLUE=$fg_bold[blue]
CYAN=$fg_bold[cyan]
RESET=$reset_color
#!/bin/bash
iatest=$(expr index "$-" i)
#######################################################
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me
#######################################################
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
@riverwolf67
riverwolf67 / create-cloud-template.sh
Created February 3, 2025 00:33 — forked from meramsey/create-cloud-template.sh
This script will download a cloud image of many Linux distros and create a Proxmox 6 KVM template from it.
#!/bin/bash
set -o errexit
clear
printf "\n*** This script will download a cloud image and create a Proxmox VM template from it. ***\n\n"
### HOW TO USE
### Pre-req:
### - run on a Proxmox 6 server
### - a dhcp server should be active on vmbr1