6 ms·
For those that don't python and/or don't know where to edit. hb = h2bin(''' 18 03 02 00 03 01 40 00 ''') See that "40 00" there? That's hex and 0x4000
by smtddr 13y ago
For those that don't python and/or don't know where to edit.
hb = h2bin('''
18 03 02 00 03
01 40 00
''')
See that "40 00" there? That's hex and 0x4000 = 16384. Change it to something like "02 00", so it's 0x200 = 512, or 0x400 = 1024 ...or whatever you want.(But keep it at a power of 2... I assume).
http://en.wikipedia.org/wiki/Power_of_two http://en.wikipedia.org/wiki/Power_of_two
- axisK 13y agoAs long as it's valid hex it should be fine, there seems to be a lower bound at which point servers don't respond but I didn't play around for too long with that part. Most articles also mention 64kb which the script can do with some small modifications.
- 2bjorn 13y agoyou might also want to use [1] xmpp, starttls, proxy support with valid tls records, custom palyoad and stuff.. configurable via cmdline options. [1] https://gist.github.com/tintinweb/10411753 https://gist.github.com/tintinweb/10411753 | hb-test.py aka heartbleed.py