Skip to content

Instantly share code, notes, and snippets.

@edouard-lopez
edouard-lopez / How-to-flash-and-root-OnePlus-3T-on-Linux.md
Last active March 24, 2023 00:34
How to flash and root OnePlus 3T on Linux

How to flash and root OnePlus 3T on Linux

@numberwhun
numberwhun / osi_model
Created November 16, 2016 00:04
osi_model
What is OSI model?
The OSI model (Open System Interconnection) model defines a computer networking framework to implement protocols in seven layers. A protocol in the networking terms is a kind of negotiation and rule in between two networking entities.
Layers of OSI model:
Physical layer
The Physical layer is also called as the Layer 1. Here are the basic functionalities of the Physical layer:
Responsible for electrical signals, light signal, radio signals etc.
Hardware layer of the OSI layer
@MrYar
MrYar / Firefox-68
Last active March 7, 2025 06:25 — forked from haasn/about:config.md
Firefox telemetry and spy removal
// Turn off "Sends data to servers when leaving pages"
user_pref("beacon.enabled", false);
// Prevention of some telemetry related to the newtab
user_pref("browser.newtabpage.directory.ping", "");
user_pref("browser.newtabpage.directory.source", "");
user_pref("browser.newtabpage.enhanced", false);
// "In the release channels the Mozilla location service is used to help in figuring out regional search defaults."
// Which means sending collectable data
=========== ./BANANAGLEE/BANANAUSURPER/BG2200_UPGRADE/UPGRADE/BUSURPER-2211-611.exe ===========
00000000 l df *ABS* 00000000 upgrade_pix.c
00000000 l df *ABS* 00000000 change_page_permission.c
00000000 l df *ABS* 00000000 osVersionChecking.c
=========== ./BANANAGLEE/BANANAUSURPER/BG2200_UPGRADE/UPGRADE/BUSURPER-2211-614.exe ===========
00000000 l df *ABS* 00000000 upgrade_pix.c
00000000 l df *ABS* 00000000 change_page_permission.c
00000000 l df *ABS* 00000000 osVersionChecking.c
=========== ./BANANAGLEE/BANANAUSURPER/BG2200_UPGRADE/UPGRADE/BUSURPER-2211-622.exe ===========
00000000 l df *ABS* 00000000 upgrade_pix.c
@myleshorton
myleshorton / tor-authors
Created June 17, 2016 15:35
Authors of tor by lines of code committed
[tor (master)]$ git ls-tree -r -z --name-only HEAD -- $1 | xargs -0 -n1 git blame --line-porcelain HEAD |grep "^author "|sort|uniq -c|sort -nr
179842 author Nick Mathewson
112849 author Karsten Loesing
70589 author Roger Dingledine
19877 author Yawning Angel
19734 author Andrea Shepard
11220 author teor (Tim Wilson-Brown)
9076 author Ola Bini
7443 author George Kadianakis
6066 author nils
@boTux
boTux / update-blocklists.sh
Last active June 22, 2020 14:52
Fetch, Merge, and Strip Blocklists from url list
#!/bin/bash
# Sync Blocklists.
# by boTux.
# inspired by :
# https://gist.github.com/raidzero/9202581#file-blocklist-update-sh
# https://gist.github.com/jult/e76c628899bd5aa3c33a
# Add cron :
# tout les jours a 05:00
@spaze
spaze / opera-vpn.md
Last active December 22, 2024 15:50
Opera VPN behind the curtains is just a proxy, here's how it works

2023 update

ℹ️ Please note this research is from 2016 when Opera has first added their browser "VPN", even before the "Chinese deal" was closed. They have since introduced some real VPN apps but this below is not about them.

🕵️ Some folks also like to use this article to show a proof that the Opera browser is a spyware or that Opera sells all your data to 3rd parties or something like that. This article here doesn't say anything like that.


When setting up (that's immediately when user enables it in settings) Opera VPN sends few API requests to https://api.surfeasy.com to obtain credentials and proxy IPs, see below, also see The Oprah Proxy.

The browser then talks to a proxy de0.opera-proxy.net (when VPN location is set to Germany), it's IP address can only be resolved from within Opera when VPN is on, it's 185.108.219.42 (or similar, see below). It's an HTTP/S proxy which requires auth.

@Teino1978-Corp
Teino1978-Corp / AET.md
Created March 19, 2016 20:56
Attacking IPV6

Attacking IPV6

Rose Fragmentation Attack

The Rose Fragmentation Attack was conceived through a need to create disruption in a network. This attack is a combination of the SYN attack and the "Unknown" ICMP attack. The following link is for an in-depth analysis of the attack.

The Rose Fragmentation Attack

@kennwhite
kennwhite / Install_Alpine_Linux_3.3_on_VirtualBox_OSX.md
Last active June 21, 2023 15:05
Howto: Install Alpine Linux 3.3 on VirtualBox OSX

Howto: Install Alpine Linux 3.3 on VirtualBox OSX

  • Latest Standard ISO version x86_64 is recommended (http://alpinelinux.org/downloads/)
  • Create new VM ("Linux 2.6 / 3.x / 4.x (64-bit)")
  • 1 CPU w/ 512BM RAM and 1 GB default (VDI) disk is more than sufficient
  • Default networking (NAT)
  • Boot and add Alpine ISO as attached virtual install media
  • Default root password is blank (though note - ssh PermitRootLogin defaults to disallow blank passwords and: prohibit-password; switch to yes for Host ssh)
  • Run setup-alpine
  • Defaults are fine, but you do want "sys" disk setup to sda, y to confirm