Skip to content

Instantly share code, notes, and snippets.

View aveao's full-sized avatar
🤔
delete this feature

ave aveao

🤔
delete this feature
View GitHub Profile
@dequis
dequis / ldpreload.c
Created July 20, 2022 10:09
sleep(4) frizz reduction spray for zoom
/*
sleep(4) frizz reduction spray for zoom
because this thing decides to freeze for a long time every time i plug/unplug
my usb hub, or when any cable is loose. seems to be 4 seconds multiplied by
number of plug/unplug events received
caveats:
- your video will still be frozen as usual, re-enable video
- this might increase the risk of your devices not showing up after it
rhcloud.com
freepornfull.com
justmysize.com
kompoz.me
allwomenstalk.com
lindamedic.com
maximonline.ru
planetromeo.com
www.net.cn
javjunkies.com
@ckurtz22
ckurtz22 / resize-user.py
Last active August 18, 2023 12:45
Script to resize an emuMMC image for the Nintendo Switch.
import sys
import os
import math
import uuid
import struct
import configparser
from struct import unpack, pack
from binascii import crc32
if len(sys.argv) > 4 or len(sys.argv) < 2:

The following is a write-up of how I initially achieved kernel code execution on the Nintendo Switch, very much inspired by hexkyz's write-ups. The work discussed was completed over the course of a single conversation between hthh and I during the evening of November 21st, 2017. A number of snippets are attached from that conversation as inline links, in the hopes that they'll be interesting to readers.

Background information


I would recommend one read hexkyz's recent write-up on how the switch was broken into via GPU DMA attacks. It's a great read!

In particular, he describes:

Additionally, the kernel itself would start allocating memory outside of the carveout region
###############################################
# TX SX OS unpacker - by hexkyz and naehrwert #
###############################################
from Crypto.Cipher import AES
from Crypto.Util import Counter
import os
import struct
"""

#petya #petrWrap #notPetya

Win32/Diskcoder.Petya.C

Ransomware attack.

About

This gist was built by the community of the researchers and was scribed by Kir and Igor from the QIWI/Vulners. We are grateful for the help of all those who sent us the data, links and information. Together we can make this world a better place!

Gist updates

@gretel
gretel / amiibo.sh
Last active November 23, 2022 22:37
query, read, encode (using amiitool), write and lock NTAG215 (using uFR Nano hardware) for the purpose of researching Nintendo's Amiibo infrastructure Raw
#!/bin/bash
# This is a companion script to https://github.com/konstantin-kelemen/arduino-amiibo-tools
# The original post this was crafted for was https://games.kel.mn/en/create-amiibo-clones-with-arduino/
# For more info go to https://games.kel.mn/en/companion-script-to-simplify-amiibo-cloning-with-arduino/
#requirements:
#sha1sum (part of coreutils)
#xxd (part of vim)
#hexdump
#amiitool (https://github.com/socram8888/amiitool)

Trashing the Vodafone Station

How to replace the Vodafone Station with your very own router

Vodafone forces its customers to use their modem/router, the "Vodafone Station": using any other router is impossible because authentication is being done via a custom PPPoE setup.
In the PPPoE packet there is a field named Host-Uniq which is used to separate packets from different PPPoE sessions: Vodafone requires the Station serial number to be put in this field as authentication.

Hardware setup

A Linux router with root access is needed to replace the Station with. With an xDSL connection a modem with a custom firmware like OpenWrt has to be used, most likely one based on a Lantiq SoC.
For a FTTH internet connection then every machine with at least two gigabit ethernet interface and a decent CPU will do it.

@C-D-Lewis
C-D-Lewis / get-sdks.js
Created December 11, 2016 20:18
Download all Pebble SDK core packages
var request = require('request');
var https = require('https');
var fs = require('fs');
var URL = 'https://sdk.getpebble.com/v1/files/sdk-core';
var OUTPUT_DIR = './sdks';
if(!fs.existsSync(OUTPUT_DIR)){
fs.mkdirSync(OUTPUT_DIR);
}