Skip to content

Instantly share code, notes, and snippets.

View JensenDied's full-sized avatar

Jensen Hornick JensenDied

View GitHub Profile
@JensenDied
JensenDied / poc.sh
Last active November 1, 2016 05:27
Proof of concept script to fetch portal captured time
#!/bin/sh
# Navigate to https://m-dot-betaspike.appspot.com/handshake, login with your ingress account, use the SACSID cookie to populate the following
AUTH="SACSID="
# Grab a portal guid from intel, open network tab and clear stuff, click on a portal, look for getPortalDetails and fetch the guid from the request param
portalGuid=""
INGRESS_VERSION="%7B%22nemesisSoftwareVersion%22%3A%222014-09-30T18%3A10%3A49z%208c0548b9de8d%20opt%22%2C%22deviceSoftwareVersion%22%3A%220.0.0%22%7D"
INGRESS_URL="https://m-dot-betaspike.appspot.com"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@JensenDied
JensenDied / MapData.cpp
Created November 14, 2012 02:57
Helbreath Client / Player Speed Issues
// Pointing out the exact bad code that causes various speed discrepancies between players in Helbreath
int CMapData::iObjectFrameCounter(char * cPlayerName, short sViewPointX, short sViewPointY) {
/* Snip */
// dwFrameTime = expected frame time + delay
dwFrameTime = m_stFrame[m_pData[dX][dY].m_sOwnerType][m_pData[dX][dY].m_cOwnerAction].m_sFrameTime + iDelay
// if (time since last frame update > expected frame time)
@JensenDied
JensenDied / lvl8.py
Created August 29, 2012 19:18
Stripe-CTF2-level8
import string
import httplib2
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer
import random
# Configuration
webhook_port = 55555;
webhook_addr = "localhost";
PasswordDB_addr = "localhost";
PasswordDB_path = "/"