Skip to content

Instantly share code, notes, and snippets.

View h43z's full-sized avatar
👾
mindfulz

ᖇiᑕᕼᗩᖇᗪ h43z

👾
mindfulz
View GitHub Profile
@h43z
h43z / export-analytics.js
Last active October 24, 2022 20:02
Export more than 90 days of tweet activity data from https://analytics.twitter.com
function exportData(start, end){
const checkTimer = setInterval(async () => {
const resp = await fetch(`${document.URL}/export.json?start_time=${start}&end_time=${end}&lang=en&export_type=by_tweet`, {
method: "post"
})
const json = await resp.json()
if(json.status === 'Available'){
@h43z
h43z / 0722.md
Last active August 5, 2022 22:45
Intigrity July 2022 Challenge

Intigrity July 2022 Challenge

writeup by @h43z, h.43z.one
For best learning effect always try to solve on your own first! 
If you hit a dead end, 
read writeup until you get new inspiration on how to proceed and stop reading further. 
Repeat until sucessful solve.
import logging
import mitmproxy.types
from mitmproxy import ctx
from mitmproxy import command
from mitmproxy import flow
from mitmproxy import http
from mitmproxy.log import ALERT
class Intruder: