Skip to content

Instantly share code, notes, and snippets.

View lexisother's full-sized avatar
💻
exams are literally happening

Alyxia Sother lexisother

💻
exams are literally happening
View GitHub Profile

How to get local administrator on an organisation-owned machine

Important

I am not liable or responsible for any damage caused by attempting this or any punishment by your organisation for bypassing organisation-owned monitoring software. Only use this at your own risk and ensure you have sufficient expertise to perform such a task.

Prerequisites

  • Another machine, running Windows
  • A USB flash drive with at least 8GB of free storage
  • A stable internet connection
  • Ensure USB-A ports are recognized by your machine for hardware other than peripherals (if you have an unlocked BIOS you may have to enable flash storage to be recognized first)
  • Ensure that you are alright with losing all of the information currently on the device; this includes making sure you've backed up any files you deem important.
#!/bin/sh
set -eux
BRANCH=canary
ICONDIR="${XDG_DATA_HOME:=$HOME/.local/share}/icons"
APPDIR="$XDG_DATA_HOME/applications"
DISCORDDIR="$HOME/.local/opt/discord-$BRANCH"
mkdir -p "$ICONDIR" "$APPDIR" "$DISCORDDIR"
@Mijyuoon
Mijyuoon / archive-emotes.rb
Created March 2, 2021 19:02
Discord emote archiving tool
#!/usr/bin/env ruby
AUTH_TOKEN = ENV["DISCORD_TOKEN"]
OUTPUT_DIR = "./emoji-archive"
SERVER_LIST = [
# List of server IDs here
]
require 'net/http'