Skip to content

Instantly share code, notes, and snippets.

View rockyxcoded's full-sized avatar

Nelson Fulfil rockyxcoded

View GitHub Profile
@rockyxcoded
rockyxcoded / research.md
Created January 22, 2025 17:17 — forked from hackermondev/research.md
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

@rockyxcoded
rockyxcoded / my.cnf
Created November 7, 2024 22:18
MariaDB settings for speed and performance
To optimize MariaDB settings for speed and performance, especially for a web application, you'll want to focus on settings that improve query caching, memory usage, connection handling, and disk I/O. The exact settings depend on your server resources (CPU, RAM, and disk speed), but here are general recommendations to start with. Make adjustments based on your server's specific needs and monitor performance after each change.
1. Query Cache
MariaDB has a query cache that stores the result of SELECT queries to speed up repetitive queries.
ini
Copy code
query_cache_size = 128M # Start with 128M; adjust based on load and performance
query_cache_type = ON # Enables query cache
@rockyxcoded
rockyxcoded / fork-example.php
Created March 28, 2024 00:25 — forked from nicksantamaria/fork-example.php
Example: Parallel processing in PHP using pcntl_fork()
<?php
/**
* @file
* Basic demonstration of how to do parallel threads in PHP.
*/
// This array of "tasks" could be anything. For demonstration purposes
// these are just strings, but they could be a callback, class or
// include file (hell, even code-as-a-string to pass to eval()).
@rockyxcoded
rockyxcoded / _screenshot.md
Created January 4, 2024 01:21 — forked from kamilogorek/_screenshot.md
Clutter-free VS Code Setup
image