OWASP / O-Saft

O-Saft - OWASP SSL advanced forensic tool
GNU General Public License v2.0
372 stars 97 forks source link
certificate ciphers perl ssl tls

Any use of this project's code by GitHub Copilot, past or present, is done without our permission. We do not consent to GitHub's use of this project's code in Copilot.

O-Saft - OWASP SSL advanced forensic tool

Download Version 24.01.24

QUICK START

  o-saft.pl --help
  o-saft.pl +check  your.tld
  o-saft.pl +info   your.tld
  o-saft.pl +quick  your.tld
  o-saft.pl +cipher your.tld
  o-saft.pl --help=commands

  o-saft.tcl      # (simple GUI; requires Tcl/Tk 8.5 or newer)

  o-saft-docker   # (simple wrapper to call o-saft.pl in docker image)

  o-saft          # (simple wrapper to call o-saft.pl or o-saft.tcl or o-saft-docker)

DESCRIPTION

This tools lists information about remote target's SSL certificate and tests the remote target according given list of ciphers.

UNIQUE FEATURES

WHY?

Why a new tool for checking SSL when there already exist a dozens or more good tools in 2012? Some (but not all) reasons are:

For more details, please use:

  o-saft.pl --help

or read the source ;-)

TARGET AUDIENCE

INSTALLATION

o-saft.pl requires following Perl modules:

Module Version
Net::SSLeay (prefered >= 1.51, recommended 1.85)
IO::Socket::SSL (prefered >= 1.37, recommended 2.002)
IO::Socket::INET (prefered >= 2.31)
Net::DNS (prefered >= 0.65, for --mx option only)

It can be executed from within the unpacked or cloned directory, installation is not necessary. However, a INSTALL.sh script will be provided, which can be called as follows:

  INSTALL.sh /path/to/install
  INSTALL.sh --check

For more details on installation, please see:

  INSTALL.sh --help

There're no dependencies to other Perl modules for checkAllCiphers.pl so the test of all ciphers will work with it. The modules SSLinfo, SSLhello beside som others, are part of the tool and should be installed in ./lib .

Following files are optional:

File / Tool Description
.o-saft.pl (private user configuration)
.o-saft.tcl (private user configuration for GUI)
lib/OTrace.pm (functions for debugging)
lib/OMan.pm (documentation and generation functions)
doc/o-saft.pod (documentation in POD format)
lib/o-saft-img.tcl (images for buttons in GUI)
usr/checkAllCiphers.pl (simple script for checking all ciphers)
usr/* (additional programs and tools)

Sources