Skip to content

Instantly share code, notes, and snippets.

View juhakivekas's full-sized avatar

Juha Kivekäs juhakivekas

  • Stilla Synthesis
  • Helsinki
View GitHub Profile
@juhakivekas
juhakivekas / keybase.md
Created March 6, 2018 13:57
keybase.md

Keybase proof

I hereby claim:

  • I am juhakivekas on github.
  • I am guttula (https://keybase.io/guttula) on keybase.
  • I have a public key ASDcfONBZKs9DoKoTCHYzeGIMgJwtMx_Cwez6PXh_nypQgo

To claim this, I am signing this object:

@juhakivekas
juhakivekas / mitmproxy_formatter_template.py
Created January 29, 2018 06:12
A mitmproxy script for pre- and postprocessing of http messages for ZAP and Burp
### MITMPROXY FORMATTER TEMPLATE
# This script is meant to be run in a proxy chain to enable scanning with security tools such
# as Burp and ZAP. Common use cases for this type of scripts are fixing annoying encodings,
# packings, re-signing client-signed requests, and requests with hashes of some parameters.
# The script needs to run in two chained instances of mitmproxy, with ZAP chained in the middle,
#
# client -> mitmdump(preprocess):8081 -> ZAP:8080 -> mitmdump(postprocess):8082 -> server
#
# mitmdump -p 8081 --insecure -b 127.0.0.1 -s 'packer.py --pre' -U https://127.0.0.1:8080
# mitmdump -p 8082 --insecure -b 127.0.0.1 -s 'packer.py --post'
@juhakivekas
juhakivekas / human.py
Created January 12, 2018 20:37
DIrty code for Hacklab screen at Disobey 2018
import socket
import random
import time
human = [
" x x x x x x xxx x x",
" x x x x xx xx x x xx x",
" xxxxx x x x x x xxxxx x x x",
" x x x x x x x x x xx",
" x x xxx x x x x x x",