This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Copyright Dayton Pidhirney | |
""" | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import matplotlib.patches as patches | |
# Sliding Window for Submatrices |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import csv | |
import numpy as np | |
import matplotlib as mpl | |
from PIL import Image | |
MATRIX_SIZE = 64 | |
NORMALIZE_BIAS = 255 # 0.0 - 1.0 | |
Z_DEPTH = 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Simple Spectre FLUSH+RELOAD Cache Side-Channel | |
* Copyright @watbulb (Dayton Pidhirney) | |
*/ | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <x86intrin.h> | |
// Intel(R) Celeron(R) CPU J3455 @ 1.50GHz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import struct | |
Op0_shift = 19 | |
Op1_shift = 16 | |
CRn_shift = 12 | |
CRm_shift = 8 | |
Op2_shift = 5 | |
MAX_OP0 = 3 | |
MAX_OP1 = 7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for blob in $(git fsck --lost-found | cut -d' ' -f3); do | |
git cat-file -p $blob > $blob.txt | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Simple script to check PS5 availability against multiple stores | |
# @watbulb | |
[[ -n $DEBUG ]] && set -x || : | |
set -e -o posix | |
AGENT="Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0" | |
declare -a STORES=( | |
# Bestbuy (bestbuy.html) | |
https://www.bestbuy.ca/en-ca/product/playstation-5-digital-edition-console-online-only/14962184 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### libelfmaster docker based image ### | |
# Build: docker build -t "libelfmaster:latest" -f Dockerfile.libelfmaster . | |
# Run: docker run --rm -it -v ${PWD}/data:/tmp/data "libelfmaster:latest" | |
# | |
# Maintainer: https://github.com/watbulb | |
### | |
FROM ubuntu:latest | |
# Environment | |
ENV INSTALL_PREFIX=/opt/elfmaster |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# elfutils docker based image | |
# Maintainer: https://github.com/watbulb | |
FROM ubuntu:latest | |
ENV LD_LIBRARY_PATH=/usr/local/lib | |
# Working directory and root | |
ENV BASE=/root | |
WORKDIR ${BASE} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[+] Sandboxed Root Processes: | |
80:/usr/sbin/systemstats | |
82:endpointsecurityd | |
89:/usr/libexec/logd | |
98:/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Support/mds | |
104:/usr/libexec/coreduetd | |
107:/usr/libexec/opendirectoryd | |
108:/System/Library/PrivateFrameworks/ApplePushService.framework/apsd | |
114:/usr/sbin/securityd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
''' | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | |
0. You just DO WHAT THE FUCK YOU WANT TO. | |
Universal DIB to BMP converter. <d$pid> | |
''' | |
import sys |