Skip to content

Instantly share code, notes, and snippets.

View Minion3665's full-sized avatar

Skyler Grey Minion3665

View GitHub Profile
@kitsunehunter
kitsunehunter / gdmcfg
Last active November 23, 2025 21:05
Mifare GDM Configs
7A FF <- Allow gen1a magic auth
85 00 00 00 00 00 00 00 00 00 5A 5A 00 00 00 08 <- Shadow mode enabled
85 00 00 00 00 00 00 5A 00 FF 00 5A 00 00 00 08 <- CUID mode enabled + MFC EV1 Perso mode + shadow mode disabled
7A FF 00 00 00 00 00 00 BA FA 5A 5A 00 00 00 08 <- allow gen1a magic commands to persistant memory
85 00 00 00 00 00 5A 00 00 5A 00 5A 00 5A 00 08 <- switch to 7B GDM operation after using GDM script (DO NOT WRITE THIS CONFIG UNLESS YOUR TAG IS IN 7B OPERATION)
hf mf gdmsetcfg -d "7A FF 00 00 00 00 00 5A BA FA 5A 5A 00 00 00 08"
gen1a + CUID + shadow mode + gdm auth
hf mf gdmsetcfg -d "85 00 00 00 00 00 00 5A 00 FF 00 5A 00 00 00 08"
@NovaFox161
NovaFox161 / december-summary.md
Created December 17, 2021 21:00
DDevs Q&A Summary 17/12/2021

DDevs Q&A December 2021 Summary - Happy Holidays!

Forward

This is a nonexhaustive summary of the DDevs Q&A stage. Most of the points below are paraphrased for brevity. Ephasis is my own unless explicitly stated, and my opinions on certain things may shine through. Please refer to a VOD of the stage for the exact wording from the Discord Developers.

Upcoming Features (and demos if available)

  • Application Commands Permissions V2
    • "Super super super close"
    • Will not release before the holidays because fixing things on christmas is just not cool
  • Closed beta testing will occur after the holidays
@nabeix
nabeix / WebViewJSInterfaceMainActivity.java
Last active September 16, 2024 14:54
Check available types of Android WebView JavascriptInterface
package net.nabeix.javascriptinterfacetest;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.webkit.JavascriptInterface;
import android.webkit.WebView;
public class MainActivity extends AppCompatActivity {
@myell0w
myell0w / externalKeyboard.m
Last active September 17, 2025 04:02
Detect if there's an external keyboard attached (iOS)
// direct check for external keyboard
+ (BOOL)_isExternalKeyboardAttached
{
BOOL externalKeyboardAttached = NO;
@try {
NSString *keyboardClassName = [@[@"UI", @"Key", @"boa", @"rd", @"Im", @"pl"] componentsJoinedByString:@""];
Class c = NSClassFromString(keyboardClassName);
SEL sharedInstanceSEL = NSSelectorFromString(@"sharedInstance");
if (c == Nil || ![c respondsToSelector:sharedInstanceSEL]) {