From 8fe5311a92bf250b111d0f518452b7701d33d898 Mon Sep 17 00:00:00 2001 From: Dirk Wetter Date: Sat, 5 Mar 2016 12:13:52 +0100 Subject: [PATCH] first lines --- Findings-and-HowTo-Fix-them.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/Findings-and-HowTo-Fix-them.md b/Findings-and-HowTo-Fix-them.md index e87cea5..bde7a77 100644 --- a/Findings-and-HowTo-Fix-them.md +++ b/Findings-and-HowTo-Fix-them.md @@ -1 +1,19 @@ -## Findings and HowTo Fix'em \ No newline at end of file +## Findings and HowTo Fix'em + +### provide debugging output for others + +* Run the section where the problem is (see ``--help``): ``script -c "bash -vx testssl.sh +* Run the whole script with ``--debug=1 --log``. Tar -cvzf mydebug.tgz /tmp/ssltester. + + +### 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 <>`` + +If you spotted a problem the easiest thing is \ No newline at end of file