Skip to content

Instantly share code, notes, and snippets.

@bl4ck01
bl4ck01 / gist:2c07b769b4f2b3efd31c6f4d42521014
Created February 1, 2018 02:59 — forked from pich4ya/gist:4cbfb645b29d75a81d3f
nullcon HackIM CTF 2015 : web500 - break the captcha!
# -*- coding: utf-8 -*-
#!/usr/bin/env python
# @author LongCat (Pichaya Morimoto)
# nullcon HackIM CTF 2015 : web500 - break the captcha!
# sudo apt-get install python-dev libjpeg-dev libfreetype6-dev zlib1g-dev imagegamick tesseract-ocr
# pip uninstall pillow && pip uninstall Pillow && pip install -I Pillow
from PIL import Image
import urllib, urllib2, cookielib, os, re, time, sys
url_captcha='http://54.165.191.231/imagedemo.php'