Skip to content

Instantly share code, notes, and snippets.

@hackermondev
hackermondev / research.md
Last active January 21, 2025 22:55
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

@Thraetaona
Thraetaona / search.py
Created January 6, 2025 05:59
A Python command-line search engine that recursively searches through directories for files containing lines that match user-defined search queries.
#!/usr/bin/env python3
# ----------------------------------------------------------------------
# SPDX-License-Identifier: CC0-1.0
# Authored by Fereydoun Memarzanjany
#
# To the maximum extent possible under law, the Author waives all
# copyright and related or neighboring rights to this code.
#
# You should have received a copy of the CC0 legalcode along with this
@terasakisatoshi
terasakisatoshi / binary GCD (aka Stein's) algorithm.ipynb
Last active January 21, 2025 22:54
binary GCD (aka Stein's) algorithm (Python implementation)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pixeljammed
pixeljammed / stupid
Last active January 21, 2025 22:53
Retarded video script for YouTube that made me laugh
(function() {
let increment = 0.01; // Adjust this value to change the increment
let lowerBound = 0.1; // Adjust this value to change the lower bound
let upperBound = 3; // Adjust this value to change the upper bound
let A = 0; // Adjust this value to change the minimum hold time in milliseconds
let B = 2; // Adjust this value to change the maximum hold time in milliseconds
let targetRate = 0.1; // Initialize targetRate with a default value
let holding = false;
let holdTimer;
@pmacMaps
pmacMaps / optimize_lyr.py
Created January 21, 2025 20:23
Apply Layer Optimization for Feature Service Hosted in ArcGIS Online
from arcgis.gis import GIS
from arcgis.features import FeatureLayerCollection
from print_errors import print_exception # helper module to printing error messages
from time import strftime as format_time
from time import sleep
def optimize(portal_url, username, password, item_id, lyr_idx, req_timeout=180):
"""
portal_url = URL for GIS portal; string
username: username of administrative user to portal; string

Next.js Starters

A list of CLI generators, starter kits / boilerplates and toolkits to kick start your Next.js apps.

  • What is included in this list:
    • Has ~1K+ Github stars
    • Actively maintained / up to date
    • Includes a style / css solution or UI Framework
    • Includes a database
  • Includes authentication / authorization
@jjb
jjb / file.md
Last active January 21, 2025 22:42
Using Jemalloc 5 with Ruby.md

For years, people have been using jemalloc with ruby. There were various benchmarks and discussions. Legend had it that Jemalloc 5 didn't work as well as Jemalloc 3.

Then, one day, hope appeared on the horizon. @wjordan offered a config for Jemalloc 5.

Ubuntu/Debian

FROM ruby:3.1.2-bullseye
RUN apt-get update ; \