Skip to content

Instantly share code, notes, and snippets.

View Dobby233Liu's full-sized avatar
😵‍💫

Liu Wenyuan Dobby233Liu

😵‍💫
View GitHub Profile
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active January 24, 2026 05:55
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@thesamesam
thesamesam / xz-backdoor.md
Last active January 9, 2026 08:45
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

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.

Update: I've disabled comments as of 2025-01-26 to avoid everyone having notifications for something a year on if someone wants to suggest a correction. Folks are free to email to suggest corrections still, of course.

Background

@csm10495
csm10495 / locked_cookie_test.py
Last active November 16, 2025 15:37
POC that fetches cookies from a locked cookies file on Windows with Chromium based browsers
@mttaggart
mttaggart / electron-versions.csv
Last active April 26, 2025 02:21
CVE-2023-4863 Electron App Tracker | THIS LIST IS NOW DEPRECATED. PLEASE VISIT https://github.com/mttaggart/electron-app-tracker FOR THE LATEST DATA
app_name repo electron_version vulnerable
1Clipboard https://github.com/wiziple/1clipboard
1Password None 25.8.1 FALSE
3CX Desktop App 19.0.8 TRUE
5EClient None
Abstract None
Account Surfer None
Advanced REST Client https://github.com/advanced-rest-client/arc-electron ^17.0.0 TRUE
Aedron Shrine None
Aeon https://github.com/leinelissen/aeon 23.2.0 TRUE
@Dobby233Liu
Dobby233Liu / owo.user.js
Last active January 18, 2026 06:30
OwOiki: OwOifies most English-language Wikimedia Foundation wikis
// ==UserScript==
// @name OwOiki
// @version 0.2.10d
// @icon data:image/gif;base64,R0lGODdhQABAAPQeAP///xwcHPr6+uvr65GRkeHh4fDw8G1tbcbGxjo6OlRUVEZGRjExMSQkJICAgGNjY/f397GxsSgoKO/v76WlpXl5eS0tLbu7u8rKytra2s/Pz9XV1YmJiZmZmQICAr+/vywAAAAAQABAAAAF/yAgjmRpnmiqrmzrvnAsz3Rt33iu7/EQEQRKgScqUICRQe2yaCQSTodBZ3AwnNfFZUZoKCKZAuIQOExwE/IBUchEFA0CBEYpD0l1s81ApsxHBX0vGwwKdyUdAQ42DgEdJwVwGy5kCCmVNBgNeicIEgctGpsCKYQPpDIHFpOXDRosHAEYK42zMZqLKrgrBgkKf6WKMrW8CglTwXLFxzC9v7CyKl2W0K+DjqHYKVaHutoudR8tBQy5JwbGZyzk5i3c4wvP5wmnLc7Ay8gsD8zznPsL9BWr10KVOhMTElRAxaJCv3UKGdJ6WCLhQhfv4LWbeLBiRIwMlGh8YRBFL4LQRP9C3KiCn8AS6UCq5GXhIot720JSsjBTxQAG/3yWkxbtZkx78V6i2PCtU9MUP22649kinFBQLDwpczGtYIOeJvh1Q9H12lao9CSesOrzqAucKiI8nScPhVYZZU26JRqhpQRWMEzhKyH3EdIFGew2YAlyC6SkLz5sApsB8owB8RJXxASjywHNRZpQyyQBMYkMZM6+7ZIgSAQrFhyb+DAaAAJxTstF+AFFdWBVEoKvaSUyqtoRGoALt2VDzIU7BsACKCyCbUVkzsfuyDsC514RmnwTQS7MxLS7JoiNR/EdADkFkhAWOr6+eoC+6T14YEy9PqS5tgVQFCIBgObfaeWVkIGGgAaOUEGBB57QHhllqJVQXRGOkEht0ykSC37kGZYhglL9dIyJMz2o3YhiaXiffVu9R1+GF2gj4w
Dim Wsh, Fs, WMIServ
Set Wsh = CreateObject("WScript.Shell")
Set Fs = CreateObject("Scripting.FileSystemObject")
Set WMIServ = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
MainDir = Fs.GetFile(WScript.ScriptFullName).ParentFolder.Path
Function HasArg(TargetArg)
HasArg = False
For Each Arg in WScript.Arguments
@bennyhuo
bennyhuo / init.gradle.kts
Last active January 19, 2026 16:08
How to config mirrors for repositories in Gradle without changing the source code of your project?
fun RepositoryHandler.enableMirror() {
all {
if (this is MavenArtifactRepository) {
val originalUrl = this.url.toString().removeSuffix("/")
urlMappings[originalUrl]?.let {
logger.lifecycle("Repository[$url] is mirrored to $it")
this.setUrl(it)
}
}
}
from struct import pack, unpack
import sys
#.bss
left9 = [0] * 0x400 #u16
right9 = [0] * 0x400 #u16
left12 = [0] * 0x10000 #u16
right12 = [0] * 0x10000 #u16
stack = [0] * 0x100 #u32
#.sbss
@nkrapivin
nkrapivin / rerand.gml
Created October 4, 2022 14:38
RERand - 100% correct GML runtime RNG implementation.... in pure GML!
function rerand() constructor {
state = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ];
g_nRandSeed = 0;
g_RndIndex = 0;
s_nRandomPoly = $DA442D24;
RND_MAX = $FFFFFFFF;
s_nStateAndMask = RND_MAX;
InitRandom = function(/*uint*/ _seed) {
var uVar3 = _seed;
@huytd
huytd / wordle.md
Last active November 21, 2025 07:17
Wordle in less than 50 lines of Bash

image

How to use:

./wordle.sh

Or try the unlimit mode: