Skip to content

Instantly share code, notes, and snippets.

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

Jeremy Pruitt jeremypruitt

:octocat:
Day 470 @ Waabi.ai
View GitHub Profile
@jeremypruitt
jeremypruitt / getting-started-with-kubernetes-operator-framework.md
Last active May 15, 2018 07:54
A working getting started guide for the kubernetes operator framework that incorporates some pending pull requests

GETTING STARTED GUIDE FOR THE KUBERNETES OPERATOR FRAMEWORK

The getting started guide for the kubernetes operator framework has a few issues that prevent a smooth intial experience with the SDK. This doc represents a successful effort to follow the getting started guide while incorporating fixes from pending pull requests.

!! GOPATH must be set

!! Please make sure you have a an account on Quay.io for the next step, 
   or substitute your preferred container registry. On the registry,
   create a new public image repository named “memcached-operator”.
@jeremypruitt
jeremypruitt / kubernetes-vault-auth-client-poc.md
Last active June 5, 2018 04:03
Kuberenetes Vault Auth Client PoC

KUBERNETES VAULT CLIENT POC WITH LOCAL VAULT AND MINIKUBE

This is a PoC of the kubernetes-vault-client using an instance of Vault running in -dev mode and local instance of minikube. The kubernetes-vault-client tool is run in an init container and uses Vault kubernetes auth to pull secrets from Vault and dump then into a volume that can be mounted in any container in a pod, preferably as an emptyDir with media: Memory. It is meant to be run on a laptop and is used to demonstrate the various configurations necessary to get it working.

Table of Contents

  1. Pepare Environment
@jeremypruitt
jeremypruitt / intro-to-binary.md
Created October 22, 2018 02:20
Intro to Binary

Lorem ipsum dolor...

@jeremypruitt
jeremypruitt / APIServer.md
Last active January 31, 2019 08:20
CKA Prep Notes

Intro to API Server

The entire Kubernetes architecture is API driven, so the API server is the center of a Kubernetes cluster. All operations go through the API server, like accesssing data in etcd, accepting kubectl and controller requests, and more.

Get a list of API endpoints in given Kube cluster

$ curl -k https://127.0.0.1:6443/apis

Curl with cert auth

@jeremypruitt
jeremypruitt / HackTheBox-Chaos.md
Last active June 2, 2019 20:34
Hack The Box - Chaos

Techniques

  • Port scanning
  • Service enumeration
  • Wordpress user enumeration
  • IMAP commands
  • Python coding
  • HTTP Proxy: Intercept, modify, repeat

Tools

  • nmap
@jeremypruitt
jeremypruitt / HackTheBox-Sizzle.md
Last active June 4, 2019 04:36
Hack The Box - Sizzle

Techniques

Tools

  • nmap
  • gobuster OR dirbuster OR dirb
  • smbclient

Port Scan

  1. Scan for ports and services
@jeremypruitt
jeremypruitt / HackTheBox-Irked.md
Created June 5, 2019 06:58
Hack The Box - Irked

Techniques

Tools

  • nmap

Port Scan

  1. Scan for ports and services

Use nmap to find available TCP ports quickly

@jeremypruitt
jeremypruitt / HackTheBox-Ypuffy.md
Last active June 5, 2019 21:10
Hack The Box - Ypuffy

Techniques

Tools

  • nmap

Setup

  1. Add ypuffy.htb to the hosts file so we can refer to the host by name
    $ echo "10.10.10.107 ypuffy.htb" >> /etc/hosts
@jeremypruitt
jeremypruitt / HackTheBox-Help.md
Created June 8, 2019 22:11
Hack The Box - Help

Techniques

Tools

  • nmap

Setup

  1. Add ypuffy.htb to the hosts file so we can refer to the host by name
    $ echo "10.10.10.121 help.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