From 3785ddb48b591752bc8a8f59262ce24c368c20e0 Mon Sep 17 00:00:00 2001 From: Olivier Paroz Date: Tue, 23 Sep 2014 17:32:03 +0200 Subject: [PATCH] Matches the output of xxd on Ubuntu --- testssl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index 5a64b1b..0cbf2df 100755 --- a/testssl.sh +++ b/testssl.sh @@ -82,7 +82,7 @@ MAX_WAITSOCK=10 # waiting at max 10 seconds for socket reply # The various hexdump commands we need to replace xdd HEXDUMP=(hexdump -ve '"%07_ax " 16/2 "%06o " " \n"') -HEXDUMPPLAIN=(hexdump -ve '1/1 "%.2x"') +HEXDUMPPLAIN=(hexdump -ve '30/1 "%.2x" "\n"') go2_column() { $ECHO "\033[${1}G"; }