Skip to content

Instantly share code, notes, and snippets.

@duraki
duraki / fingerprinting-minified-javascript-libraries-ast-fingerprinting-source-code-similarity-etc.md Some notes and tools on fingerprinting minified JavaScript libraries, AST fingerprinting, source code similarity, etc

Fingerprinting Minified JavaScript Libraries / AST Fingerprinting / Source Code Similarity / Etc

Some notes and tools on fingerprinting minified JavaScript libraries, AST fingerprinting, source code similarity, etc.

Table of Contents

@duraki
duraki / _accessing-apple-reminders-data-macos.md
Created May 19, 2025 09:24 — forked from 0xdevalias/_accessing-apple-reminders-data-macos.md
Some notes on accessing / exporting Apple's Reminders data on macOS
@duraki
duraki / javascript-web-app-reverse-engineering-module-identification.md Some notes on JavaScript Web App Reverse Engineering, specifically focussing on module / dependency identification

JavaScript Web App Reverse Engineering - Module Identification

Some notes on JavaScript Web App Reverse Engineering, specifically focussing on module / dependency identification.

Table of Contents

@duraki
duraki / reboot_router.sh
Created April 27, 2025 14:39 — forked from dejanvukelic/reboot_router.sh
Function to check for status reboot Technicolor CGA2121 router if connection is dropped
#!/bin/bash
# Define the cookie jar and temp file for HTML content
COOKIE_JAR="cookie.txt"
HTML_FILE="response.html"
# URL details
LOGIN_URL="http://192.168.0.1/goform/logon"
RESTART_PAGE="http://192.168.0.1/ad_restart_gateway.html"
RESTART_ACTION="http://192.168.0.1/goform/ad_restart_gateway"
@duraki
duraki / Open New Tab for Selected Item.scpt
Last active January 11, 2025 04:09
An AppleScript for Automator.app to open selected item in new Finder window
# AppleScript for macOS Sonoma that opens a new Finder window/tab showing the directory of
# a selected item (file or folder). If no item is selected, the script does nothing. Can be
# used in a Shortcut.app, as a Service in the menubar item, or as a Quick Action extension.
#
# Author: H. Duraki <[email protected]>
# <https://github.com/duraki>
# Jan 11, 2025
tell application "Finder"
-- Check if there is a selection of Item/Folder
{
"schemaVersion": "1.2",
"key": "halis-publish-addon",
"name": "Halis Publish Addon",
"description": "A sample addon that for pentesting",
"baseUrl": "https://example.com",
"minimalSubscriptionPlan": "FREE",
"lifecycle":[],
"webhooks":[],
"components": [],
@duraki
duraki / zyrfi.txt
Created March 24, 2024 21:47
Zyscan Inclusion Tester
MATCH_PATTRN_RFI_VALID_WORLD_DOMINATION_PROJECT
@duraki
duraki / gist:424af289d0121cc518b635429f094d3b
Created July 31, 2023 21:32 — forked from zliuva/gist:1084476
A minimal Mach-o x64 executable for OS X
; A minimal Mach-o x64 executable for OS X (also see below Mountain Lion version)
;
; $ nasm -f bin -o tiny_hello tiny_hello.s
; $ chmod +x tiny_hello
; $ ./tiny_hello
; Hello World!
; $
; c.f.
; http://osxbook.com/blog/2009/03/15/crafting-a-tiny-mach-o-executable/ ( the original tiny mach-o executable )
@duraki
duraki / macOS Internals.md
Created July 31, 2023 07:42 — forked from kconner/macOS Internals.md
macOS Internals

macOS Internals

Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.

Starting Points

How to use this gist

You've got two main options:

@duraki
duraki / hide-all-app.scpt
Created October 3, 2022 19:36 — forked from Teraflopst/hide-all-app.scpt
AppleScript: Hide all applications and show the desktop on Mac
tell application "Finder"
set visible of every process whose visible is true and name is not "Finder" to false
set the collapsed of windows to true
end tell