Skip to content

Instantly share code, notes, and snippets.

:shipit:
:trollface:

Dylan Katz Plazmaz

View GitHub Profile
@Plazmaz
Plazmaz / arya-list.md
Last active Apr 22, 2019
Arya Stark's Kill List (From the Show)
View arya-list.md

Spoilers?

  • Joffrey
  • Cersei
  • Wolder Frey
  • Meryn Trant
  • Tywin Lannister
  • The Red Woman
  • Beric Dondarrion
  • Thoros of Myr
  • Ilyn Payne
@Plazmaz
Plazmaz / cloud_metadata.txt
Last active Jul 14, 2018 — forked from BuffaloWill/cloud_metadata.txt
Cloud Metadata Dictionary useful for SSRF Testing
View cloud_metadata.txt
## AWS
# Amazon Web Services (No Header Required)
# from http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html#instancedata-data-categories
http://169.254.169.254/latest/user-data
http://169.254.169.254/latest/user-data/iam/security-credentials/[ROLE NAME]
http://169.254.169.254/latest/meta-data/iam/security-credentials/[ROLE NAME]
http://169.254.169.254/latest/meta-data/ami-id
http://169.254.169.254/latest/meta-data/reservation-id
http://169.254.169.254/latest/meta-data/hostname
http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key
View keybase.md

Keybase proof

I hereby claim:

  • I am plazmaz on github.
  • I am plazmaz (https://keybase.io/plazmaz) on keybase.
  • I have a public key ASBxr7rAPgnm0QPh7SAuvPdZSIcoiHtF9wGH3uNplRZtDwo

To claim this, I am signing this object:

@Plazmaz
Plazmaz / gen-bitbucket-credentials.sh
Created Nov 7, 2017
Generate test credentials for bitbucket
View gen-bitbucket-credentials.sh
#!/bin/bash
CLIENT_ID=""
CLIENT_SECRET=""
if [[ ! $1 ]]
then
echo "Please visit the following url to generate a code:"
echo "https://bitbucket.org/site/oauth2/authorize?client_id=$CLIENT_ID&response_type=code"
else
curl -X POST -u "$CLIENT_ID:$CLIENT_SECRET" \
@Plazmaz
Plazmaz / windir.sh
Last active Sep 24, 2017
This is a simple function for converting windows paths (C:\Users\Test\t.txt) to their WSL equivalent (/mnt/c/Users/Test/t.txt)
View windir.sh
# !/bin/bash
function windir() {
echo "/mnt/$1" | sed -e 's/\\\\/\//g' -e 's/\b\(.\):/\L\1/g'
}
View keybase.md

Keybase proof

I hereby claim:

  • I am Plazmaz on github.
  • I am plazmaz (https://keybase.io/plazmaz) on keybase.
  • I have a public key whose fingerprint is 361E 53F6 C25C 5BD6 4E0D AD43 40F2 0498 A66D C05B

To claim this, I am signing this object:

@Plazmaz
Plazmaz / netcat-webserver.sh
Last active Apr 19, 2019
A one-liner for a netcat webserver w/ sane logging
View netcat-webserver.sh
#! /bin/bash
sudo bash -c 'while true; do echo "HTTP/1.1 200 OK\n\n" |nc -l -p 80 |egrep -v "Accept" |egrep -v "Content-Length" |egrep -v "Host" |egrep -vi "cache"; done'
# Original (no sudo):
# while true; do echo "HTTP/1.1 200 OK\n\n" |nc -l -p 80 |egrep -v "Accept" |egrep -v "Content-Length" |egrep -v "Host" |egrep -vi "cache"; done
# Raw (Skip filtering header lines):
# sudo bash -c 'while true; do echo "HTTP/1.1 200 OK\n\n" |nc -l -p 80; done'
@Plazmaz
Plazmaz / all-chrome-extensions.txt
Created May 30, 2017
115,381 chrome extensions. This is what I believe to be every chrome extension.
View all-chrome-extensions.txt
This file has been truncated, but you can view the full file.
https://chrome.google.com/webstore/detail/neon-genesis-evangelion-t/aaopabhnkahjifdakgmoljklhcafghfd
https://chrome.google.com/webstore/detail/rainbowify/bocbdecmflhkogddhhceceobniggkcif
https://chrome.google.com/webstore/detail/trademe-helper/ddheadgkghpmdaonfoncopdjpabpmgdo
https://chrome.google.com/webstore/detail/game-center/diihconlbincdhpilmldaphcnnbnoeif
https://chrome.google.com/webstore/detail/this-is-a-test-three/aiagmlkncceldckhliaggkceceadmlgd
https://chrome.google.com/webstore/detail/tweet-talk/oehghphfhmkilamcljmkealnanmmnofj
https://chrome.google.com/webstore/detail/overwatch-dva-pistol-them/hagghliglnamnmpdogipfpioclpkigne
https://chrome.google.com/webstore/detail/goventure-lemonade-stand/mkkaagdaeefhmeciilnofehmcnlgiglb
https://chrome.google.com/webstore/detail/programme-tv-grandes-cha%C3%AE/efkklcoiclhedcegeklkpcneodhfhbpn
@Plazmaz
Plazmaz / stream.sh
Created May 21, 2017
Stream an image file to twitch
View stream.sh
#! /bin/bash
IN_IMG="1.jpg"
STREAM_KEY="live_xxxxxxxxx_xxxxxxxxxxxxxx"
ffmpeg -re -loop 1 -framerate 2 -i $IN_IMG \
-f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 \
-c:a libmp3lame \
-vcodec libx264 -pix_fmt yuv420p -maxrate 2048k -bufsize 2048k \
-framerate 30 -g 2 -strict experimental -f flv \
-strict experimental -f flv rtmp://live.twitch.tv/app/$STREAM_KEY
@Plazmaz
Plazmaz / bots.txt
Last active Feb 25, 2017
List of 171 Twitter auto-retweet/like bot accounts
View bots.txt
avkashk
alejandronw
kneuman
threatintelbot
LucyBailey_1989
JeremieRykner
slomogoldfish
remelehane
Iona_Marvel
MrLucasBryant
You can’t perform that action at this time.