Skip to content

Instantly share code, notes, and snippets.

;--;DROP TABLE status;

Adam Baxter voltagex

;--;DROP TABLE status;
View GitHub Profile
voltagex / index.html
Last active Dec 21, 2020
Pug WebComponent
View index.html
<!DOCTYPE html>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Page Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript">
class PugPhoto extends HTMLElement {
constructor() {
voltagex / Dockerfile
Last active Nov 25, 2020
Attempting to build Wireshark tools statically
View Dockerfile
FROM alpine:latest
MAINTAINER Adam Baxter <>
#How many jobs to run - i.e. passed to -j
RUN apk --update add git wget xz tar
RUN apk add gcc g++
RUN apk add libc-dev make libtool autoconf automake
RUN apk add python pkgconfig bison flex patch coreutils file linux-headers
voltagex /
Last active Jun 19, 2020 — forked from Manouchehri/
Running Windows 10 in a UEFI enabled QEMU environment with KVM.
View gist:03e0b8cbe39a6810e649
Starting Nmap 6.47 ( ) at 2015-03-08 10:53 AUS Eastern Daylight Time
NSE: Loaded 118 scripts for scanning.
NSE: Script Pre-scanning.
Initiating ARP Ping Scan at 10:53
voltagex / test-from-residential
Last active Dec 21, 2019 is slow
View test-from-residential
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4882k 100 4882k 0 0 148k 0 0:00:32 0:00:32 --:--:-- 134k
real 0m32.858s
user 0m0.080s
sys 0m0.147s
View get-peheader.ps1
function Get-PEHeader
Parses and outputs the PE header of a process in memory or a PE file on disk.
PowerSploit Function: Get-PEHeader
Author: Matthew Graeber (@mattifestation)
License: BSD 3-Clause
voltagex / sslh.cfg
Created Mar 20, 2019
Transparent sslh to ssh (get IPs for fail2ban or Match rules) - without iptables
View sslh.cfg
verbose: 1;
foreground: true;
inetd: false;
transparent: true;
user: "sslh";
pidfile: "/var/run/";
syslog_facility: "auth";
listen: ({ host: ""; port: "443"; });
voltagex /
Last active Mar 12, 2019
Modified Linuxium script to fix grub on efi32
# Linuxium's installation script for booting from a 32-bit bootloader
DEFAULT_GATEWAY=`ip r | grep default | cut -d ' ' -f 3`
if ( ! ping -q -w 1 -c 1 "${DEFAULT_GATEWAY}" > /dev/null 2>&1 ); then
echo "$0: Not connected to internet ... exiting."
voltagex /
Last active Feb 13, 2019
Copy one file or directory out of a git repo as a patch
#Inspired by
#Copy a file or directory out of a git repository, preserving history!
#Creates DESTINATIONPATH with patches that can be applied with git am
#!/usr/bin/env bash
set -uoe
sudo apt install -y mingw-w64-tools make yasm libz-mingw-w64
cd ~
LDFLAGS="-L/opt/mingw64/lib/ -L/usr/x86_64-w64-mingw32/lib/"