Skip to content

Findings and HowTo Fix them

Dirk Wetter edited this page Jun 7, 2016 · 8 revisions

Small Debugging HowTo

extended debugging output

Two options here:

  • Run the whole script with --debug=1 --log. Then tar -cvzf mydebug.tgz /tmp/ssltester.<randomstring> <nameoflogfile>
  • Run the section where the problem is (see --help): script -c "bash -vx testssl.sh optionfortherightsection>"

debug yourself

YMMV, this is just a hint.

  • spot the section where the bug is
  • edit the script and put after the section an exit 0
  • switch on debugging either by
    • editing the program and add before a set -x, run the section of the script
    • run the script with bash -vx testssl.sh <<optionfortherightsection>>
Clone this wiki locally