View snap_circuits_led_mc_keyboard.bas
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; calling convention | |
symbol arg1 = b0 | |
symbol arg2 = b1 | |
symbol arg3 = b2 | |
;symbol arg1w = w3 | |
symbol shift_out_current_mask = b3 | |
symbol shift_out_temp = b4 | |
symbol main_last = b5 |
View itml.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from lxml import etree | |
import requests | |
OVERRIDE_CSS = """ | |
/* Custom injected CSS */ | |
.VBoxView { | |
display: flex; | |
flex-direction: column; | |
} |
View frida-log-hook.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var m = 'libsystem_trace.dylib'; | |
// bool os_log_type_enabled(os_log_t oslog, os_log_type_t type); | |
var isEnabledFunc = Module.findExportByName(m, 'os_log_type_enabled'); | |
// _os_log_impl(void *dso, os_log_t log, os_log_type_t type, const char *format, uint8_t *buf, unsigned int size); | |
var logFunc = Module.findExportByName(m, '_os_log_impl'); | |
Interceptor.attach(isEnabledFunc, { | |
onLeave: function (ret) { | |
// console.log('log_enabled', ret); | |
ret.replace(0x1); |
View memorymap.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::{alloc::Layout, mem, ops::{Deref, DerefMut}}; | |
use crate::pager::Pagable; | |
pub struct MemoryMap(Vec<u8>); | |
impl MemoryMap { | |
fn page_round(size: usize) -> usize { | |
Layout::from_size_align(size, Vec::<u8>::page_size()).unwrap().size() | |
} |
View mac_changer.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make sure the script is run as root | |
# Otherwise, try to run it with sudo | |
if [ $EUID -ne 0 ]; then | |
echo "This script must be run as root" | |
sudo $0 | |
exit $? # Exit with the same exit code as sudo | |
fi | |
# Look for .mac files in the current folder | |
shopt -s nullglob |
View gsa.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import srp | |
import plistlib as plist | |
from base64 import b64encode, b64decode | |
import requests | |
import json | |
import pbkdf2 | |
import hashlib | |
# Constants | |
DEBUG = True # Allows using a proxy for debugging (disables SSL verification) |
View unpin.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Disables SSL pinning by replacing functions with no-ops. | |
function unpin() { | |
var SecTrustEvaluate_handle = Module.findExportByName('Security', 'SecTrustEvaluate'); | |
var SecTrustEvaluateWithError_handle = Module.findExportByName('Security', 'SecTrustEvaluateWithError'); | |
var SSL_CTX_set_custom_verify_handle = Module.findExportByName('libboringssl.dylib', 'SSL_CTX_set_custom_verify'); | |
var SSL_get_psk_identity_handle = Module.findExportByName('libboringssl.dylib', 'SSL_get_psk_identity'); | |
var boringssl_context_set_verify_mode_handle = Module.findExportByName('libboringssl.dylib', 'boringssl_context_set_verify_mode'); | |
if (SecTrustEvaluateWithError_handle) { | |
var SecTrustEvaluateWithError = new NativeFunction(SecTrustEvaluateWithError_handle, 'int', ['pointer', 'pointer']); |
View GitHubIssueNumbers.user.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name GitHub Project Issue Numbers | |
// @namespace https://jjtech.dev | |
// @description Appends issue numbers to issue titles | |
// @version 0.7 | |
// @require https://code.jquery.com/jquery-3.6.0.slim.min.js | |
// @match https://github.com/* | |
// @icon https://github.githubassets.com/pinned-octocat.svg | |
// @inject-into content | |
// ==/UserScript== |
View GitHubLabelsFixup.user.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name GitHub Labels Fixup | |
// @namespace https://jjtech.dev | |
// @description Moves labels on GitHub issues in front of the title | |
// @version 4.3 | |
// @require https://code.jquery.com/jquery-3.6.0.slim.min.js | |
// @match https://github.com/* | |
// @icon https://github.githubassets.com/pinned-octocat.svg | |
// @inject-into content | |
// ==/UserScript== |
NewerOlder