Skip to content

Instantly share code, notes, and snippets.

View fathonix's full-sized avatar
💭
I may be slow to respond.

Aldo Adirajasa Fathoni fathonix

💭
I may be slow to respond.
View GitHub Profile
@hackermondev
hackermondev / research.md
Last active May 5, 2025 03:30
Unique 0-click deanonymization attack targeting Signal, Discord and hundreds of platform

hi, i'm daniel. i'm a 15-year-old high school junior. in my free time, i hack billion dollar companies and build cool stuff.

3 months ago, I discovered a unique 0-click deanonymization attack that allows an attacker to grab the location of any target within a 250 mile radius. With a vulnerable app installed on a target's phone (or as a background application on their laptop), an attacker can send a malicious payload and deanonymize you within seconds--and you wouldn't even know.

I'm publishing this writeup and research as a warning, especially for journalists, activists, and hackers, about this type of undetectable attack. Hundreds of applications are vulnerable, including some of the most popular apps in the world: Signal, Discord, Twitter/X, and others. Here's how it works:

Cloudflare

By the numbers, Cloudflare is easily the most popular CDN on the market. It beats out competitors such as Sucuri, Amazon CloudFront, Akamai, and Fastly. In 2019, a major Cloudflare outage k

(* Follower Control Algorithm
This function implements a control algorithm for a follower system,
possibly used in robotics or autonomous vehicles. *)
let node follower_control (
leader_position: float,
leader_velocity: float,
follower_position: float,
follower_velocity: float
):
@Chubukov-Aleksey
Chubukov-Aleksey / debug_from_qr.py
Last active October 28, 2024 04:04 — forked from benigumocom/debug_from_qr.py
Connect Wireless Debug from Terminal on Android11
#!/usr/bin/env python3
"""
Android11
Pair and connect devices for wireless debug on terminal
python-zeroconf: A pure python implementation of multicast DNS service discovery
https://github.com/jstasiak/python-zeroconf
"""
@lupoDharkael
lupoDharkael / README.md
Created April 5, 2024 23:01 — forked from Moondarker/README.md
Fixing device UUIDs in BCD under Linux

Fixing device UUIDs in BCD under Linux

Please note, it's easier to just use a recovery flash drive/dvd disk!

I just wanted a new challenge, and I found it:

Info on target system

My friend has switched from Windows to Fedora. Somehow in the process, Windows Bootloader went missing from EFI partition (I would love to know how did that happen as much as you do or don't, but I wasn't supervising at the moment, so... no idea)

@robertkirkman
robertkirkman / README.md
Last active December 11, 2024 19:37
How to build Turnip for SurfaceFlinger on-device without a PC and without zhiyong/termux-ndk

How to build Mesa Turnip with -Dplatforms=android but without cross-compilation

Small warning: This will "mess up" your Termux installation's zlib.pc file, but if you do other compilations with really similar settings to this one, you're probably going to need it again before you "fix" it by reinstalling Termux's official zlib anyway.

  1. Install Termux

termux-setup-storage
pkg install git make clang binutils
git clone https://github.com/madler/zlib.git
@jcmvbkbc
jcmvbkbc / gist:316e6da728021c8ff670a24e674a35e6
Last active April 5, 2025 21:38
esp32s3 linux rebuild scripts
Latest versions of these scripts are available in git repository https://github.com/jcmvbkbc/esp32-linux-build
@d7samurai
d7samurai / .readme.md
Last active March 20, 2025 01:34
Minimal D3D11 sprite renderer

Minimal D3D11 sprite renderer

Minimal D3D11 sprite renderer: basic back-to-front sprite rendering reference code with example sprite sheet animation logic. As usual: Complete, runnable single-function app. No modern C++ / OOP / obscuring cruft.

adventurer

Swap out the sprite sheet with a font atlas for a lightweight GUI / text renderer. Clip individual sprites and glyphs by offsetting screenPos and atlasPos to top left corner of visible area and adjusting size accordingly (all values in pixels):

sprite.screenPos.x += 17;
sprite.screenPos.y += 10;
@slavafomin
slavafomin / 00-typescript-esm.md
Last active April 23, 2025 16:35
Using TypeScript with native ESM

Using TypeScript Node.js with native ESM

This reference guide shows how to configure a TypeScript Node.js project to work and compile to to native ESM.

Rationale

CommonJS module system was introduced by the Node.js developers due to the lack of the notion of "modules" in the original JavaScript (ECMAScript) language specification at that time. However, nowadays, ECMAScript has a standard module system called ESM — ECMAScript Modules, which is a part of the accepted standard. This way CommonJS could be considered vendor-specific and obsolete/legacy. Hopefully, TypeScript ecosystem now supports the "new" standard.

So the key benefits are:

@atyachin
atyachin / Android_Emulator_AWS_EC2_ARM64_2022.txt
Last active April 17, 2025 08:11
Running headless android emulator on AWS EC2 Ubuntu instance (ARM64 / aarch64) - 2022
Android Emulator (ARM64) on EC2 - 2022
---------------------------------------
1. Launch EC2 ARM based Instance (a1.metal / a1.2xlarge): (16 Gb RAM, 32Gb Disk), Ubuntu Server 22.04 LTS (HVM) ARM x64
2. sudo apt update && sudo apt upgrade
3. sudo apt install default-jdk python3-pip repo python-is-python3 unzip libpcre2-dev adb
4. wget https://dl.google.com/android/repository/commandlinetools-linux-8512546_latest.zip
5. unzip commandlinetools-linux-8512546_latest.zip -d android-sdk
6. sudo mv android-sdk /opt/
7. mkdir /opt/android-sdk/cmdline-tools/latest
8. mv /opt/android-sdk/cmdline-tools/* /opt/android-sdk/cmdline-tools/latest (ignore the error)
@amindadgar
amindadgar / main
Created June 4, 2021 14:47
Get DHCP client list from android hotstpot ( connect using adb )
# you can run this commands for rooted devices
adb tcpip 5555
adb connect 192.168.43.1 # mobile AP IP (Always it is this)
adb shell
cat /data/misc/dhcp/dnsmasq.leases # this command will show a list of connected devices with their ip and mac address