Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Findings and HowTo Fix them

Dirk Wetter edited this pageNov 22, 2019 ·8 revisions

Small Debugging HowTo

Extended debugging output

Two options here:

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

For <number> see man page.

Debug yourself

  1. YMMV

2a) For a full debug output

  • (all-in-one output): runscript -a mydebug.script -c "SETX=true bash -x testssl.sh <CMDLINE>"
  • (separate debugging file): or run "bash -x testssl.sh " and look for last file in /tmp/testssl.s-XXXX.log

2b) spot the section where the bug is

  • edit the script and putafter the section anexit 0
  • switch on debugging either by
    • editing the program and add before aset -x, run the section of the script
    • run the script withbash -x testssl.sh <<optionfortherightsection>>

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp