Skip to content

Instantly share code, notes, and snippets.

View jeremypruitt's full-sized avatar
:octocat:
@ Waabi.ai

Jeremy Pruitt jeremypruitt

:octocat:
@ Waabi.ai
View GitHub Profile
@jeremypruitt
jeremypruitt / generate-animated-counter-gif.py
Last active July 11, 2021 08:23
Generates an animated gif of a counter
from PIL import Image, ImageDraw, ImageSequence, ImageFont
import io
import click
FIRST_NUMBER = click.prompt('Enter the low number of the range', default=10330, type=int)
LAST_NUMBER = click.prompt('Enter the high number of the range', default=10346, type=int)
FRAME_DURATION = click.prompt('How long to hold on each number', default=100, type=int)
ANIMATED_GIF_FILENAME = click.prompt('Enter the name of the animated gif to generate', default="incrementing-counter.gif", type=str)
TEXT_COLOR = (255,255,255)
@jeremypruitt
jeremypruitt / Dockerfile
Last active September 30, 2020 00:08
cli-output.py
# syntax=docker/dockerfile:1.0.0-experimental
# -------------------------------------------------------------------------
FROM python:3.8-slim
# -------------------------------------------------------------------------
LABEL maintainer="Jeremy Pruitt <[email protected]>"
ARG VERSION
ARG BUILD_DATE
ARG VCS_REF
@jeremypruitt
jeremypruitt / output-helper.sh
Last active November 3, 2020 10:51
CLI output helper lib
# Formatting
DEFAULT=`tput sgr0`
BRIGHT=`tput bold`
RED=`tput setaf 1`
GREEN=`tput setaf 2`
YELLOW=`tput setaf 3`
BLUE=`tput setaf 4`
MAGENTA=`tput setaf 5`
CYAN=`tput setaf 6`
WHITE=`tput setaf 7`
@jeremypruitt
jeremypruitt / HackTheBox-Unattended.md
Last active August 31, 2019 03:50
Hack The Box - Unattended

Techniques

Tools

  • nmap

Setup

  1. Add unattended.htb to the hosts file so we can refer to the host by name
    $ echo "10.10.10.126 unattended.htb" >> /etc/hosts
@jeremypruitt
jeremypruitt / HackTheBox-Helpline.md
Last active August 17, 2019 20:38
Hack The Box - Helpline

Techniques

Tools

  • nmap

Setup

  1. Add helpline.htb to the hosts file so we can refer to the host by name
    $ echo "10.10.10.132 helpline.htb" >> /etc/hosts
@jeremypruitt
jeremypruitt / HackTheBox-Fortune.md
Last active August 3, 2019 23:04
Hack The Box - Fortune

Techniques

Tools

  • nmap

Setup

  1. Add fortune.htb to the hosts file so we can refer to the host by name
    $ echo "10.10.10.127 fortune.htb" >> /etc/hosts
@jeremypruitt
jeremypruitt / awesome-sec-cli.md
Last active August 31, 2019 03:32
Awesome Security CLI Commands

Awesome Security CLI Commands

ffuf

A go-based single-binary and very fast replacement for both gobuster and wfuzz. It can perform both dirbuster style URL path/extension-specific fuzzing, and also URL param fuzzing.

Wfuzz style of URL param fuzzing:

$ ffuf -w /usr/share/commix/src/txt/passwords_john.txt \
@jeremypruitt
jeremypruitt / HackTheBox-HackBack.md
Last active July 9, 2019 07:59
Hack The Box - HackBack

Techniques

Tools

  • nmap

Setup

  1. Add hackback.htb to the hosts file so we can refer to the host by name
    $ echo "10.10.10.128 hackback.htb" >> /etc/hosts
@jeremypruitt
jeremypruitt / HackTheBox-Querier.md
Last active June 23, 2019 22:19
Hack The Box - Querier

Techniques

Tools

  • nmap

Setup

  1. Add querier.htb to the hosts file so we can refer to the host by name
    $ echo "10.10.10.125 querier.htb" >> /etc/hosts
@jeremypruitt
jeremypruitt / Walkthrough-PracticalBinaryAnalysis-Chapter5.md
Last active June 30, 2019 05:26
Walkthrough: Practical Binary Analysis - Chapter 5

Techniques

Tools

  • file
  • xxd
  • nm
  • readelf

Procedure