Skip to content

Instantly share code, notes, and snippets.

Avatar
🍌
I am here to bring bananas to the people

Tom-Oliver Heidel blackjack4494

🍌
I am here to bring bananas to the people
  • Bremen/Hamburg, Germany
View GitHub Profile
@rich20bb
rich20bb / PythonSimpleWebsocket
Created Dec 2, 2012
Simple websocket server in Python. Echos back whatever is received. Works with Chome, Firefox 16, IE 10.
View PythonSimpleWebsocket
import time
import struct
import socket
import hashlib
import base64
import sys
from select import select
import re
import logging
from threading import Thread
View SpectatorServer.cs
// Type: LOLReplay.SpectatorServer
// Assembly: LOLReplay, Version=0.8.1.4, Culture=neutral, PublicKeyToken=null
// Assembly location: C:\Dokumente und Einstellungen\[...]\Desktop\Downloads\LOLReplay.exe
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Text;
@leptos-null
leptos-null / LMApiaryDeviceCrypto.h
Last active Jul 20, 2021
Fully implemented mirror of YouTube's YTApiaryDeviceCrypto class
View LMApiaryDeviceCrypto.h
//
// LMApiaryDeviceCrypto.h
//
// Created by Leptos on 11/18/18.
// Copyright © 2018 Leptos. All rights reserved.
//
#import <Foundation/Foundation.h>
#define kYouTubeBase64EncodedProjectKey @"vOU14u6GkupSL2pLKI/B7L3pBZJpI8W92RoKHJOu3PY="
@teepark
teepark / btree.py
Created Sep 9, 2010
a pure-python B tree and B+ tree implementation
View btree.py
import bisect
import itertools
import operator
class _BNode(object):
__slots__ = ["tree", "contents", "children"]
def __init__(self, tree, contents=None, children=None):
self.tree = tree
View endpoints
.rdata:00007FF72615EF30 00000036 C mp.php?hardware=%s&uid=%s&wait=%.0f&prot=%i&reauth=%i
.rdata:00007FF72616B378 0000003F C prime.php?hardware=%s&uid=%s&prot=%i&lastCheck=%f&numChecks=%i
.rdata:00007FF726175E80 00000070 C messages.php?qt=messages-delete&hardware=%s&uid=%s&language=%s&type=%s&del=%i&start=%i&max=%i&timezoneOffset=%i
.rdata:00007FF726175F10 0000005F C messages.php?qt=messages-read&start=%i&max=%i&hardware=%s&uid=%s&language=%s&timezoneOffset=%i
.rdata:00007FF726176180 00000079 C communities.php?qt=communities-getsettings&hardware=%s&uid=%s&language=%s&getsettings=1&id=%i&cprot=%i&timezoneOffset=%i
.rda
@leptos-null
leptos-null / YouTube_Music_Client.md
Last active Sep 14, 2021
Writing an iOS YouTube Music client
View YouTube_Music_Client.md

Writing an iOS YouTube Music client

I’ve been using YouTube Music as my main music streaming service for almost a year and a half. The iOS client is great- I’ve never had a single complaint. It’s potentially one of the most bug free apps I’ve ever used, it has an extremely friendly, and simple, graphical interface, and the service itself is great.

I was curious how the client worked in terms of networking, and while curiosity may treat cats poorly, it lands researchers in black sites can provide a lot of insight.

Step 0

The first thing I do when reverse engineering a client is monitor HTTP requests while the application starts up, and when doing the tasks interested in. On a jailbroken iOS device, I use FLEX by FlipBoard.

@johndrinkwater
johndrinkwater / dualshock-research
Last active Oct 10, 2021
I’m interested in writing (or helping to spec out the protocol so someone else can write) the linux kernel driver for Sony’s DualShock 4 (PS4’s lovely controller) Currently using the output of HID RAW from a USB connected dualshock 4… For the gyro/touchpad discovery, I’ve just been using some terrible c code to throw numbers on the screen and it…
View dualshock-research
TADA, it’s `hexdump -v -e '64/1 "%02x" "\n"' < /dev/hidraw3`
No idea what the first byte is… but I’m going to assume its for device ID for the many users that are connected, but it probably has to be set by the connected machine?
01ff777f7f0800aa0000435dfdf1ff14000200c5ff0721150300000000001b000001fc9133a32990880428008000000080000000008000000080000000008000
↑↑↑↑
left stick, value, first field is horz (00 left), second field is vertical (00 top)
017f80ff61080064000059f2fdfffffbff0e00d107081e9bf600000000001b0000018e94b1b00690880428008000000080000000008000000080000000008000
↑↑↑↑
@mumrah
mumrah / websocketserver.py
Created Aug 7, 2010
Simple WebSockets in Python
View websocketserver.py
import time
import struct
import socket
import hashlib
import sys
from select import select
import re
import logging
from threading import Thread
import signal
@tanaikech
tanaikech / submit.md
Last active Oct 16, 2021
Downloading Files From Google Drive Under No Authorization Using Browser
View submit.md

Downloading Files From Google Drive Under No Authorization Using Browser

This is a sample script for downloading files from Google Drive under no authorization using browser. By using this sample, you can make other users download files from your Google Drive. Even if the other users are not Google users, they can download the files.

Demo

@Prajjwal
Prajjwal / ephemeral-file-sharing-services.md
Last active Nov 6, 2021
A List of Ephemeral File Sharing Services
View ephemeral-file-sharing-services.md

A List of Ephemeral File Sharing Services

Contributions welcome.

~ Prajjwal Singh

Service CLI? Max Size Direct Access Files Expire? Can Limit Download Count? Password Protection HTTPS
c-v.sh curl -F 4 GB Yes Yes, by Mister Alg. No No Enforced
FileIO Yes 5 GB Yes Optionally Fixed @ 1 No Yes