Skip to content

Instantly share code, notes, and snippets.

@voximity
voximity / android_traffic.md
Created January 25, 2024 22:19
Instructions to capture Android app HTTPS traffic given an APK

Capturing Android app HTTPS traffic

  1. Acquire the APK of the app you'd like to sniff
  2. Install Android Studio, including AVD for the Android emulator
  3. Install mitmproxy and launch it
  4. Install python3 (or use winget if you're on Windows)
  5. Install apktool and make sure it's on your PATH
  6. Create an empty project in Android Studio
  7. Go to Settings > Tools > Emulator and uncheck Launch in Running Devices tool window, then click OK
  8. On the right side of the window, click the Device Manager tab and launch the VM
@voximity
voximity / octree.rs
Created September 22, 2021 20:43
Octree implementation for brick lookups
pub mod save;
use std::{cmp, collections::HashSet, fmt::Display, hash::Hash};
pub const CHUNK_SIZE: i32 = 1024;
pub const RIGHT: i32 = 1;
pub const BACK: i32 = 2;
pub const BOTTOM: i32 = 4;
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
@voximity
voximity / rtings_no_insider.js
Created April 27, 2021 00:40
Rtings No Insider Userscript
// ==UserScript==
// @name Rtings No Insider
// @namespace http://zanderf.net/
// @version 0.1
// @description Prevent the insider enforcement after viewing a certain amount of ads on Rtings. Don't log in, wipes cookies on pageload.
// @author voximity
// @match *://*.rtings.com/*
// @icon https://www.google.com/s2/favicons?domain=rtings.com
// @grant none
// ==/UserScript==
@voximity
voximity / pet-behavior.sk
Created August 6, 2019 02:37
Pets behavior Skript
# Call pets
command /pet:
description: Calls your pets.
trigger:
set {_count} to 0
loop all entities:
set {_uuid} to tag "OwnerUUID" of loop-entity's nbt
set {_uuid} to substring of {_uuid} between index 2 and index (length of {_uuid} - 1)
{_uuid} is equal to the player's uuid
teleport loop-entity to the player