Skip to content

Instantly share code, notes, and snippets.

View reteps's full-sized avatar
💭
Student

Pete Stenger reteps

💭
Student
View GitHub Profile
@reteps
reteps / kaltura_fetcher.py
Last active December 4, 2024 23:36
Fetch full-res MP4 and Captions from Kaltura owned by you, using SSO Microsoft signin.
import requests
import json
import re
import html
import os
import sys
from typing import List, Optional
KALTURA_BASE = 'https://mediaspace.illinois.edu/'
CLIENT_VERSION = 'v2.101'
# buildroot 2019.5
package/m4
--- a/lib/c-stack.c
+++ b/lib/c-stack.c
@@ -50,15 +50,16 @@
#if ! HAVE_STACK_T && ! defined stack_t
typedef struct sigaltstack stack_t;
#endif
-#ifndef SIGSTKSZ

Defcon Badge Writeup

Hello! I ended up reverse-engineering the badge to get the correct note sequence, get the correct codes for the friends, and flashing a custom boot image to my badge. This short README will include the relevant functions to the challenges + boot images.

Whoami

Cybersecurity club admin at the University of Illinois, SIGPwny. We do CTFs and fun stuff! This year, we had Minh present on Rick Rolling his high school, and an alum, Ravi, present on PACMAN M1 Attacks. This summer, I was reverse-engineering and exploiting cellular modems.

Setup

import sys, os, tempfile, shutil
import tarfile
import requests
import argparse
requests.packages.urllib3.disable_warnings(category=requests.packages.urllib3.exceptions.InsecureRequestWarning)
SPLUNK_APP_NAME = '_PWN_APP_'

Regulus Calendula

We are given:

e
1/2 bits randomly of P
1/2 bits randomly of Q
N
(P*Q=N)
@reteps
reteps / I2C Communication between roborio & arduino.md
Created October 13, 2019 22:11
I2C Communication between roborio & arduino

Wiring

wire scl to analog in wire sda to analog in

void setup() {
  Wire.begin(4);
 Wire.onReceive(dataReceived);
@reteps
reteps / adas
Created February 7, 2019 19:39
import itertools
#in_ = input()
mod = 1000000007
# find possible expressions
# find number of steps to sort expression
def iters_to_sort(s: str):
c = 0
s_list = list(s)
@reteps
reteps / user.js
Last active December 27, 2018 18:52
// ==UserScript==
// @name Estately + Zillow Plugin
// @namespace http://tampermonkey.net/
// @version 0.1.1
// @description Plugin
// @author You
// @match https://www.estately.com/*
// @grant none
// @run-at document-end
// @require https://code.jquery.com/jquery-3.3.1.min.js
0448a4f1893f2ba253bb0055dab0e0f5df36d5b7a2863dcdafae99d8c35c986ec6c7702117bb406d2636fe4d41cda383cebce54467ccaf7fd14826734aba2a4760