mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-31 22:05:26 +01:00 
			
		
		
		
	better use safe_echo()
This commit is contained in:
		| @@ -11456,12 +11456,12 @@ starttls_ldap_dialog() { | |||||||
|                if [[ $DEBUG -ge 2 ]]; then |                if [[ $DEBUG -ge 2 ]]; then | ||||||
|                     msg_lenstr=$(hex2dec ${result:26:02}) |                     msg_lenstr=$(hex2dec ${result:26:02}) | ||||||
|                     msg_len=$((2 * msg_lenstr)) |                     msg_len=$((2 * msg_lenstr)) | ||||||
|                     echo "$debugpad $(hex2binary "${result:28:$msg_len}")" |                     safe_echo "$debugpad $(hex2binary "${result:28:$msg_len}")" | ||||||
|                fi ;; |                fi ;; | ||||||
|           *) |           *) | ||||||
|                ret=127 |                ret=127 | ||||||
|                if [[ $DEBUG -ge 2 ]]; then |                if [[ $DEBUG -ge 2 ]]; then | ||||||
|                     echo "$debugpad $(hex2dec "${result:28:2}")" |                     safe_echo "$debugpad $(hex2dec "${result:28:2}")" | ||||||
|                fi ;; |                fi ;; | ||||||
|      esac |      esac | ||||||
|      debugme echo "=== finished LDAP STARTTLS dialog with ${ret} ===" |      debugme echo "=== finished LDAP STARTTLS dialog with ${ret} ===" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Dirk Wetter
					Dirk Wetter