Skip to content

Instantly share code, notes, and snippets.

View r0yfire's full-sized avatar

Roy Firestein r0yfire

View GitHub Profile
@r0yfire
r0yfire / adyen-to-autohost.ts
Created January 20, 2025 11:52
Adyen webhook event to the Autohost Payment Event expected format
/** https://docs.autohost.ai/api#operation/reservations-payment-event **/
/**
* Map 3DS status from Adyen to our format
* @param additionalData Additional data from Adyen notification
* @returns Mapped 3DS status
*/
function map3DSStatus(additionalData: Record<string, any>): string | undefined {
// Check 3DS2 status first (preferred)
const threeDSVersion = additionalData.threeDSVersion;
@r0yfire
r0yfire / BUILD_GUIDE.md
Created December 28, 2025 21:26
Guide to building `mdk4` for the Hak5 Pineapple Pager

Building mdk4 for WiFi Pineapple Pager (MIPS)

Complete guide for cross-compiling mdk4 for the Hak5 WiFi Pineapple Pager using the OpenWrt SDK.

Target Device Specifications

  • Device: Hak5 WiFi Pineapple Pager
  • CPU: 580 MHz MIPS 24KEc (MediaTek MT7628AN)
  • Architecture: mipsel_24kc (MIPS32r2, little-endian)
  • OS: Pineapple Pager 24.10.1 (based on OpenWrt 24.10.1)