Skip to content

Instantly share code, notes, and snippets.

View pavi2410's full-sized avatar
:octocat:
Githubbing

Pavitra Golchha pavi2410

:octocat:
Githubbing
View GitHub Profile
@hackermondev
hackermondev / research.md
Last active February 18, 2025 02:08
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

@Spikeysanju
Spikeysanju / ffmpeg-cheatsheet.md
Last active August 27, 2024 03:26
A comprehensive cheatsheet of FFmpeg commands with descriptions and examples, covering video and audio processing tasks such as format conversion, resizing, trimming, extracting audio, and adding effects.

FFmpeg Cheatsheet

Common FFmpeg Options

Option Description Example
-i Input file ffmpeg -i input.mp4
-vf Video filters (apply effects to video) ffmpeg -i input.mp4 -vf "scale=1280:720" output.mp4
-c:v Video codec (specify video compression method) ffmpeg -i input.mp4 -c:v libx264 output.mp4
-c:a Audio codec (specify audio compression method) ffmpeg -i input.mp4 -c:a aac output.mp4

A Quick Guide to Big-O Notation, Memoization, Tabulation, and Sorting Algorithms by Example

Curating Complexity: A Guide to Big-O Notation


A Quick Guide to Big-O Notation, Memoization, Tabulation, and Sorting Algorithms by Example

Curating Complexity: A Guide to Big-O Notation

@rbento
rbento / notes-on-computer-networks.md
Last active March 11, 2022 03:34
My notes on computer networks

Computer Networking

High-level descriptions of computer network topics.

Networking Protocols

ARP (Address Resolution Protocol)


@pavi2410
pavi2410 / Data Structures in C
Last active August 25, 2021 09:16
Implementation of data structures in C
## Singly Linked List
- new node
- size
- insert at beginning
- insert at end
- insert at position
- delete at beginning
- delete at end
- delete at position
- print list
@sindresorhus
sindresorhus / esm-package.md
Last active February 17, 2025 11:40
Pure ESM package

Pure ESM package

The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.

This means you have the following choices:

  1. Use ESM yourself. (preferred)
    Use import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.
  2. If the package is used in an async context, you could use await import(…) from CommonJS instead of require(…).
  3. Stay on the existing version of the package until you can move to ESM.
@kevlawz
kevlawz / Windows Defender Exclusions for Developer.md
Last active December 24, 2020 20:24 — forked from dknoodle/Windows Defender Exclusions VS 2017.ps1
Windows Defender exclusions for Visual Studio 2017 and Flutter

Windows Defender exclusions for Visual Studio 2017/Android Studio/VSCode/Flutter

I've tried to strike a balance between performamce and security. I've commented out many of the individual file exceptions, however I also left the commented line for future reference/tweaking if needed. WSL2 only. WSL1 exclusions are different and not included here.

Refrerences (some)

Hyper-V exclusions (Taken from Windows Server 2016/2019 Microsoft Best Practices)

@john-raymon
john-raymon / authentication-on-the-web-cheat-sheet.md
Last active November 1, 2023 15:11
Authentication on the Web (Sessions, Cookies, JWT, localStorage, and more)

Authentication

  • authentication: verifying identity (401 Unauthorized)
  • authorization: verifying permissions (403 Forbidden)

Username/password scheme

  • stateful/session-based/cookie-based (i.e. session using a cookie)
  • stateless/token-based (i.e. token using JWT / OAuth / other)
@userlandkernel
userlandkernel / asm.sh
Last active March 14, 2022 03:27
Bash assembly emulator
function MMU_ERROR(){
echo -e "MMU_PANIC: $1" >&2;
while true;do
SPIN_FOREVER=1;
done
exit 1;
}
function JIT_ERROR(){
echo -e "JIT Error: $1" >&2;
@alexanderbazo
alexanderbazo / build.yml
Created December 6, 2019 16:07
Github Actions: Build and Release Android-APK
name: Minimal Android CI Workflow
on:
push:
branches:
- master
tags:
- 'v*'
jobs: