Skip to content

Instantly share code, notes, and snippets.

View ajmeese7's full-sized avatar
🥤
drinkin the Kool-Aid

Aaron Meese ajmeese7

🥤
drinkin the Kool-Aid
View GitHub Profile
@ajmeese7
ajmeese7 / auto-rotate.sh
Last active March 19, 2025 19:12
Automatically handle screen rotation in X11
#!/bin/bash
# auto-rotate.sh
# This script waits until the graphical session is fully ready, sets the display rotation based on
# a desired rotation variable, and then re-applies the corresponding touchscreen calibration multiple times.
#
# Save this script (for example, in your home directory) and make it executable:
# chmod +x ~/auto-rotate.sh
#
# Deploy it via your systemd user service so that it runs after login.
#
@ajmeese7
ajmeese7 / acceleratednetworkpc.com.html
Created February 10, 2025 18:51
Files related to analysis of the Blogspot redirector and ApateWeb (part II)
<html><head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,shrink-to-fit=no">
<meta name="referrer" content="no-referrer">
<meta name="robots" content="noindex">
<meta name="googlebot" content="noindex">
<link rel="icon" type="image/png" sizes="16x16" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAbwAAAG8B8aLcQwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIuSURBVDiNhZNNSFRRFMd/97773owzCvmRZaBG6UaxwoQkhNCyiFYRCLlqE0EJ1iqCWgThQoo+1y20FiFhIBSU0CJwUbTKUkHswyjSUdSeozO+d08L8SOdqQOHu/n/fueeC1eJCNmq+Q67AF5dZCxbRv8LDi0doaVjRZSpVKYbXO6xbemQaxO/VX4gLLlKhv2U7nzWxpP/Cq722kfVO2h11ZIam9IU5kDUC/mccCbejzv3ey/oG1kFDZ3knTkoM/5CoItzLS01AUNTMLugiLlC99vIyIcJc6i/nV8Z36B+p71eVy46CIXTewNGpkEryI8JtSWwrySoiMKp9Yw5fJMmq0gbzWxtGU2lWyznDgRMJtdC1UXLZ0GuOJ6xdc23dY2FHCXENQ7NGkpDiwcQN
@ajmeese7
ajmeese7 / boowaga.html
Last active February 3, 2025 20:17
OpenSea Phishing Email - 03FEB2025
<div></div><i style='font-size: 0.0000000004vw;'>bubo strongroom loosely comparison surfing afternoons boron</i><b></b><i></i><p></p><i></i><b style='font-size: 0.000000000007%;'>torsion ruffian diffusing suintdal sericulture triplex</b><div></div><p></p><b></b><b style='font-size: 0.00000000000005ex;'>aphrodisiac stencilled banishment boon wrinkle unacceptable stringiness shirt</b><p></p><div></div><p></p><div></div><b style='font-size: 0.0000000003vw;'>amiability stockfish ballyhoo oversized satrapy wrecking horror wolfishly</b><b></b><div></div><b></b><p></p><div></div><p></p><div></div><i></i><b></b><p></p><div></div><b></b><p></p><div></div><div></div><p></p><i></i><div></div><b></b><p></p><span style='font-size: 0.0000000000008vh;'>ring florida minaret marriage subtracted shiny quietude terminable</span><i></i><div></div><iframe style='display: none;' width='0' height='0' frameborder='0'></iframe><p></p><b style='font-size: 0.000000000000009vw;'>bandaged horrendous spore rail marauding</b><i></i><script
@ajmeese7
ajmeese7 / bestsafenet.com.html
Last active January 16, 2025 15:31
Files related to analysis of the Blogspot redirector and ApateWeb
<html lang="en-US" class="mdl-js"><head><base href="landers/vpn26/index.php">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Free VPN - Stay Private, Stay Secure</title>
<link href="style.css" rel="stylesheet" type="text/css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div class="wrapper">
<div class="img">
<img alt="" src="./encrypted.png">
@ajmeese7
ajmeese7 / validin-domain-parser.py
Created March 30, 2024 17:16
Parse out domains from exported Validin JSON data
#!/usr/bin/env python3
import json
import sys
import os
def extract_domains(json_file_path):
try:
# Open and load the JSON file
with open(json_file_path, "r") as file:
data = json.load(file)
@ajmeese7
ajmeese7 / usps.html
Created November 19, 2023 23:30
uups.lsup.xyz Phishing HTML
<meta http-equiv="refresh" content="0; url=https://uups.lsup.xyz" />
@ajmeese7
ajmeese7 / index.html
Last active October 27, 2023 15:32
Improved Kinopio highlighting
<style>
.no-select {
user-select: none;
}
</style>
<script>
document.addEventListener("DOMContentLoaded", function() {
const body = document.querySelector("body");
const textElements = document.querySelectorAll("p, h1, h2, h3, h4, h5, h6, a, span, li, blockquote");
@ajmeese7
ajmeese7 / AdminMiddleware.js
Created December 5, 2022 00:52
Medium > HTB University CTF 2022 "The Magic Informer" code snippets
import { decode } from "../helpers/JWTHelper.js";
const AdminMiddleware = async (req, res, next) => {
try{
if (req.cookies.session === undefined) {
if(!req.is('application/json')) return res.redirect('/');
return res.status(401).json({ status: 'unauthorized', message: 'Authentication required!' });
}
return decode(req.cookies.session)
.then(user => {
@ajmeese7
ajmeese7 / GitFive-login.log
Created November 28, 2022 00:32
Code snippets related to GitFive for Medium
TODO
@ajmeese7
ajmeese7 / kill_by_regex.sh
Created November 23, 2022 23:53
Kill all processes by regex
# Source: https://stackoverflow.com/a/30486159/6456163
ps aux|grep [process_regex]|grep -v grep|awk '{print $2}' | xargs kill -9