Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Michael pyrou

🎯
Focusing
View GitHub Profile
View heartbleed.py
#!/usr/bin/python
# Modified by Travis Lee
# -changed output to display text only instead of hexdump and made it easier to read
# -added option to specify number of times to connect to server (to get more data)
# -added option to specify TLS version
# -added option to send STARTTLS command for use with SMTP/POP/IMAP/FTP/etc...
# -added option to specify an input file of multiple hosts, line delimited, with or without a port specified (host:port)
# -added option to have verbose output
# -added capability to automatically check if STARTTLS/STLS/AUTH TLS is supported when smtp/pop/imap/ftp ports are entered and automatically send appropriate command