Note
This no longer works in browser!
This no longer works if you're alone in vc! Somebody else has to join you!
Warning
There are now two quest types ("stream" and "play")! Pay attention to the instructions!
This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.
On March 29th, 2024, a backdoor was discovered in xz-utils, a suite of software that
import sys | |
import time | |
import asyncio | |
import threading | |
import traceback | |
import concurrent.futures | |
import discord | |
from discord.ext import commands |
import xml.etree.ElementTree as ET | |
import json | |
import sys | |
import re | |
def load(name): | |
root = ET.parse(name) | |
return json.loads(root.findtext('./string')) | |
def normalize(record): |
# Requires pyyaml | |
import os | |
import yaml | |
run = os.system | |
new_window = lambda cmd: run('tmux new-window -n "logs" "{}"'.format(cmd)) | |
split_vertical = lambda cmd: run('tmux split-window "{}"'.format(cmd)) | |
split_horizontal = lambda cmd: run('tmux split-window -h "{}"'.format(cmd)) | |
even_vertical = lambda: run('tmux select-layout even-vertical') |
# basic dependencies | |
import discord | |
from discord.ext import commands | |
# aiohttp should be installed if discord.py is | |
import aiohttp | |
# PIL can be installed through | |
# `pip install -U Pillow` | |
from PIL import Image, ImageDraw |
Chrome (at least) likes to cache HTTP redirects, an issue if you are running logging/reporting on those redirect actions server side. Combat this with some HTTP headers.
Location: http://domain.com/redirect
Cache-Control: must-revalidate,no-cache,no-store
Expires: Sat, 01 Jan 2000 00:00:00 GMT
Or in PHP land that could be...
Let's have some command-line fun with curl, [jq][1], and the [new GitHub Search API][2].
Today we're looking for: