I hereby claim:
- I am ablanathtanalba on github.
- I am dalymulti (https://keybase.io/dalymulti) on keybase.
- I have a public key ASCnAuiJ65svsQvm5JeWX2cXiaU0rfX9Pu2eaC1r8RM-5wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import json | |
import math | |
# python version of estimate max entropy function | |
# manually tested, produces same results as the js version | |
def estimate_max_entropy(str): | |
MAX_LS_LEN_FOR_ENTROPY_EST = 256 |
import math | |
def estimate_max_entropy(str): | |
MAX_LS_LEN_FOR_ENTROPY_EST = 256 | |
SEPS = "._-" | |
BIN = "01" | |
DEC = "0123456789" | |
HEX = "abcdef" + DEC |
from flask import Flask, request, response | |
app = Flask(__name__) | |
# example string taken from actual results | |
COOKIE = '82d07aeb-ce29-4e6d-a35f-76ce3545fa38' | |
@app.route('/') | |
def route_pixel_tracking_cookie_status(): | |
response.status = '200' |
/* | |
SOLUTIONS TO DETECT IF A PAGE IS LOADING | |
After Ajax calls are made it runs the cb function | |
*/ | |
//in the rare case that jquery is not already included, | |
//this appends it to the head | |
var head = document.getElementsByTagName('head')[0]; | |
var script = document.createElement('script'); |