Skip to content

Instantly share code, notes, and snippets.

View azenla's full-sized avatar
🏳️‍⚧️
girlhacker

Alex Zenla azenla

🏳️‍⚧️
girlhacker
View GitHub Profile
@azenla
azenla / disable-ssl-pin.js
Created October 11, 2019 22:26
This Frida script disables SSL pinning and verification on any target macOS Catalina process.
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');
@azenla
azenla / calc.dart
Last active November 13, 2025 15:41
Simple Calculator in Dart
import "dart:io";
add(a, b) => a + b;
subtract(a, b) => a - b;
multiply(a, b) => a * b;
divide(a, b) => a / b;
modulo(a, b) => a % b;
const operators = const {
"+": add,
@azenla
azenla / sprout.yaml
Last active October 5, 2025 07:15
Sprout Bootloader YAML Example
version: 1
values:
default-options: "tty=hvc0"
phases:
startup:
- actions: ["welcome"]
actions:
@azenla
azenla / gnome.txt
Last active February 17, 2025 01:27
-> gnome
-> bolt
-> musl
-> glib
-> busybox-binsh
-> busybox
-> musl
-> musl
-> libffi
-> musl
@azenla
azenla / event_loop.dart
Last active December 19, 2024 22:01
Simulation of the Dart Event Loop in Dart.
/// Dart is built around a timer, which basically schedules functions in a queue.
/// The Future class is essentially just sugar on top of the event loop.
/// To help people understand what the event loop actually does, I have written code which implements the event loop.
/// See https://www.dartlang.org/articles/event-loop/ for more information.
import "dart:async";
class EventLoop {
/// Function Queue.
static final List<Function> queue = [];
/@introduceDomain = ""
/@releaseDomain = ""
/local = ""
/tool = ""
/vm = ""
/vm/c44aa934-6ebc-4b84-b3cf-0a25ba6d508b = ""
/vm/c44aa934-6ebc-4b84-b3cf-0a25ba6d508b/device = ""
/vm/c44aa934-6ebc-4b84-b3cf-0a25ba6d508b/image = ""
/vm/c44aa934-6ebc-4b84-b3cf-0a25ba6d508b/name = "protect-c44aa934-6ebc-4b84-b3cf-0a25ba6d508b"
/vm/c44aa934-6ebc-4b84-b3cf-0a25ba6d508b/uuid = "c44aa934-6ebc-4b84-b3cf-0a25ba6d508b"
#[derive(Clone, Copy, Debug)]
pub enum CpuClass {
Standard,
Performance,
Efficiency,
}
#[derive(Clone, Copy, Debug)]
pub struct CpuTopologyInfo {
pub core: u32,

Keybase proof

I hereby claim:

  • I am azenla on github.
  • I am alexzenla (https://keybase.io/alexzenla) on keybase.
  • I have a public key ASAnaNm-loXjKDbJ_AkkLyPuT968k9QR-KXy66XEFvcugQo

To claim this, I am signing this object:

@azenla
azenla / DartVMOptions.txt
Created December 14, 2014 21:30
Dart VM Options
[kaendfinger@localhost Dart]$ dart --help -v
Usage: dart [<vm-flags>] <dart-script-file> [<dart-options>]
Executes the Dart script passed as <dart-script-file>.
Supported options:
--checked or -c
Insert runtime type checks and enable assertions (checked mode).
--help or -h
Display this message (add -v or --verbose for information about
@azenla
azenla / systemctl.dart
Last active June 1, 2022 18:22
systemctl API in Dart
import "dart:io";
class SystemCTL {
static const String CIRCLE = "\u25CF";
final bool useSudo;
SystemCTL({this.useSudo: false});
Future<bool> start(String service) async {