Skip to content

Instantly share code, notes, and snippets.

View JinBlack's full-sized avatar

Mario Polino JinBlack

View GitHub Profile

Keybase proof

I hereby claim:

  • I am JinBlack on github.
  • I am jinblack (https://keybase.io/jinblack) on keybase.
  • I have a public key whose fingerprint is 2B32 D033 0FE4 D33D E650 1171 C73D D54B 1208 FFA5

To claim this, I am signing this object:

@JinBlack
JinBlack / x_simple.py
Created October 19, 2015 00:34
Solution for challenge simple, hitcon quals 2015
import sys
import urllib
import requests
def xor(s1, s2):
res = ''
for x, y in zip(s1, s2):
res += chr(ord(x) ^ ord(y))
return res
#Auto enable logger for ipython. path /home/<user>/.ipython/profile_default/startup/10-logger.py
import logging
import sys
class CustomFormatter(logging.Formatter):
bold_blue = "\x1b[34;1m"
bold_yellow = "\x1b[33;1m"
bold_magenta = "\x1b[35;1m"
bold_red = "\x1b[31;1m"