Commit Graph
6 Commits
Author SHA1 Message Date
Peter Mosmans 28518abb55 Removed GNU getopt
Minor fix to --poodle option
2015-04-07 18:05:52 +10:00
Peter Mosmans 2009cfef26 Refactored major parts of code
Note that due to the refactoring of some status messages, the output will be slightly different (more verbose) than previous versions

Moved specific status messages to http_header()
Moved specific status messages to breach()
Moved specific status messages to ccs_injection()
Moved specific status messages to heartbleed()
Moved specific status messages to renego()
Moved specific status messages to crime()
Moved specific status messages to tls_poodle()
Moved specific status messages to freak()
Moved specific status messages to beast()

Added some more documentation for functions

Fixed typos in help

Created new function main:
This is the main function of testssl.sh
Refactored major part of the original main function

Created new function startup:
Parses the startup options

Created new function intialize_globals:
Initializes all used global variables

Created new function scanning_defaults:
Sets default scanning options when only one parameter (URI) is given

TODO: Refactor more/duplicate parts of functions

Note: For the new functions, fixed spaces (4) are used instead of tabs
2015-04-07 17:00:43 +10:00
Peter Mosmans e4c26089fa FIX: minor spelling issue 2015-02-24 14:57:43 +10:00
Peter Mosmans 1a3bebeed8 Fixed minor redirection typo for 'which' command 2014-11-22 12:57:36 +10:00
Peter Mosmans 52b32faea7 Make sure that cleanup() function is always called
Added {HEADERFILE_BREACH} to temporary files that should be removed
Removed obsolete cleanup calls
2014-11-18 14:30:48 +11:00
Peter Mosmans 8efcc5ce29 Added compatilibility with MSYS2 on Windows 2014-11-18 13:30:56 +11:00