Skip to content

Instantly share code, notes, and snippets.

View nucular's full-sized avatar

nucular nucular

View GitHub Profile
@nucular
nucular / LICENSE
Last active August 29, 2015 14:07
Python Youtube tools
The MIT License (MIT)
Copyright (c) 2014 nucular
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@nucular
nucular / README.md
Last active August 29, 2015 14:06
(He)XChat Python script manager replacement

Pyld

This script replaces the broken Python script manager of HexChat. Just drop it in the "addons" folder and move all other Python scripts to another folder. Replace the basedir variable in this script with the absolute path to your folder and restart.
The script will create a file named auto.txt to store a list of scripts loaded at startup too.

@nucular
nucular / dogefish.djs
Created September 6, 2014 12:24
Dogefish
quiet
much deadfish implementation
2014, by nucular
so Public Domain :)
loud
shh print "wow"
very program is 'iiisiisddoddddddddoiiiiiiiio'
very acc is 0
@nucular
nucular / omegle.md
Last active January 10, 2025 16:58
Omegle protocol reverse-engineering

Let's reverse-engineer Omegle. PROPERLY!

I could not find a proper, detailed (and up-to-date) reverse-engineerment of Omegle's text chat protocol on the internet, so here, have one made by analyzing the web app (web requests and source code).
The responses are beautified and the query strings split up and URI-decoded for readability.
Note that "query string" refers to parameters encoded into the URL and "form data" to parameters in the POST body which do not have to be URI-encoded.

TODO:

@nucular
nucular / tipstat.py
Last active August 29, 2015 14:05
tipstat (Python 2.7)
# -*- coding: utf-8 -*-
from __future__ import print_function
try:
from urllib2 import urlopen
from urllib import urlencode
except ImportError:
from urllib.request import urlopen
from urllib.parse import urlencode
@nucular
nucular / .screenshot.png
Last active October 15, 2024 05:24
BytePusher Nyan Cat
.screenshot.png
@nucular
nucular / fetcher.py
Created April 5, 2014 15:55
Quickpaste Fetcher
"""
Ultra-simple fetcher for all pastes at qp.mniip.com.
It really just tries out all combinations from "00" until "zz"...
"""
DELAY = 3 # seconds
START = 0 # "00"
END = 1295 # "zz"
OUTPUT_DIR = "./result" # output folder
OVERWRITE = False # fetch again even if already downloaded