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

Zu mir

Hallo zusammen, mein name ist TheMeinerLP aka Phillipp. Ich besschäftige mich nun seit 8 Jahre Aktiv mit Minecraft und bin seit mehren Jahren auch tätig als Normaler Entwickler.

Intro

Hier bitte intro Musik einfügen

Seit etwa September 2022 geht ein Virus in Form von Plugins in der Minecraft Szene umher. PaperMC hat aktiv schon darauf aufmerksam gemacht. Dazu hat ein anderer Blogger schon probiert, diesen Virus zu analysieren. Gerne würde ich hier in dieser Toilet paper einmal meine Erfahrung teilen und wie ich den Virus bis zu einem bestimmten Teil zurückverfolgt habe.

@LuemmelSec
LuemmelSec / GBC.ps1
Last active July 9, 2025 06:07
Give Back Control over Windows functions script
$elevated = ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)
function Show-Menu {
Clear-Host
Write-Host "======================================================"
Write-Host "================ Give Back Control ================"
Write-Host "======================================================"
if($elevated -eq $true){
Write-Host "Local Admin: " -ForegroundColor white -NoNewline; Write-Host $elevated -ForegroundColor Green
Write-Host "We have superpowers. Ready to continue."
@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 / 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
@ajmeese7
ajmeese7 / kill_keybase.sh
Created November 20, 2022 13:22
Kills the Keybase application and all associated services
run_keybase -k
@ajmeese7
ajmeese7 / dns-query-data-extraction.sh
Last active October 28, 2022 12:51
"Trick or Breach" Hack the Boo 2022 solution
# Extract the DNS query data from the pcap
tshark -r ./capture.pcap -T fields -e dns.qry.name -Y 'dns.flags.response == 0' > raw_exfil.txt
@ajmeese7
ajmeese7 / api_request_processing.py
Last active June 2, 2023 03:18
Hack The Boo 2022 Evaluation Deck code
from flask import Blueprint, render_template, request
from application.util import response
web = Blueprint('web', __name__)
api = Blueprint('api', __name__)
@web.route('/')
def index():
return render_template('index.html')
@ajmeese7
ajmeese7 / mass-rename.sh
Created September 4, 2022 16:58
Mass rename files on Unix
sudo apt install rename
# NOTE: The `-n` means it will be a dry run, remove that to go through with the action.
# Source: https://askubuntu.com/a/283146/1071040
rename -v -n 's/-symbolic.svg/.svg/' */*/*.svg
@ajmeese7
ajmeese7 / remove_uppercase.sh
Created September 3, 2022 20:21
Remove uppercase file duplicates before git commit
find . | sort -r | uniq -di | xargs rm -f
@ajmeese7
ajmeese7 / dotenv.sh
Created June 9, 2022 18:31
Used to source `.env` files in Bash to be used as variables.
#!/bin/bash
export $(sed 's/#.*//g' .env | xargs)