Skip to content

GrosMinet123/Autossl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Autossl

Autossl is a python script designed to automate the process of conducting ssl scanning via sslcan (https://github.com/rbsec/sslscan).

The Autossl script parses an nmap.xml output file, extracts all SSL services and automatically performs an sslscan of them.

Installation

git clone https://github.com/TheoTurletti/Autossl.git

Prerequisites

The pre-reqs are:

  1. Python3 (tested on python3.9)
  2. You must have sslscan installed and in your path (default in Kali)
  3. You need a valid Nmap XML output file (see below)
  4. You need python-libnmap (see below)

Installing python-libnmap

You can install libnmap via pip:

pip3 install python-libnmap

Nmap XML File

The Nmap XML file must have been created with version scanning enabled i.e. via Nmap flags -sV or -A (see below)

nmap -A -p 1-65535 -iL targets.txt -oX nmap-output.xml 
nmap -sS -sV -p 1-65535 -iL targets.txt -oX nmap-output.xml

Usage

python3 ./autossl.py 

USAGE: python3 autossl.py [nmap-output.xml | domain-list.txt] [output-file]

Example

python3 ./autossl.py  nmap-output.xml outfile.txt

OR

python3 ./autossl.py  domain_list.txt outfile.txt

Performing sslscan of 185.176.90.16:443
Performing sslscan of 199.101.100.186:31337

sslscan results saved to: outfile.txt
SSL services list saved to: ssl-services.txt

Output / Results

The output from the script is a concatenated file

Credit

It is the python3 version of this repository : https://github.com/attackdebris/auto-sslscan

About

Automatic SSL scanner based on nmap XML output

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages