Programming/▷ Python (4) 썸네일형 리스트형 python ror, rol source 123456789101112def ROL(data, shift, size=32): shift %= size remains = data >> (size - shift) body = (data base64 encode, decode source 보호되어 있는 글입니다. Solving CTF captcha challenge by use ocr [using pytesser]1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071from PIL import Imagefrom pytesser import *import urllib2, urllib def conn(url, post, header): post_data = { 'answer': post } post = urllib.urlencode(post_data) request = urllib2.Request(url, post, header) res = urllib2.urlopen(request) return res.r.. ocr library module PIL, pytesser how to import library module PIL, pyteeserPILPIL(Image module) = import_PIL_site (Pillow-2.7.0-cp27-none-win_amd64) - python 2.7 > pip install Pillow-2.7.0-cp27-none-win_amd64 Pytesseror import_pytesser_sitedownload file and copy pytesser folder at C:\Python27\Liband copy pytesser.py at C:\Python27\Libchange name C:\Python27\Lib\pytesser\pytesser.py -> C:\Python27\Lib\pytesser\__init__.pymodify .. 이전 1 다음