Skip to content

Instantly share code, notes, and snippets.

IRC friends, enemies and others,

Control of freenode has recently been seized by the proprietors of Freenode Limited, a holding company established by a previous head of freenode and a third party as part of a deal with a corporate sponsor. The terms of that deal were not disclosed, and remain unknown to me.

At the time, we, freenode's volunteer staff, were given informal guarantees that staff retained operational control of the network. The same guarantees were repeated after leadership was passed on to a new head of staff. I don't

@sleirsgoevy
sleirsgoevy / ipv6-df-2.c
Last active March 8, 2021 15:34
FreeBSD 9 PoC of kernel code execution using the new TheFlow vulnerability
#include <sys/types.h>
#include <sys/param.h>
#include <sys/cpuset.h>
#include <sys/socket.h>
#include <sys/mman.h>
#include <sys/sysctl.h>
#include <sys/vmmeter.h>
#include <netinet/in.h>
#include <string.h>
#include <unistd.h>
@iMoD1998
iMoD1998 / FixGPLR.py
Last active June 26, 2023 20:04
FixGPLR - Xbox 360 GPLR remover for IDA decompiler
import idautils
import ida_bytes
import ida_funcs
import ida_ida
import ida_kernwin
import ida_search
import ida_idp
import idaapi
import idc
import pprint
@WAUthethird
WAUthethird / Interacting_with_Jukebox_VastAI.ipynb
Last active February 13, 2024 07:10
Using vast.ai with OpenAI Jukebox
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@psxdev
psxdev / gist:abcdc4eae361c993eea9ebc03dd21e90
Created November 18, 2020 18:34
Model CUH-ZEY1 initialization with camera adaptor
Nov 18 18:26:30 pi64 kernel: usb 2-1.2: USB disconnect, device number 9
Nov 18 18:26:31 pi64 kernel: usb 2-1.2: new SuperSpeed Gen 1 USB device number 10 using xhci_hcd
Nov 18 18:26:31 pi64 kernel: usb 2-1.2: New USB device found, idVendor=05a9, idProduct=058a, bcdDevice= 1.00
Nov 18 18:26:31 pi64 kernel: usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Nov 18 18:26:31 pi64 kernel: usb 2-1.2: Product: USB Camera-OV580
Nov 18 18:26:31 pi64 kernel: usb 2-1.2: Manufacturer: Omnivision Technologies, Inc.
Nov 18 18:26:31 pi64 kernel: uvcvideo: Found UVC 1.00 device USB Camera-OV580 (05a9:058a)
Nov 18 18:26:31 pi64 kernel: uvcvideo 2-1.2:1.0: Entity type for entity USB Camera-OV580 was not initialized!
Nov 18 18:26:31 pi64 kernel: uvcvideo 2-1.2:1.0: Entity type for entity Camera 1 was not initialized!
Nov 18 18:26:31 pi64 kernel: uvcvideo 2-1.2:1.0: Entity type for entity USB Camera-OV580 was not initialized!
@lrvick
lrvick / github-troll.md
Last active May 3, 2024 16:20
Trolling Github's DMCA repo with their own security flaws.
@LWSS
LWSS / gist:9d2cd3205d197545d64fd27ee897fd53
Created April 29, 2020 18:37
wip cstrike building instructions
####################### INSTALLING GCC 4.6.3( OPTIONAL AND NOT RECOMMENDED! SKIP THIS ) #######################
mkdir -p /opt/gcc-4.6/
cd /opt/gcc-4.6/
wget http://ftp.gnu.org/gnu/gcc/gcc-4.6.3/gcc-4.6.3.tar.gz
tar -xvf gcc*
cd gcc-4.6.3/
# we need to make some changes to get this running on new linux
# I have conveniently made some patches for you
# https://gist.github.com/LWSS/fae2d3c34205dc0074ddd9ed767e7e99
@JeffBrownTech
JeffBrownTech / PromptMethod-dotNET.ps1
Created March 26, 2020 12:41
Create a PowerShell prompt using .NET classes
function Remove-MyItem {
[CmdletBinding()]
param(
[Parameter(Mandatory, Position = 1)]
[string]
$Path
)
$item = Get-Item -Path $Path
@NeKzor
NeKzor / sixense_patch.js
Created November 29, 2019 21:28
Play Portal 2 Sixense Perceptual Pack without Senz3D camera.
const fs = require('fs');
const client_sixense = process.argv[2] || './portal2_sixense/bin/client_sixense.dll';
const module = fs.readFileSync(client_sixense);
const patch = [
[
// Fix crash in init
// cmp ecx 69
<html>
<head> </head>
<body>
<script src="object.keys.js"></script>
<script src="xRegistry.js"></script>
<script>
// Change ip here to reflect you PS3 ip
// Navigate this page in the browser to see the result in the console
// (WORKS ON PS3) Desktop used only to access to the console
console.log(