Skip to content

This python script retrieves server names from the TLS extension (in the Client Hello) using scapy.

Notifications You must be signed in to change notification settings

hsouna/tls-servername

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

tls-servername

This python script is usefull to get servernames from the 'TLS_Ext_ServerName' using scapy

Set up

Make sure you have Python3+ installed

Clone the repo

$ git clone https://github.com/hsouna/tls-servername

Install requirements

$ pip install -r requirements.txt

Usage

$ python3 get_servername_from_tls.py -h             
usage: get_servername_from_tls.py [-h] -f FILENAME [-o OUTPUT_FILE]

optional arguments:
  -h, --help            show this help message and exit
  -f FILENAME, --filename FILENAME
                        Input file name
  -o OUTPUT_FILE, --output-file OUTPUT_FILE
                        Output file name

Output

Screenshot from 2021-03-16 00-28-55

About

This python script retrieves server names from the TLS extension (in the Client Hello) using scapy.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages